im learning about interrupts and i have a problem.
I cant find what is the diffrence between '16 bit int/trp gate' and '32 bit int/trp gate'.
How does it work?
obviously this structure of idt can be called from 32bit mode only.
when i call interrupt or make something that throw exception, and my cpl is <= dpl of IDT gate (exception always), im getting switched.
code executed is accordingly to cs segment size bit.
so whats diffrent between 16 and 32 gate?
also i have a question about bochs emulator, can i set up logging all interrupts? it might help me to learn if ill get explained error why it failed.
thx.
|