1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:27:34 +00:00

Kernel: Enabling Text mode debugging (#696)

Also added an option to start Serenity with text mode in QEMU
in the run script.
This commit is contained in:
Liav A 2019-10-29 17:41:40 +02:00 committed by Andreas Kling
parent 014f8ca8c4
commit ed45f67c00
2 changed files with 43 additions and 15 deletions

View file

@ -51,6 +51,18 @@ elif [ "$1" = "qgrub" ]; then
-device e1000,netdev=breh \
-hda _disk_image \
-soundhw pcspk
elif [ "$1" = "qtext" ]; then
$SERENITY_QEMU_BIN -s -m ${SERENITY_RAM_SIZE:-128} \
$SERENITY_EXTRA_QEMU_ARGS \
-d cpu_reset,guest_errors \
-device VGA,vgamem_mb=64 \
-debugcon stdio \
-device e1000 \
-kernel kernel \
-append "${SERENITY_KERNEL_CMDLINE} text_debug" \
-hda _disk_image \
-soundhw pcspk \
-soundhw sb16
else
# ./run: qemu with user networking
$SERENITY_QEMU_BIN -s -m ${SERENITY_RAM_SIZE:-128} \