fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git] / lunaix-os / includes / lunaix / lxconsole.h
index ba8c907ae9c817ccefc83d04e8ab90417c782e07..197bc9e55a9348c62f8703a96ee157af5b13f55b 100644 (file)
@@ -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();