8259 PIC: Difference between revisions

Added section on disabling
[unchecked revision][unchecked revision]
(Add 'See Also' section, and link to IOAPIC orphan page.)
(Added section on disabling)
Line 154:
 
''Note the presence of io_wait() calls, on older machines its necessary to give the PIC some time to react to commands as they might not be processed quickly''
 
== Disabling ==
If you are going to use the processor local APIC and the IOAPIC, you must first disable the PIC. This is done via:
<source lang=asm>mov al, 0xff
out 0xa1, al
out 0x21, al
</source>
 
== See Also ==
 
Anonymous user