Linux and BSD

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.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux and BSD

Post by Pype.Clicker »

1. i suggest the "understanding Linux Kernel" or "Linux Kernel Internals" e-books for anything related on "how do linux xxx ?" questions.

2. you could perfectly have an LDT with every process without having several LDT entries in the GDT: just put your LDT on a process-specific memory area: when switching to another process, your LDT is still there but it now contains new data for the new process.

3. I suggest you check out volume 3 of the intel manuals for a clearer description of what "LIDT" expects (which is same as LGDT) and "LLDT" expects (e.g. a selector)
Post Reply