|
Turnstone Operating System
|
idt table descriptor More...
#include <descriptor.h>
Public Attributes | |
| uint16_t | offset_1 |
| offset bits 0..15 of where interrupt function reside | |
| uint16_t | selector |
| a code segment selector in GDT or LDT | |
| uint8_t | ist: 3 |
| bits 0..2 holds Interrupt Stack Table offset, rest of bits zero. | |
| uint8_t | always0_1: 5 |
| ignore, always 0 | |
| uint8_t | type: 4 |
| interrupt type type it should be 0xE | |
| uint8_t | always0_2: 1 |
| ignore, always 0 | |
| uint8_t | dpl: 2 |
| privilage level of interrupt | |
| uint8_t | present: 1 |
| interrupt present? | |
| uint16_t | offset_2 |
| offset bits 16..31 of where interrupt function reside | |
| uint32_t | offset_3 |
| offset bits 32..63 of where interrupt function reside | |
| uint32_t | zero |
| reserved, always zero | |
idt table descriptor
each table member has this struct format for interrupt function