Change order of sending EOI to PIC, works with -enable-kvm now
This commit is contained in:
@ -156,7 +156,7 @@ int32_t ps2kb_intr(void) {
|
||||
|
||||
IpcMBus *PS2KB_MBUS;
|
||||
|
||||
int ps2kbdev_intr(IntrStackFrame *frame) {
|
||||
void ps2kbdev_intr(IntrStackFrame *frame) {
|
||||
(void)frame;
|
||||
|
||||
int32_t c = ps2kb_intr();
|
||||
@ -164,8 +164,6 @@ int ps2kbdev_intr(IntrStackFrame *frame) {
|
||||
uint8_t b = c;
|
||||
ipc_mbuspublish("ps2kb", &b);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ps2kbdev_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user