Page 1 of 1
PIC and IDT
Posted: Fri Nov 07, 2003 12:00 am
by Neo
If I set the location of an INT before I switch to real mode, will that INT still be mapped to the same place after I switch to PMODE? If no then what is the proper format for an IDT?
Thanks A lot!
-Neo
RE:PIC and IDT
Posted: Sat Nov 08, 2003 12:00 am
by carbonBased
simply put, the rmode idt and pmode idt are not the same, no.
This is a fairly involved question, however. To find out about the pmode idt, I suggest looking at the Intel manuals. The pmode idt is much more complicated them the rmode idt, which contains only a segment:offset pair. By contract, the pmode idt contains different types of interrupts (call gates, task gates, traps, ints, etc) and also defines which privelege levels can access them (ie, security features).
Cheers,
Jeff