IVT and Protected mode
Posted: Thu Mar 06, 2008 1:48 pm
In the piece of memory between 0x0 and 0x3FF, there is the IVT right?
The IVT is a 4-byte entry table. Each entry points to the code of an interrupt...
If I parse that zone of memory, I can find the code of the ints, can't I?
Then I can create some IDT descriptors (0x30 = int 0, 0x31 = int 1, ...) with as base, the value I found in the table (adapted for protected mode)
Can I do all this wonderful things? Or when switching to pmode, the IVT goes lost?
The IVT is a 4-byte entry table. Each entry points to the code of an interrupt...
If I parse that zone of memory, I can find the code of the ints, can't I?
Then I can create some IDT descriptors (0x30 = int 0, 0x31 = int 1, ...) with as base, the value I found in the table (adapted for protected mode)
Can I do all this wonderful things? Or when switching to pmode, the IVT goes lost?