more instructive kernel panic message

This commit is contained in:
nakst 2022-01-04 08:14:40 +00:00
parent e0813a8aed
commit 869396bb10
2 changed files with 8 additions and 1 deletions

View File

@ -214,7 +214,13 @@ void KernelPanic(const char *format, ...) {
StartDebugOutput();
EsPrint("\n--- System Error ---\n* If you are using an emulator, please capture a screenshot of the entire window and report the error. *\n>> ");
EsPrint("\n--- System Error ---\n");
EsPrint("\n========================================================================================================\n");
EsPrint("| If you are using an emulator, please capture a screenshot of the entire window and report the error. |\n");
EsPrint("| If you are using Qemu, press Ctrl+Alt+2, then type \"cpu %d\", then \"dump-guest-memory -p mem.dat\". |\n",
GetLocalStorage() ? (GetLocalStorage()->archCPU ? GetLocalStorage()->archCPU->apicID : 0) : 0);
EsPrint("========================================================================================================\n");
EsPrint("\n>> ");
va_list arguments;
va_start(arguments, format);

View File

@ -92,6 +92,7 @@ cp essence/bin/MPC\ License.txt Essence/Licenses/MPC.txt
# Compress the result.
mv ova/Essence.ova Essence/
mv essence/bin/drive Essence/
echo $COMMIT > Essence/
tar -cJf Essence.tar.xz Essence/
echo $COMMIT > essence/bin/commit.txt
rm -rf essence/cross essence/.git essence/bin/cache essence/bin/freetype essence/bin/harfbuzz essence/bin/musl essence/root/Applications/POSIX/lib