IDT's and GDT's

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
[email protected]

IDT's and GDT's

Post by [email protected] »

I've been making a test kernel. Basically just
something to more or less play around with to learn
more about the PC and how it operates. Anyway,
When I define an IDT and I, then, enable interrupts,
the computer seems to triple fault. Another question
that I have is this...if you are in the bootloader and
you load a GDT, do you also have to reload this in
your kernel? If so, why? And if you have two differing
GDT's (kernel and bootloaders GDTs are different), can
this potentially make it to where when I create my IDT,
I have problems? Any help would be really appreciated.
Post Reply