KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Control Flow

Methods for managing control flow within an irq_handler. More...

Functions

void irq_force_return (void)
 Resume normal execution from IRQ context.
 

Detailed Description

Methods for managing control flow within an irq_handler.

This API provides methods for controlling program flow from within an active interrupt handler.

Function Documentation

◆ irq_force_return()

void irq_force_return ( void )

Resume normal execution from IRQ context.

Pretend like we just came in from an interrupt and force a context switch back to the "current" context.

Warning
Make sure you've called irq_set_context() before doing this!
See also
irq_set_context()