1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-11-20 11:16:10 -05:00

Add TODOs

This commit is contained in:
Braiden Vasco 2017-11-03 03:25:43 +00:00
parent 75cb1f9ecc
commit 38e9e650b7

View file

@ -41,11 +41,11 @@ void hwint_handler(struct IsrRegisters regs)
if (regs.int_no >= 40) { // TODO: hardcoded if (regs.int_no >= 40) { // TODO: hardcoded
// Send reset signal to slave // Send reset signal to slave
outb(0xA0, 0x20); outb(0xA0, 0x20); // TODO: hardcoded
} }
// Send reset signal to master // Send reset signal to master
outb(0x20, 0x20); outb(0x20, 0x20); // TODO: hardcoded
const unsigned char hwint_no = regs.int_no - INT_HWINT_FIRST; const unsigned char hwint_no = regs.int_no - INT_HWINT_FIRST;