mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-25 03:54:01 +00:00
更新shell
This commit is contained in:
@@ -52,6 +52,8 @@ typedef unsigned long long usize;
|
||||
#define CLEONOS_SYSCALL_EXIT 43ULL
|
||||
#define CLEONOS_SYSCALL_SLEEP_TICKS 44ULL
|
||||
#define CLEONOS_SYSCALL_YIELD 45ULL
|
||||
#define CLEONOS_SYSCALL_SHUTDOWN 46ULL
|
||||
#define CLEONOS_SYSCALL_RESTART 47ULL
|
||||
|
||||
u64 cleonos_syscall(u64 id, u64 arg0, u64 arg1, u64 arg2);
|
||||
u64 cleonos_sys_log_write(const char *message, u64 length);
|
||||
@@ -99,5 +101,7 @@ u64 cleonos_sys_wait_pid(u64 pid, u64 *out_status);
|
||||
u64 cleonos_sys_exit(u64 status);
|
||||
u64 cleonos_sys_sleep_ticks(u64 ticks);
|
||||
u64 cleonos_sys_yield(void);
|
||||
u64 cleonos_sys_shutdown(void);
|
||||
u64 cleonos_sys_restart(void);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user