mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-25 03:54:01 +00:00
Stage 16
This commit is contained in:
@@ -30,6 +30,9 @@ typedef unsigned long long usize;
|
||||
#define CLEONOS_SYSCALL_TTY_COUNT 21ULL
|
||||
#define CLEONOS_SYSCALL_TTY_ACTIVE 22ULL
|
||||
#define CLEONOS_SYSCALL_TTY_SWITCH 23ULL
|
||||
#define CLEONOS_SYSCALL_TTY_WRITE 24ULL
|
||||
#define CLEONOS_SYSCALL_TTY_WRITE_CHAR 25ULL
|
||||
#define CLEONOS_SYSCALL_KBD_GET_CHAR 26ULL
|
||||
|
||||
u64 cleonos_syscall(u64 id, u64 arg0, u64 arg1, u64 arg2);
|
||||
u64 cleonos_sys_log_write(const char *message, u64 length);
|
||||
@@ -55,6 +58,8 @@ u64 cleonos_sys_user_launch_fail(void);
|
||||
u64 cleonos_sys_tty_count(void);
|
||||
u64 cleonos_sys_tty_active(void);
|
||||
u64 cleonos_sys_tty_switch(u64 tty_index);
|
||||
u64 cleonos_sys_tty_write(const char *text, u64 length);
|
||||
u64 cleonos_sys_tty_write_char(char ch);
|
||||
u64 cleonos_sys_kbd_get_char(void);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user