projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc7942
)
ARM: define MON_MODE
author
Stephen Warren
<swarren@nvidia.com>
Fri, 22 Jun 2018 19:03:16 +0000
(13:03 -0600)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/proc-armv/ptrace.h
b/arch/arm/include/asm/proc-armv/ptrace.h
index
71df5a9
..
183b00a
100644
(file)
--- 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