Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_PROBES_H
2 #define _ASM_POWERPC_PROBES_H
23 #include <linux/types.h>
25 typedef u32 ppc_opcode_t;
26 #define BREAKPOINT_INSTRUCTION 0x7fe00008
29 #define IS_TW(instr) (((instr) & 0xfc0007fe) == 0x7c000008)
30 #define IS_TD(instr) (((instr) & 0xfc0007fe) == 0x7c000088)
31 #define IS_TDI(instr) (((instr) & 0xfc000000) == 0x08000000)
32 #define IS_TWI(instr) (((instr) & 0xfc000000) == 0x0c000000)
35 #define is_trap(instr) (IS_TW(instr) || IS_TD(instr) || \
36 IS_TWI(instr) || IS_TDI(instr))
38 #define is_trap(instr) (IS_TW(instr) || IS_TWI(instr))