Anonymous user
Interrupts Tutorial: Difference between revisions
→IDT table
[unchecked revision] | [unchecked revision] |
m (Reverted edits by Klakap (talk) to last revision by Xcrafter40) |
|||
Line 13:
};
struct IDT_entry IDT[
</source>
Now, we need to remap the PIC (Programmable Interrupt Controller) and fill the IDT with the correct values.
Line 181:
/* fill the IDT descriptor */
idt_address = (unsigned long)IDT ;
idt_ptr[0] = (sizeof (struct IDT_entry) *
idt_ptr[1] = idt_address >> 16 ;
|