Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/db_machdep.h
Show All 34 Lines | |||||
#include <machine/frame.h> | #include <machine/frame.h> | ||||
#include <machine/trap.h> | #include <machine/trap.h> | ||||
#define T_BREAKPOINT (EXCP_BRK) | #define T_BREAKPOINT (EXCP_BRK) | ||||
#define T_HW_BREAKPOINT (EXCP_BRKPT_EL1) | #define T_HW_BREAKPOINT (EXCP_BRKPT_EL1) | ||||
#define T_SINGLESTEP (EXCP_SOFTSTP_EL1) | #define T_SINGLESTEP (EXCP_SOFTSTP_EL1) | ||||
#define T_WATCHPOINT (EXCP_WATCHPT_EL1) | #define T_WATCHPOINT (EXCP_WATCHPT_EL1) | ||||
#define HAS_HW_BREAKPOINT | |||||
#define NHBREAKPOINTS 16 | |||||
typedef vm_offset_t db_addr_t; | typedef vm_offset_t db_addr_t; | ||||
typedef long db_expr_t; | typedef long db_expr_t; | ||||
#define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_x[PCB_LR]) | #define PC_REGS() ((db_addr_t)kdb_thrctx->pcb_x[PCB_LR]) | ||||
#define BKPT_INST (0xd4200000) | #define BKPT_INST (0xd4200000) | ||||
#define BKPT_SIZE (4) | #define BKPT_SIZE (4) | ||||
#define BKPT_SET(inst) (BKPT_INST) | #define BKPT_SET(inst) (BKPT_INST) | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |