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.
the gdt is an array of descriptors. each gdt descriptor is 8 bytes, and you need at least three: null, code and data.
For the exact format, refer to the intel manuals
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
yes, this is exactly where the intel manuals are invaluable -- become very familier with them (the information you need is in 3A:3.4.5, the associated diagram shows the GDT entries very clearly, as 2 32bit fields)