summaryrefslogtreecommitdiff
path: root/debug.sh
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-04-02 18:04:26 +0000
committerAda Christine <adachristine18@gmail.com>2021-04-02 18:04:26 +0000
commit167481f8988a860ea6d7ea8bbdb7155e4eb7abeb (patch)
treec348e1ea1bec525039decf6f15477d381f2d0bd7 /debug.sh
parenta41f11851c23390510a8cf9d0a932b9d08636fb0 (diff)
kernel has gdt now and loads segment register and we can allocate pages
Diffstat (limited to 'debug.sh')
-rwxr-xr-xdebug.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.sh b/debug.sh
index 47f87ff..1d606af 100755
--- a/debug.sh
+++ b/debug.sh
@@ -8,5 +8,6 @@ make -C kernel &&
qemu-system-x86_64 -cpu qemu64 \
-drive if=pflash,format=raw,unit=0,file=/usr/share/ovmf/x64/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd \
- -net none -drive file=uefi.img,if=ide -monitor stdio -serial file:sophia.log
+ -net none -drive file=uefi.img,if=ide -monitor stdio -serial file:sophia.log -d int \
+ -no-shutdown -no-reboot -s -S