IDT's and GDT's
Posted: Sat Jul 28, 2001 11:00 pm
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.
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.