Enable ps2 interrupts

This commit is contained in:
Jeremy Soller 2019-11-08 10:57:22 -07:00
parent ff5a21931d
commit bc0233b6ac
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -5,7 +5,8 @@
void kbc_init(void) {
*(KBC.irq) = 0;
*(KBC.control) = 0x48;
// Enable IRQ1 on keyboard output and IRQ12 on mouse output
*(KBC.control) = 0x03;
}
enum KbcState {