ApertureOS
|
Go to the source code of this file.
Macros | |
#define | INTERRUPT_HANDLER_SLOTS 128 |
#define | INTERRUPT_COUNT IDT_ENTRY_COUNT |
#define | IRQ(n) (n + 32) |
#define | INTR(n) (n) |
Typedefs | |
typedef uint32_t(* | InterruptHandler) (Registers *) |
Functions | |
void | Interrupts_Setup () |
void | Interrupts_Virtualize () |
void | Interrupts_RegisterHandler (uint8_t intrpt, uint8_t slot, InterruptHandler handler) |
uint8_t | Interrupts_GetFreeSlot (uint8_t intrpt) |
void | Interrupts_EmptySlot (uint8_t intrpt, uint8_t slot) |
void | Interrupts_GetHandler (uint8_t intrpt, uint8_t slot, InterruptHandler *o_handler) |
void | Interrupts_SetInterruptEnableMode (uint8_t intrpt, bool masked) |
SysID | Interrupts_GetSysID () |
bool | Interrupts_IsAPICEnabled () |
void | Interrupts_Lock () |
void | Interrupts_Unlock () |
#define INTERRUPT_COUNT IDT_ENTRY_COUNT |
#define INTERRUPT_HANDLER_SLOTS 128 |
#define INTR | ( | n | ) | (n) |
#define IRQ | ( | n | ) | (n + 32) |
typedef uint32_t(* InterruptHandler) (Registers *) |
void Interrupts_EmptySlot | ( | uint8_t | intrpt, |
uint8_t | slot | ||
) |
uint8_t Interrupts_GetFreeSlot | ( | uint8_t | intrpt | ) |
void Interrupts_GetHandler | ( | uint8_t | intrpt, |
uint8_t | slot, | ||
InterruptHandler * | o_handler | ||
) |
SysID Interrupts_GetSysID | ( | ) |
bool Interrupts_IsAPICEnabled | ( | ) |
void Interrupts_Lock | ( | ) |
void Interrupts_RegisterHandler | ( | uint8_t | intrpt, |
uint8_t | slot, | ||
InterruptHandler | handler | ||
) |
void Interrupts_SetInterruptEnableMode | ( | uint8_t | intrpt, |
bool | masked | ||
) |
void Interrupts_Setup | ( | ) |
void Interrupts_Unlock | ( | ) |
void Interrupts_Virtualize | ( | ) |