Working kernel written on C and userspace-ready #1
@@ -80,11 +80,31 @@ _prep:
|
||||
-serial stdio \
|
||||
-monitor telnet:127.0.0.1:5555,server,nowait
|
||||
|
||||
@drun: _image
|
||||
@echo "🚀 Debugging (accel: {{ACCEL_INFO}})..."
|
||||
qemu-system-aarch64 {{ACCEL}} \
|
||||
-machine virt,acpi=off \
|
||||
-cpu {{CPU}} \
|
||||
-m 512M \
|
||||
-device ramfb \
|
||||
{{DISPLAY_FLAGS}} \
|
||||
-drive if=pflash,format=raw,readonly=on,file={{OVMF_ARM}} \
|
||||
-drive file={{IMG_FILE}},format=raw,if=none,id=hd0 \
|
||||
-device virtio-blk-device,drive=hd0 \
|
||||
-serial stdio \
|
||||
-monitor telnet:127.0.0.1:5555,server,nowait
|
||||
-s -S
|
||||
|
||||
@crun:
|
||||
@echo "🧹 Cleaning and running.."
|
||||
just clean
|
||||
just run
|
||||
|
||||
@dcrun:
|
||||
@echo "🧹 Cleaning and debugging.."
|
||||
just clean
|
||||
just drun
|
||||
|
||||
@clean:
|
||||
just Bootloader clean
|
||||
just Kernel clean
|
||||
|
||||
Reference in New Issue
Block a user