Page 1 of 1
GDT
Posted: Sun Jan 09, 2005 1:28 pm
by Poseidon
What does the GDT exactly have to do? I can find all over the internet codes of it, but nothing about what it actually DOES.
Also, can i make the GDT in c without problems?
Re:GDT
Posted: Sun Jan 09, 2005 1:43 pm
by Brendan
Hi,
Poseidon wrote:
What does the GDT exactly have to do? I can find all over the internet codes of it, but nothing about what it actually DOES.
On 80x86 CPUs running in 32 bit protected mode there's segments which determine who can access which areas. The segments are defined with "segment descriptors" that are in the GDT (Global Descriptor Table) and/or in the LDT (Local Descriptor Table). The GDT is meant to be used by everything, while the LDT is meant to be local to a specific task (but doesn't really have to be).
Poseidon wrote:
Also, can i make the GDT in c without problems?
Yes.
Cheers,
Brendan