Interrupt Descriptor Table: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
mNo edit summary
m LIDT fix
Line 7:
== IDTR ==
 
The location of the '''IDT''' is kept in the '''IDTR''' register. This is loaded using the '''LGDTLIDT''' assembly instruction, whose argument is a pointer to an '''IDT Descriptor''' structure:
 
{| class="wikitable" style="border-width: 3px; width: 720px"
Line 26:
* '''Offset''': The linear address of the '''Interrupt Descriptor Table''' (not the physical address, paging applies).
 
Note that the amount of data loaded by '''LGDTLIDT''' differs in 32-bit and 64-bit modes, '''Offset''' is 4 bytes long in 32-bit mode and 8 bytes long in 64-bit mode.
 
This is similar to the '''[[GDT]]''', except: