diff options
author | Marvin Borner | 2021-03-17 22:33:31 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-17 22:33:31 +0100 |
commit | 63ed037fdbb04a4855531f5ce980d8517752f640 (patch) | |
tree | 512965efa1ace0248932b133dab260d7b52231bb /run | |
parent | 50856df5b7272a6fdcd6a049351b7f1320c6cdaa (diff) |
Awesome!
Diffstat (limited to 'run')
-rwxr-xr-x | run | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |