kernel/run.sh

14 lines
300 B
Bash
Raw Normal View History

2023-02-05 13:39:35 +00:00
#!/bin/bash
EMUFLAGS="-no-reboot -m 256M -cdrom build/noxos.iso -chardev stdio,id=log,logfile=noxos.log -serial chardev:log"
emulate() {
qemu-system-x86_64 $EMUFLAGS
}
# qemu will wait for gdb to connect, before booting
emulate_debug() {
qemu-system-x86_64 -s -S $EMUFLAGS
}
emulate_debug