Change order of sending EOI to PIC, works with -enable-kvm now

This commit is contained in:
2025-11-18 16:56:28 +01:00
parent 2a0dddead3
commit 4fb5448dd9
5 changed files with 7 additions and 12 deletions

View File

@ -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) {