ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
|
#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) |
u32 GetBPC | ( | void | ) |
Get the BPC register
u32 GetDAB | ( | void | ) |
Get the data address register
u32 GetDABM | ( | void | ) |
Get the data address register
u32 GetDVB | ( | void | ) |
Get the data value mask register
u32 GetDVBM | ( | void | ) |
Get the data value mask register
u32 GetIAB | ( | void | ) |
Get the instruction address register
u32 GetIABM | ( | void | ) |
Get the instruction address mask register
void InitBPC | ( | void | ) |
Initialise the Breakpoint controller
void SetBPC | ( | u32 | bpc | ) |
Set the BPC register
void SetDAB | ( | u32 | val | ) |
Set the data address register
void SetDABM | ( | u32 | val | ) |
Set the data address mask register
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
void SetDVB | ( | u32 | val | ) |
Set the data value register
void SetDVBM | ( | u32 | val | ) |
Set the data value mask register
void SetIAB | ( | u32 | val | ) |
Set the instruction address register
void SetIABM | ( | u32 | val | ) |
Set the instruction address mask register