close
Warning:
Can't synchronize with repository "(default)" (/project/movitz/svn does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
10/25/07 17:32:28 (17 years ago)
- Author:
-
mxb
- Comment:
-
Brief irq enabling documentation
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | Define a function foo as your IRQ exception handler. |
| 2 | |
| 3 | Bind the function foo to a specific IRQ n by using the template: |
| 4 | (setf (exception-handler <32+n) foo) |
| 5 | |
| 6 | Enable the IRQ |
| 7 | (setf (ldb (byte 1 n) (pic8259-irq-mask)) 0) |