|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Methods for querying active IRQ information. More...
Functions | |
| int | irq_inside_int (void) |
| Returns whether inside of an interrupt context. | |
Methods for querying active IRQ information.
Provides an API for accessing the state of the current IRQ context such as the active interrupt or whether it has been handled.
| int irq_inside_int | ( | void | ) |
Returns whether inside of an interrupt context.
| non-zero | If interrupt handling is in progress. ((code&0xf)<<16) | (evt&0xffff) |
| 0 | If normal processing is in progress. |
Referenced by spinlock_lock_irqsafe().