linux同款panic二维码

This commit is contained in:
2026-04-21 20:28:37 +08:00
parent ad77805f7f
commit 5c7d66e3a6
17 changed files with 5201 additions and 4 deletions

View File

@@ -46,7 +46,9 @@ static u64 clks_shell_cmd_unknown = 0ULL;
static clks_bool clks_shell_pending_command = CLKS_FALSE;
static char clks_shell_pending_line[CLKS_SHELL_LINE_MAX];
extern void clks_rusttest_hello(void);
__attribute__((weak)) void clks_rusttest_hello(void) {
clks_tty_write("rusttest: rust symbol unavailable\n");
}
static clks_bool clks_shell_is_space(char ch) {
return (ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n') ? CLKS_TRUE : CLKS_FALSE;