Go to the source code of this file.
Hardware breakpoint functions
Definition in file hwbp.h.
◆ BPC_IAE
#define BPC_IAE (1 << 31) |
Instruction address breakpoint enable
Definition at line 22 of file hwbp.h.
◆ BPC_DRE
#define BPC_DRE (1 << 30) |
Data address (read) breakpoint enable
Definition at line 24 of file hwbp.h.
◆ BPC_DWE
#define BPC_DWE (1 << 29) |
Data address (write) breakpoint enable
Definition at line 26 of file hwbp.h.
◆ BPC_DVE
#define BPC_DVE (1 << 28) |
Data value breakpoint enable
Definition at line 28 of file hwbp.h.
◆ BPC_IUE
#define BPC_IUE (1 << 26) |
Control of instruction breakpoint in user mode
Definition at line 31 of file hwbp.h.
◆ BPC_ISE
#define BPC_ISE (1 << 25) |
Control of instruction breakpoint in supervisor mode
Definition at line 33 of file hwbp.h.
◆ BPC_IKE
#define BPC_IKE (1 << 24) |
Control of instruction breakpoint in kernel mode
Definition at line 35 of file hwbp.h.
◆ BPC_IXE
#define BPC_IXE (1 << 23) |
Control of instruction breakpoint in level 1 exception mode
Definition at line 37 of file hwbp.h.
◆ BPC_DUE
#define BPC_DUE (1 << 21) |
Control of data breakpoint in user mode
Definition at line 40 of file hwbp.h.
◆ BPC_DSE
#define BPC_DSE (1 << 20) |
Control of data breakpoint in supervisor mode
Definition at line 42 of file hwbp.h.
◆ BPC_DKE
#define BPC_DKE (1 << 19) |
Control of data breakpoint in kernel mode
Definition at line 44 of file hwbp.h.
◆ BPC_DXE
#define BPC_DXE (1 << 18) |
Control of data breakpoint in level 1 exception mode
Definition at line 46 of file hwbp.h.
◆ BPC_ITE
#define BPC_ITE (1 << 17) |
Control of instruction trigger signal
Definition at line 49 of file hwbp.h.
◆ BPC_DTE
#define BPC_DTE (1 << 16) |
Control of data trigger signal
Definition at line 51 of file hwbp.h.
◆ BPC_BED
#define BPC_BED (1 << 15) |
Breakpoint exception enable
Definition at line 54 of file hwbp.h.
◆ BPC_DWB
Data write breakpoint occurred
Definition at line 57 of file hwbp.h.
◆ BPC_DRB
Data read breakpoint occurred
Definition at line 59 of file hwbp.h.
◆ BPC_IAB
Data instruction breakpoint occurred
Definition at line 61 of file hwbp.h.
◆ InitBPC()
Initialise the Breakpoint controller
◆ SetInstructionBP()
void SetInstructionBP |
( |
u32 | addr, |
|
|
u32 | mask, |
|
|
u32 | options ) |
|
extern |
◆ SetDataAddrBP()
void SetDataAddrBP |
( |
u32 | addr, |
|
|
u32 | mask, |
|
|
u32 | options ) |
|
extern |
Set a data address BP * Options is one or more of the BPC settings for data address Note you must set BPC_DRE and/or BPC_DWE in the options
◆ SetDataValueBP()
void SetDataValueBP |
( |
u32 | addr, |
|
|
u32 | mask, |
|
|
u32 | value, |
|
|
u32 | vmask, |
|
|
u32 | options ) |
|
extern |
◆ GetBPC()
◆ SetBPC()
◆ GetIAB()
Get the instruction address register
◆ SetIAB()
Set the instruction address register
◆ GetIABM()
Get the instruction address mask register
◆ SetIABM()
Set the instruction address mask register
◆ GetDAB()
Get the data address register
◆ SetDAB()
Set the data address register
◆ GetDABM()
Get the data address register
◆ SetDABM()
Set the data address mask register
◆ GetDVB()
Get the data value mask register
◆ SetDVB()
Set the data value register
◆ GetDVBM()
Get the data value mask register
◆ SetDVBM()
Set the data value mask register