summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2018-06-22 13:03:16 -0600
committerTom Warren <twarren@nvidia.com>2018-07-26 13:15:30 -0700
commit3e3b2b47766ac9a9ad4bf30ea0015b8a2b5f1802 (patch)
tree78e866be4ec99189b41f11655ff33c61504413f8 /arch/arm
parent3cc7942a4ae5d005ae2812a53d912dbab0e23760 (diff)
downloadu-boot-3e3b2b47766ac9a9ad4bf30ea0015b8a2b5f1802.tar.gz
u-boot-3e3b2b47766ac9a9ad4bf30ea0015b8a2b5f1802.tar.xz
u-boot-3e3b2b47766ac9a9ad4bf30ea0015b8a2b5f1802.zip
ARM: define MON_MODE
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/proc-armv/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/proc-armv/ptrace.h b/arch/arm/include/asm/proc-armv/ptrace.h
index 71df5a9e25..183b00a087 100644
--- a/arch/arm/include/asm/proc-armv/ptrace.h
+++ b/arch/arm/include/asm/proc-armv/ptrace.h
@@ -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