OSDN Git Service

arm64: Provide read/write fault information in compat signal handlers
[android-x86/kernel.git] / arch / arm64 / include / asm / esr.h
index c4a7f94..72674f4 100644 (file)
 #ifndef __ASM_ESR_H
 #define __ASM_ESR_H
 
-#define ESR_EL1_EC_SHIFT       (26)
-#define ESR_EL1_IL             (1U << 25)
+#define ESR_EL1_WRITE          (1 << 6)
+#define ESR_EL1_CM             (1 << 8)
+#define ESR_EL1_IL             (1 << 25)
 
+#define ESR_EL1_EC_SHIFT       (26)
 #define ESR_EL1_EC_UNKNOWN     (0x00)
 #define ESR_EL1_EC_WFI         (0x01)
 #define ESR_EL1_EC_CP15_32     (0x03)