This commit is contained in:
2026-04-10 20:16:20 +08:00
parent 36689a09a8
commit 86b5287f8c
16 changed files with 328 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
#include <cleonos_rust_bridge.h>
#include <cleonos_syscall.h>
static const char shell_banner[] = "[USER][SHELL] shell.elf online";
static const char shell_status[] = "[USER][SHELL] syscall int80 path ok";
int cleonos_app_main(void) {
u64 len = cleonos_rust_guarded_len((const unsigned char *)shell_banner, (usize)(sizeof(shell_banner) - 1U));
cleonos_sys_log_write(shell_banner, len);
cleonos_sys_log_write(shell_status, (u64)(sizeof(shell_status) - 1U));
return 0;
}