git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: corrected time conversion on alarm/sleep syscall
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
lxconsole.h
diff --git
a/lunaix-os/includes/lunaix/lxconsole.h
b/lunaix-os/includes/lunaix/lxconsole.h
index 06902d00b0570a19f191e38002cb49bba966c792..197bc9e55a9348c62f8703a96ee157af5b13f55b 100644
(file)
--- 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
#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_init();
+void
+lxconsole_spawn_ttydev();
+
void
console_write_str(char* str);
void
console_write_str(char* str);
@@
-16,6
+26,9
@@
console_view_up();
void
console_view_down();
void
console_view_down();
+void
+console_flush();
+
void
console_start_flushing();
#endif /* __LUNAIX_LXCONSOLE_H */
void
console_start_flushing();
#endif /* __LUNAIX_LXCONSOLE_H */