]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: define MON_MODE
authorStephen Warren <swarren@nvidia.com>
Fri, 22 Jun 2018 19:03:16 +0000 (13:03 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 26 Jul 2018 20:15:30 +0000 (13:15 -0700)
Add a MON_MODE define for ARM's monitor mode. This can be used later by
a secure monitor to avoid hard-coding mode IDs.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/proc-armv/ptrace.h

index 71df5a9e253809e9baa95afa29724972ea447e16..183b00a08719fb8a9c024303d5f8ec086d5f545f 100644 (file)
@@ -37,6 +37,7 @@ struct pt_regs {
 #define FIQ_MODE       0x11
 #define IRQ_MODE       0x12
 #define SVC_MODE       0x13
+#define MON_MODE       0x16
 #define ABT_MODE       0x17
 #define HYP_MODE       0x1a
 #define UND_MODE       0x1b