feat: setup gdt and idt and handle basic ISRs

This commit is contained in:
2023-10-01 19:49:56 +02:00
parent f79e6e10ac
commit 295c11e107
11 changed files with 511 additions and 3 deletions

View File

@@ -2,4 +2,9 @@
ISO=${1}
qemu-system-x86_64 -bios /usr/share/ovmf/x64/OVMF.fd -cdrom "${ISO}" -S -s -d guest_errors
qemu-system-x86_64 \
-cpu qemu64 \
-m 8G \
-drive if=pflash,format=raw,readonly=on,file=/usr/share/ovmf/x64/OVMF_CODE.fd \
-cdrom "${ISO}" \
-S -s -d guest_errors,pcall,cpu_reset