GDT

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Poseidon

GDT

Post 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?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:GDT

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply