diff options
| author | Tianhao Wang <shrik3@mailbox.org> | 2024-06-06 00:02:53 +0200 |
|---|---|---|
| committer | Tianhao Wang <shrik3@mailbox.org> | 2024-06-11 15:17:14 +0200 |
| commit | a86f59b32eb86a1ccb94bf1e627c1115c3b6b217 (patch) | |
| tree | a3b1c10ad4fa76be79aed1f7e8eebbd2cfa146aa /Makefile | |
| parent | ca8bc76fd5319842954508484542f4beb6b591d0 (diff) | |
io: add serial output through port 0x3f8 (qemu)
not yet wrapped with fmt macros because I want some thing stateless.
(i.e. I don't want to pass `&mut self` to write_str...).
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -93,14 +93,14 @@ clean: rm -f build/* qemu: bootdisk.iso - qemu-system-x86_64 -drive file=./bootdisk.iso,format=raw -k en-us + qemu-system-x86_64 -drive file=./bootdisk.iso,format=raw -k en-us -serial mon:stdio gdb: gdb -x /tmp/gdbcommands.$(shell id -u) build/kernel qemu-gdb: bootdisk.iso @echo "target remote localhost:$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 )))" > /tmp/gdbcommands.$(shell id -u) - @qemu-system-x86_64 -drive file=bootdisk.iso,format=raw -k en-us -S -gdb tcp::$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 ))) + @qemu-system-x86_64 -drive file=bootdisk.iso,format=raw -k en-us -S -gdb tcp::$(shell echo $$(( $$(id -u) % (65536 - 1024) + 1024 ))) -serial mon:stdio test: @echo "---BUILD DIR---" |
