diff options
Diffstat (limited to 'arch/arm64/include/asm/debug-monitors.h')
| -rw-r--r-- | arch/arm64/include/asm/debug-monitors.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/debug-monitors.h b/arch/arm64/include/asm/debug-monitors.h index 2fcb9b7c876c..4b6b3f72a215 100644 --- a/arch/arm64/include/asm/debug-monitors.h +++ b/arch/arm64/include/asm/debug-monitors.h | |||
| @@ -66,6 +66,11 @@ | |||
| 66 | 66 | ||
| 67 | #define CACHE_FLUSH_IS_SAFE 1 | 67 | #define CACHE_FLUSH_IS_SAFE 1 |
| 68 | 68 | ||
| 69 | /* kprobes BRK opcodes with ESR encoding */ | ||
| 70 | #define BRK64_ESR_MASK 0xFFFF | ||
| 71 | #define BRK64_ESR_KPROBES 0x0004 | ||
| 72 | #define BRK64_OPCODE_KPROBES (AARCH64_BREAK_MON | (BRK64_ESR_KPROBES << 5)) | ||
| 73 | |||
| 69 | /* AArch32 */ | 74 | /* AArch32 */ |
| 70 | #define DBG_ESR_EVT_BKPT 0x4 | 75 | #define DBG_ESR_EVT_BKPT 0x4 |
| 71 | #define DBG_ESR_EVT_VECC 0x5 | 76 | #define DBG_ESR_EVT_VECC 0x5 |
