Interrupt Descriptor Table: Difference between revisions
Change section names to refer to Protected and Long Mode instead of CPU generations.
[unchecked revision] | [unchecked revision] |
Revolution (talk | contribs) m (Sorry I kinda did this weird, nothing much changed though.) |
Revolution (talk | contribs) (Change section names to refer to Protected and Long Mode instead of CPU generations.) |
||
Line 1:
The '''Interrupt Descriptor Table''' ('''IDT''') is a binary data structure specific to the [[IA32_Architecture_Family|IA-32]] and [[X86-64|x86-64]] architectures. It is the '''[[Protected Mode]]''' and '''[[Long Mode]]''' counterpart to the '''[[Real Mode]]''' '''[[Interrupt Vector Table]]''' (
The '''IDT''' entries are called gates. It can contain Interrupt Gates, Task Gates and Trap Gates.
Before you implement the '''IDT''', make sure you have a working '''GDT'''.
== IDTR ==
Line 31:
For more information, see '''Section 2.4.3: IDTR Interrupt Descriptor Table Register''' and '''Figure 2-6: Memory Management Registers''' of the Intel Software Developer Manual, Volume 3-A.
==
=== Table ===
{|class="wikitable"
Line 113:
* '''Task Gate: 0x85''' (p=1, dpl=0b00, type=0b0101 => type_attributes=0b1000_0101='''0x85''')
==
=== Table ===
{|class="wikitable"
|