diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-11-02 23:09:18 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-11-02 23:09:18 +0200 |
commit | 509bf85036b3c345f832558a299257effabba108 (patch) | |
tree | 0dda6c4fd5e072410d958b65af90755c5014b514 /devices/pic_8259.c | |
parent | makefile: make all target the default (diff) | |
download | kernel-509bf85036b3c345f832558a299257effabba108.tar.xz |
fix compiler warnings
Diffstat (limited to 'devices/pic_8259.c')
-rw-r--r-- | devices/pic_8259.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/devices/pic_8259.c b/devices/pic_8259.c index d3a2f6a..d00f74a 100644 --- a/devices/pic_8259.c +++ b/devices/pic_8259.c @@ -53,4 +53,5 @@ void pic_clear(unsigned char irq) { outb(0x20, PIC1); + if (irq >= 8) outb(0x20, PIC2); } |