x86_64: re-enable legacy PIC and PIT initialisation

This commit is contained in:
2024-09-17 17:48:26 +01:00
parent 3f992d84fb
commit d29b955ee8
6 changed files with 231 additions and 42 deletions

View File

@@ -4,10 +4,7 @@ QEMU_MONITOR_FLAGS := -serial stdio
QEMU_FLAGS := \
-m 10M \
-display sdl \
-smp 4 -cpu qemu64,pdpe1gb \
-device ahci,id=ahci \
-drive id=hd0,file=$(BUILD_DIR)/disk.img,if=none -device ide-hd,drive=hd0,bus=ahci.0 \
-drive id=cd0,file=$(BUILD_DIR)/disk2.img,if=none -device ide-cd,drive=cd0,bus=ahci.1
-smp 4 -cpu qemu64,pdpe1gb
ARCH_TEMP_FILES := $(BUILD_DIR)/$(KERNEL_EXEC).elf32