|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
API for managing TRAPA events and handlers. More...
Topics | |
| Handlers | |
| API for managing TRAPA handlers | |
Files | |
| file | trap.h |
| Interrupt and exception handling. | |
Typedefs | |
| typedef uint8_t | trapa_t |
Type for a code passed to the TRAPA instruction. | |
API for managing TRAPA events and handlers.
This API provides methods for setting and getting the installed handler for a particular TRAPA code.
TRAPA is an SH4 instruction which simply takes a code (0-255) and fires an exception event which transfers execution to the kernel so that it can then be handled in software.
| typedef uint8_t trapa_t |
Type for a code passed to the TRAPA instruction.