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
PIC and IDT
RE:PIC and IDT
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
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