TacOS
0.2
|
Entrée de l'IDT.
Champs de données | |
uint16_t | offset_low |
uint16_t | seg_sel |
uint8_t | reserved:5 |
uint8_t | flags:3 |
uint8_t | type:3 |
uint8_t | op_size:1 |
uint8_t | zero:1 |
uint8_t | dpl:2 |
uint8_t | present:1 |
uint16_t | offset_high |
uint8_t x86_idt_entry::dpl |
14..13 (niveau de privilège, 0 = superviseur, 3 = applicatif
uint8_t x86_idt_entry::flags |
7..5 (unused)
uint16_t x86_idt_entry::offset_high |
31..16
uint16_t x86_idt_entry::offset_low |
15..0, offset of the routine in the segment
uint8_t x86_idt_entry::op_size |
11 (0=16bits instructions, 1=32bits instr.)
uint8_t x86_idt_entry::present |
15 (0 => Pas configuré)
uint8_t x86_idt_entry::reserved |
4..0 (unused)
uint16_t x86_idt_entry::seg_sel |
31..16, the ID of the segment
uint8_t x86_idt_entry::type |
10..8 (task gate 101, interrupt gate 110, trap gate 111...)
uint8_t x86_idt_entry::zero |
12 : Segment système