mirror of
https://github.com/Leonmmcoset/cleonos.git
synced 2026-04-21 18:44:01 +00:00
Stage 16
This commit is contained in:
@@ -6,5 +6,7 @@
|
||||
void clks_keyboard_init(void);
|
||||
void clks_keyboard_handle_scancode(u8 scancode);
|
||||
u64 clks_keyboard_hotkey_switch_count(void);
|
||||
clks_bool clks_keyboard_pop_char(char *out_ch);
|
||||
u64 clks_keyboard_buffered_count(void);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
9
clks/include/clks/shell.h
Normal file
9
clks/include/clks/shell.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef CLKS_SHELL_H
|
||||
#define CLKS_SHELL_H
|
||||
|
||||
#include <clks/types.h>
|
||||
|
||||
void clks_shell_init(void);
|
||||
void clks_shell_tick(u64 tick);
|
||||
|
||||
#endif
|
||||
@@ -27,10 +27,12 @@
|
||||
#define CLKS_SYSCALL_TTY_COUNT 21ULL
|
||||
#define CLKS_SYSCALL_TTY_ACTIVE 22ULL
|
||||
#define CLKS_SYSCALL_TTY_SWITCH 23ULL
|
||||
#define CLKS_SYSCALL_TTY_WRITE 24ULL
|
||||
#define CLKS_SYSCALL_TTY_WRITE_CHAR 25ULL
|
||||
#define CLKS_SYSCALL_KBD_GET_CHAR 26ULL
|
||||
|
||||
void clks_syscall_init(void);
|
||||
u64 clks_syscall_dispatch(void *frame_ptr);
|
||||
u64 clks_syscall_invoke_kernel(u64 id, u64 arg0, u64 arg1, u64 arg2);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user