Descriptor Tables
Posted: Thu Jan 15, 2009 4:39 pm
hello i'm beginner in os devellepmnt so i did not understand each of those descriptor tables use and this paragraph.
thanks
thanks
There are three types of descriptor tables; the Global (GDT), Local (LDT) and Interrupt (IDT). The
GDT, pointed to by GDTR, holds up to 8191 objects (GDT 0 is reserved) that are accessible across all
tasks. The LDT, pointed to by LDTR, holds up to 8192 objects (LDT 0 is not reserved) that are local to
each task. The IDT, pointed to by the (need I say) IDTR, holds up to 256 gates (more on gates later).
Much like with the 8086, the IDT holds the destinations for the various interrupts. Each interrupt,
software or hardware, has a vector number associated with it. This vector number serves as the index
into the IDT. All three of these tables are created by software and reside in the memory space.