I Can't Get Interrupts Working: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 63: Line 63:
asm("hlt");
asm("hlt");
} </source>
} </source>
to your main kernel function. The ''for'' loop is necessary because execution continues after the CPU receives an interrupt.
to the end of your main kernel function. The ''for'' loop is necessary because execution continues after the CPU receives an interrupt.


=== When I try to enable the PIT, the keyboard doesn't work anymore ===
=== When I try to enable the PIT, the keyboard doesn't work anymore ===