MentOS
0.8.0
The Mentoring Operating System
|
Is a data structure used by the x86 architecture to implement an interrupt vector table. The IDT is used by the processor to determine the correct response to interrupts and exceptions. More...
Classes | |
struct | idt_descriptor_t |
This structure describes one interrupt gate. More... | |
struct | idt_pointer_t |
A pointer structure used for informing the CPU about our IDT. More... | |
Macros | |
#define | IDT_SIZE 256 |
The maximum dimension of the IDT. | |
#define | TASK_GATE 0x5 |
When an exception occurs whose entry is a Task Gate, a task switch results. | |
#define | INT16_GATE 0x6 |
Used to specify an interrupt service routine (16-bit). | |
#define | TRAP16_GATE 0x7 |
Similar to an Interrupt gate (16-bit). | |
#define | INT32_GATE 0xE |
Used to specify an interrupt service routine (32-bit). | |
#define | TRAP32_GATE 0xF |
Similar to an Interrupt gate (32-bit). | |
Typedefs | |
typedef struct idt_descriptor_t | _syscall0 = _syscall0( (packed) )= _syscall1( (packed) )= _syscall2( (packed) )= _syscall3( (packed) )= idt_descriptor_t |
This structure describes one interrupt gate. More... | |
Functions | |
void | init_idt (void) |
Initialise the interrupt descriptor table. | |
Is a data structure used by the x86 architecture to implement an interrupt vector table. The IDT is used by the processor to determine the correct response to interrupts and exceptions.
typedef struct idt_pointer_t _syscall0 = _syscall0( (packed) )= _syscall1( (packed) )= _syscall2( (packed) )= _syscall3( (packed) )= idt_descriptor_t |
This structure describes one interrupt gate.
A pointer structure used for informing the CPU about our IDT.