PS2SDK
PS2 Homebrew Libraries
|
Go to the source code of this file.
Macros | |
#define | M_EE_GET_CAUSE_EXCODE(__cause) (((__cause) >> 2) & 0x1F) |
#define | M_EE_GET_CAUSE_EXC2(__cause) (((__cause) >> 16) & 0x7) |
#define | EE_COP0_Index $0 |
#define | EE_COP0_Random $1 |
#define | EE_COP0_EntryLo0 $2 |
#define | EE_COP0_EntryLo1 $3 |
#define | EE_COP0_Context $4 |
#define | EE_COP0_Wired $5 |
#define | EE_COP0_BadVAddr $8 |
#define | EE_COP0_Count $9 |
#define | EE_COP0_EntryHi $10 |
#define | EE_COP0_Compare $11 |
#define | EE_COP0_Status $12 |
#define | EE_COP0_Cause $13 |
#define | EE_COP0_EPC $14 |
#define | EE_COP0_PRId $15 |
#define | EE_COP0_Config $16 |
#define | EE_COP0_BadPAddr $23 |
#define | EE_COP0_TagLo $28 |
#define | EE_COP0_TagHi $29 |
#define | EE_COP0_ErrorEPC $30 |
#define | EE_STATUS_IE (1 << 0) |
#define | EE_STATUS_EXL (1 << 1) |
#define | EE_STATUS_ERL (1 << 2) |
#define | EE_EXC2_RST (0) |
#define | EE_EXC2_NMI (1) |
#define | EE_EXC2_PERF (2) |
#define | EE_EXC2_DBG (3) |
#define | EE_CAUSE_BD (1 << 31) |
#define | EE_CAUSE_BD2 (1 << 30) |
#define | EE_CAUSE_SIO (1 << 12) |
#define | EE_BPC_IAE (1 << 31) |
#define | EE_BPC_DRE (1 << 30) |
#define | EE_BPC_DWE (1 << 29) |
#define | EE_BPC_DVE (1 << 28) |
#define | EE_BPC_IUE (1 << 26) |
#define | EE_BPC_ISE (1 << 25) |
#define | EE_BPC_IKE (1 << 24) |
#define | EE_BPC_IXE (1 << 23) |
#define | EE_BPC_DUE (1 << 21) |
#define | EE_BPC_DSE (1 << 20) |
#define | EE_BPC_DKE (1 << 19) |
#define | EE_BPC_DXE (1 << 18) |
#define | EE_BPC_ITE (1 << 17) |
#define | EE_BPC_DTE (1 << 16) |
#define | EE_BPC_BED (1 << 15) |
#define | EE_BPC_DWB (1 << 2) |
#define | EE_BPC_DRB (1 << 1) |
#define | EE_BPC_IAB (1 << 0) |
EE Co-processor 0(COP0) register definitions.
Definition in file ee_cop0_defs.h.
#define M_EE_GET_CAUSE_EXCODE | ( | __cause | ) | (((__cause) >> 2) & 0x1F) |
Definition at line 19 of file ee_cop0_defs.h.
#define M_EE_GET_CAUSE_EXC2 | ( | __cause | ) | (((__cause) >> 16) & 0x7) |
Definition at line 20 of file ee_cop0_defs.h.
#define EE_COP0_Index $0 |
Definition at line 23 of file ee_cop0_defs.h.
#define EE_COP0_Random $1 |
Definition at line 24 of file ee_cop0_defs.h.
#define EE_COP0_EntryLo0 $2 |
Definition at line 25 of file ee_cop0_defs.h.
#define EE_COP0_EntryLo1 $3 |
Definition at line 26 of file ee_cop0_defs.h.
#define EE_COP0_Context $4 |
Definition at line 27 of file ee_cop0_defs.h.
#define EE_COP0_Wired $5 |
Definition at line 28 of file ee_cop0_defs.h.
#define EE_COP0_BadVAddr $8 |
Definition at line 29 of file ee_cop0_defs.h.
#define EE_COP0_Count $9 |
Definition at line 30 of file ee_cop0_defs.h.
#define EE_COP0_EntryHi $10 |
Definition at line 31 of file ee_cop0_defs.h.
#define EE_COP0_Compare $11 |
Definition at line 32 of file ee_cop0_defs.h.
#define EE_COP0_Status $12 |
Definition at line 33 of file ee_cop0_defs.h.
#define EE_COP0_Cause $13 |
Definition at line 34 of file ee_cop0_defs.h.
#define EE_COP0_EPC $14 |
Definition at line 35 of file ee_cop0_defs.h.
#define EE_COP0_PRId $15 |
Definition at line 36 of file ee_cop0_defs.h.
#define EE_COP0_Config $16 |
Definition at line 37 of file ee_cop0_defs.h.
#define EE_COP0_BadPAddr $23 |
Definition at line 38 of file ee_cop0_defs.h.
#define EE_COP0_TagLo $28 |
Definition at line 39 of file ee_cop0_defs.h.
#define EE_COP0_TagHi $29 |
Definition at line 40 of file ee_cop0_defs.h.
#define EE_COP0_ErrorEPC $30 |
Definition at line 41 of file ee_cop0_defs.h.
#define EE_STATUS_IE (1 << 0) |
Definition at line 44 of file ee_cop0_defs.h.
#define EE_STATUS_EXL (1 << 1) |
Definition at line 45 of file ee_cop0_defs.h.
#define EE_STATUS_ERL (1 << 2) |
Definition at line 46 of file ee_cop0_defs.h.
#define EE_EXC2_RST (0) |
Definition at line 48 of file ee_cop0_defs.h.
#define EE_EXC2_NMI (1) |
Definition at line 49 of file ee_cop0_defs.h.
#define EE_EXC2_PERF (2) |
Definition at line 50 of file ee_cop0_defs.h.
#define EE_EXC2_DBG (3) |
Definition at line 51 of file ee_cop0_defs.h.
#define EE_CAUSE_BD (1 << 31) |
Definition at line 54 of file ee_cop0_defs.h.
#define EE_CAUSE_BD2 (1 << 30) |
Definition at line 55 of file ee_cop0_defs.h.
#define EE_CAUSE_SIO (1 << 12) |
Serial I/O pending flag
Definition at line 58 of file ee_cop0_defs.h.
#define EE_BPC_IAE (1 << 31) |
Definition at line 63 of file ee_cop0_defs.h.
#define EE_BPC_DRE (1 << 30) |
Definition at line 66 of file ee_cop0_defs.h.
#define EE_BPC_DWE (1 << 29) |
Definition at line 69 of file ee_cop0_defs.h.
#define EE_BPC_DVE (1 << 28) |
Definition at line 72 of file ee_cop0_defs.h.
#define EE_BPC_IUE (1 << 26) |
Definition at line 75 of file ee_cop0_defs.h.
#define EE_BPC_ISE (1 << 25) |
Definition at line 78 of file ee_cop0_defs.h.
#define EE_BPC_IKE (1 << 24) |
Definition at line 81 of file ee_cop0_defs.h.
#define EE_BPC_IXE (1 << 23) |
Definition at line 84 of file ee_cop0_defs.h.
#define EE_BPC_DUE (1 << 21) |
Definition at line 87 of file ee_cop0_defs.h.
#define EE_BPC_DSE (1 << 20) |
Definition at line 90 of file ee_cop0_defs.h.
#define EE_BPC_DKE (1 << 19) |
Definition at line 93 of file ee_cop0_defs.h.
#define EE_BPC_DXE (1 << 18) |
Definition at line 96 of file ee_cop0_defs.h.
#define EE_BPC_ITE (1 << 17) |
Definition at line 99 of file ee_cop0_defs.h.
#define EE_BPC_DTE (1 << 16) |
Definition at line 102 of file ee_cop0_defs.h.
#define EE_BPC_BED (1 << 15) |
Definition at line 105 of file ee_cop0_defs.h.
#define EE_BPC_DWB (1 << 2) |
Definition at line 108 of file ee_cop0_defs.h.
#define EE_BPC_DRB (1 << 1) |
Definition at line 111 of file ee_cop0_defs.h.
#define EE_BPC_IAB (1 << 0) |
Definition at line 114 of file ee_cop0_defs.h.