idek
This commit is contained in:
parent
9fcac766f6
commit
ce3451d392
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
MAKEFLAGS += -rR
|
||||
.SUFFIXES:
|
||||
|
||||
QEMUFLAGS := -m 2G -serial stdio -smp 4
|
||||
QEMUFLAGS := -m 2G -serial file:com1.log -smp 4 -monitor stdio
|
||||
USER_QEMUFLAGS ?=
|
||||
IMAGE_NAME := release/emk
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ void ioapic_init()
|
|||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue