IBNOS
|
#include <process/thread.h>
Go to the source code of this file.
Macros | |
Interrupt return values | |
#define | INTERRUPT_UNHANDLED 0 |
#define | INTERRUPT_CONTINUE_EXECUTION 1 |
#define | INTERRUPT_YIELD 2 |
#define | INTERRUPT_EXIT_THREAD 3 |
#define | INTERRUPT_EXIT_PROCESS 4 |
Typedefs | |
typedef uint32_t(* | interrupt_callback) (uint32_t interrupt, uint32_t error, struct thread *t) |
Functions | |
uint32_t | dispatchInterrupt (uint32_t interrupt, uint32_t error, struct thread *t) |
Handle an incoming interrupt. More... | |
bool | interruptReserve (uint32_t interrupt, interrupt_callback callback) |
Request an interrupt. More... | |
void | interruptFree (uint32_t interrupt) |
Free a previously requested interrupt. More... | |