1
0
Fork 0
This commit is contained in:
Kevin Alavik 2025-05-16 20:45:14 +02:00
parent 9fcac766f6
commit ce3451d392
Signed by: cmpsb
GPG key ID: 10D1CC0526FDC6D7
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
MAKEFLAGS += -rR MAKEFLAGS += -rR
.SUFFIXES: .SUFFIXES:
QEMUFLAGS := -m 2G -serial stdio -smp 4 QEMUFLAGS := -m 2G -serial file:com1.log -smp 4 -monitor stdio
USER_QEMUFLAGS ?= USER_QEMUFLAGS ?=
IMAGE_NAME := release/emk IMAGE_NAME := release/emk

View file

@ -16,7 +16,7 @@ void ioapic_init()
for (uint8_t i = 0; i <= count; ++i) for (uint8_t i = 0; i <= count; ++i)
{ {
ioapic_write(ioapic, IOAPIC_REDTBL + 2 * i, 0x00010000 | (32 + i)); ioapic_write(ioapic, IOAPIC_REDTBL + 2 * i, (32 + i));
ioapic_write(ioapic, IOAPIC_REDTBL + 2 * i + 1, 0); ioapic_write(ioapic, IOAPIC_REDTBL + 2 * i + 1, 0);
} }
} }