|
PatchworkOS
|
#include <kernel/cpu/idt.h>#include <kernel/cpu/gdt.h>#include <kernel/cpu/interrupt.h>#include <kernel/cpu/tss.h>#include <sys/proc.h>Go to the source code of this file.
Functions | |
| static idt_t idt | ALIGNED (PAGE_SIZE) |
| void | idt_load_descriptor (idt_desc_t *descriptor) |
| static idt_gate_t | idt_gate (void *vectorHandler, idt_attributes_t attr, tss_ist_t ist) |
| void | idt_init (void) |
| Initialize the IDT structure in memory. | |
| void | idt_cpu_load (void) |
| Load the IDT on the current CPU. | |
|
static |
Definition at line 13 of file idt.c.
References idt_gate_t::attributes, idt_gate_t::codeSegment, GDT_KERNEL_CODE, idt_gate_t::ist, idt_gate_t::offsetHigh, idt_gate_t::offsetLow, idt_gate_t::offsetMid, and idt_gate_t::reserved.
Referenced by idt_init().
|
extern |
Referenced by idt_cpu_load().