8259 PIC: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Add 'See Also' section, and link to IOAPIC orphan page.
Added section on disabling
Line 154: 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''
''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 ==
== See Also ==