add targets for linux/linux+baremetal

This commit is contained in:
2026-03-08 15:25:33 +01:00
parent e6237cc06e
commit 60fa13573d
6 changed files with 270 additions and 122 deletions

View File

@ -9,3 +9,9 @@ run-external:
bochs-host:
nix shell nixpkgs#bochs --command sh -c "bochs -q -f ./examples/arch/bochs/bochsrc-host.txt -q"
qemu-host:
qemu-system-i386 -drive file=./examples/build-bochs/sum/system.iso,media=cdrom -boot d -m 32 -S -s
gdb-host:
nix shell nixpkgs#gdb --command gdb ./examples/build-bochs/sum/system.elf -ex "set substitute-path build-bochs ./examples/build-bochs" -ex "target remote localhost:1234" -ex "break os_main"