Manipulating the LDT or GDT

Andrew Mileski (dmtech@magi.com)
Mon, 18 Mar 1996 11:14:34 -0500 (EST)


Could someone nicely explain to me how to properly allocate
descriptors. I noticed <asm/system.h> has some macros for
manipulating them, but nothing for managing them - unless
they are ALL hardcoded?

Also, should I allocate from the LDT or GDT? As these
descriptors will be used *very* early in boot-up, I would
think the GDT would be a good choice. Also, the descriptors
would be used system wide, and persist forever.

-- Andrew E. Mileski --
--------------------------------------------------------------
mailto:dmtech@magi.com http://www.redhat.com/~aem/
"The best programmers are lazy", so I'm told.
I haven't gotten around to seeing if it is true or not though.