|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <miniOS/arch/x86_64/irq.h>#include <miniOS/arch/x86_64/segment.h>#include <miniOS/io.h>#include <string.h>
Macros | |
| #define | IDT_NUM_VECTORS 256 |
Functions | |
| struct idt_entry_t IDT[IDT_NUM_VECTORS] | __attribute__ ((aligned(4))) |
| void | idt_reload (void) |
| void | idt_init () |
| void | idt_set_handler (uint8_t type, addr_t handler_addr, unsigned int dpl, uint8_t gate_type) |
Variables | |
| idt_handler_func * | irq_handlers [NR_IRQS] = {0} |
| idt_handler_func * | exception_handlers [NR_EXCEPTIONS] = {0} |
| #define IDT_NUM_VECTORS 256 |
| struct idt_entry_t IDT[IDT_NUM_VECTORS] __attribute__ | ( | (aligned(4)) | ) |
| void idt_init | ( | ) |


| void idt_reload | ( | void | ) |



| idt_handler_func* exception_handlers[NR_EXCEPTIONS] = {0} |
| idt_handler_func* irq_handlers[NR_IRQS] = {0} |