From 63ed037fdbb04a4855531f5ce980d8517752f640 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Mar 2021 22:33:31 +0100 Subject: Awesome! --- run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'run') diff --git a/run b/run index bf27b42..8a49737 100755 --- a/run +++ b/run @@ -26,7 +26,7 @@ no_ask="${2}" # TODO: Support -enable-kvm: GPF?! qemu_with_flags() { network="rtl8139" - qemu-system-i386 -d guest_errors -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -netdev user,id=net0,hostfwd=tcp:127.0.0.1:8000-10.0.2.15:8000 -device $network,netdev=net0 -object filter-dump,id=dump,netdev=net0,file=dump.pcap "$@" + qemu-system-i386 -cpu max -no-reboot -vga std -rtc base=localtime -m 256M -netdev user,id=net0,hostfwd=tcp:127.0.0.1:8000-10.0.2.15:8000 -device $network,netdev=net0 -object filter-dump,id=dump,netdev=net0,file=dump.pcap "$@" } make_cross() { @@ -173,10 +173,10 @@ make_debug() { make_disasm() { if [ -z "$1" ]; then - echo "Usage: './run disasm {kernel, apps/wm, ...} [-S]'" + echo "Usage: './run disasm {kernel.elf, apps/wm, ...} [-S]'" exit 1 fi - objdump -drwC "$2" -Mintel build/"$1".elf | less -R + objdump -drwC "$2" -Mintel build/"$1" | less -R #hexdump -C build/kernel.bin | less -R } -- cgit v1.2.3