Interrupts Tutorial: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m moved Interrupts tutorial to Interrupts Tutorial: more appropriate |
Fix "memory" constraint. |
||
Line 186: | Line 186: | ||
} |
} |
||
__asm__ volatile ("lidt %0" : : " |
__asm__ volatile ("lidt %0" : : "m"(idtr)); // load the new IDT |
||
__asm__ volatile ("sti"); // set the interrupt flag |
__asm__ volatile ("sti"); // set the interrupt flag |
||
} |
} |