![]() |
libdragon
|
Macros | |
| #define | pack32(x16) ((x16) | ((x16) << 16)) |
| Pack a 16-bit color into a 32-bit word. | |
Enumerations | |
| enum | Mode { MODE_EXCEPTION , MODE_ASSERTION , MODE_CPP_EXCEPTION } |
| The mode of the inspector (what caused it to be triggered). | |
| enum | { XSTART = 48 , XEND = 640-48 , YSTART = 16 , YEND = 240-8-8 } |
Functions | |
| void | __inspector_exception (exception_t *ex) |
| Trigger the inspector for an exception. | |
| void | __inspector_assertion (const char *failedexpr, const char *msg, va_list args) |
| Trigger the inspector for an assertion failure. | |
| void | __inspector_cppexception (const char *exctype, const char *what) |
| Trigger the inspector for a C++ exception. | |
| void | __inspector_init (void) |
| Register the inspector as a syscall handler (global constructor run before main). | |
Variables | |
| const char * | __mips_gpr [34] |
| Names of the 34 MIPS general-purpose registers. | |
| const char * | __mips_fpreg [32] |
| Names of the 32 MIPS floating-point registers. | |
| void __inspector_exception | ( | exception_t * | ex | ) |
Trigger the inspector for an exception.
| ex | Pointer to the exception structure. |
| void __inspector_assertion | ( | const char * | failedexpr, |
| const char * | msg, | ||
| va_list | args | ||
| ) |
Trigger the inspector for an assertion failure.
| failedexpr | The failed expression string. |
| msg | The assertion message. |
| args | Variable argument list for the message. |
| void __inspector_cppexception | ( | const char * | exctype, |
| const char * | what | ||
| ) |
Trigger the inspector for a C++ exception.
| exctype | The exception type string. |
| what | The exception message. |
| const char* __mips_gpr[34] |
Names of the 34 MIPS general-purpose registers.
| const char* __mips_fpreg[32] |
Names of the 32 MIPS floating-point registers.