> From: Kevin P. Lawton [mailto:[EMAIL PROTECTED]]

<snip>
> What makes you think a page can't contain a gdt and ldt?

A weak understanding of low-level protected mode data structures? :^) 

> Might not be standard practice, but it's certainly doable.
> Same with some other structures.  

I did think the page tables and directories had to be a full page on there
own, but I don't have the docs here at work. Also I thought GDT's had to be
in a RING-0 selector, which at page granularity would have prevented a
lower-ring LDT from existing in the same page and I never thought about
RING-0 code using using LDT's. I guess it would be doable.

Of course with what I know, I could be entirely wrong. I lurk here to learn
and hope to be able to contribute someday.

> I don't want to dirty
> up the code to save a few bits unless we need to.

Agreed, I will take clean code over fast or small any day, especially on an
open source project.

Reply via email to