代码检测

This commit is contained in:
2026-04-18 20:04:52 +08:00
parent 78517d670b
commit f7af97ebc3
3 changed files with 66 additions and 2 deletions

View File

@@ -624,7 +624,7 @@ CLKS_NORETURN void clks_panic(const char *reason) {
}
clks_panic_emit_backtrace(&console, rip, rbp, rsp);
clks_panic_console_write(&console, "\nSystem halted. Please reboot the VM.\n");
clks_panic_console_write(&console, "\nSystem halted. Please reboot the computer.\n");
} else {
clks_panic_emit_backtrace(CLKS_NULL, rip, rbp, rsp);
}
@@ -691,7 +691,7 @@ CLKS_NORETURN void clks_panic_exception(const char *name,
clks_panic_console_write(&console, "\n");
clks_panic_emit_backtrace(&console, rip, rbp, rsp);
clks_panic_console_write(&console, "\nSystem halted. Please reboot the VM.\n");
clks_panic_console_write(&console, "\nSystem halted. Please reboot the computer.\n");
} else {
clks_panic_emit_backtrace(CLKS_NULL, rip, rbp, rsp);
}