|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
API for managing global IRQ handler. More...
Functions | |
| int | irq_set_global_handler (irq_handler hnd, void *data) |
| Set a global exception handler. | |
| irq_cb_t | irq_get_global_handler (void) |
| Get the global exception handler. | |
API for managing global IRQ handler.
| irq_cb_t irq_get_global_handler | ( | void | ) |
Get the global exception handler.
| int irq_set_global_handler | ( | irq_handler | hnd, |
| void * | data ) |
Set a global exception handler.
This function sets a global catch-all filter for all exception types.
| hnd | A pointer to the procedure to handle the exception. |
| data | A pointer that will be passed along to the callback. |
| 0 | On success (no error conditions defined). |