From: Stephen Warren Date: Fri, 22 Jun 2018 19:03:16 +0000 (-0600) Subject: ARM: define MON_MODE X-Git-Tag: v2018.09-rc1~25^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3e3b2b47766ac9a9ad4bf30ea0015b8a2b5f1802;p=oweals%2Fu-boot.git 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 Signed-off-by: Tom Warren --- 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