|
sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
|
#include <tamtypes.h>Go to the source code of this file.
Macros | |
| #define | BPC_IAE (1 << 31) |
| #define | BPC_DRE (1 << 30) |
| #define | BPC_DWE (1 << 29) |
| #define | BPC_DVE (1 << 28) |
| #define | BPC_IUE (1 << 26) |
| #define | BPC_ISE (1 << 25) |
| #define | BPC_IKE (1 << 24) |
| #define | BPC_IXE (1 << 23) |
| #define | BPC_DUE (1 << 21) |
| #define | BPC_DSE (1 << 20) |
| #define | BPC_DKE (1 << 19) |
| #define | BPC_DXE (1 << 18) |
| #define | BPC_ITE (1 << 17) |
| #define | BPC_DTE (1 << 16) |
| #define | BPC_BED (1 << 15) |
| #define | BPC_DWB (1 << 2) |
| #define | BPC_DRB (1 << 1) |
| #define | BPC_IAB (1 << 0) |
Functions | |
| void | InitBPC (void) |
| void | SetInstructionBP (u32 addr, u32 mask, u32 options) |
| void | SetDataAddrBP (u32 addr, u32 mask, u32 options) |
| void | SetDataValueBP (u32 addr, u32 mask, u32 value, u32 vmask, u32 options) |
| u32 | GetBPC (void) |
| void | SetBPC (u32 bpc) |
| u32 | GetIAB (void) |
| void | SetIAB (u32 val) |
| u32 | GetIABM (void) |
| void | SetIABM (u32 val) |
| u32 | GetDAB (void) |
| void | SetDAB (u32 val) |
| u32 | GetDABM (void) |
| void | SetDABM (u32 val) |
| u32 | GetDVB (void) |
| void | SetDVB (u32 val) |
| u32 | GetDVBM (void) |
| void | SetDVBM (u32 val) |
Hardware breakpoint functions
Definition in file hwbp.h.
| #define BPC_DKE (1 << 19) |
| #define BPC_DRE (1 << 30) |
| #define BPC_DSE (1 << 20) |
| #define BPC_DUE (1 << 21) |
| #define BPC_DWE (1 << 29) |
| #define BPC_DXE (1 << 18) |
| #define BPC_IAE (1 << 31) |
| #define BPC_IKE (1 << 24) |
| #define BPC_ISE (1 << 25) |
| #define BPC_ITE (1 << 17) |
| #define BPC_IUE (1 << 26) |
| #define BPC_IXE (1 << 23) |
|
extern |
Get the BPC register
|
extern |
Get the data address register
|
extern |
Get the data address register
|
extern |
Get the data value mask register
|
extern |
Get the data value mask register
|
extern |
Get the instruction address register
|
extern |
Get the instruction address mask register
|
extern |
Initialise the Breakpoint controller
|
extern |
Set the BPC register
|
extern |
Set the data address register
|
extern |
Set the data address mask register
|
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
|
extern |
Set a data value BP
|
extern |
Set the data value register
|
extern |
Set the data value mask register
|
extern |
Set the instruction address register
|
extern |
Set the instruction address mask register
|
extern |
Set an instruction BP