X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/874b3b5a74d815aa91f325e5573052a3c8ce1d39..aa2843fdbdd9b5cc579d198fd1a9ec874642706e:/lunaix-os/includes/lunaix/lxconsole.h?ds=sidebyside diff --git a/lunaix-os/includes/lunaix/lxconsole.h b/lunaix-os/includes/lunaix/lxconsole.h index ba8c907..197bc9e 100644 --- a/lunaix-os/includes/lunaix/lxconsole.h +++ b/lunaix-os/includes/lunaix/lxconsole.h @@ -1,9 +1,19 @@ #ifndef __LUNAIX_LXCONSOLE_H #define __LUNAIX_LXCONSOLE_H +#define TCINTR 0x03 // ETX +#define TCEOF 0x04 // EOT +#define TCBS 0x08 // BS +#define TCLF 0x0A // LF +#define TCCR 0x0D // CR +#define TCSTOP 0x1A // SUB + void lxconsole_init(); +void +lxconsole_spawn_ttydev(); + void console_write_str(char* str); @@ -17,7 +27,7 @@ void console_view_down(); void -console_flush(void* arg); +console_flush(); void console_start_flushing();