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
feat: basic elf32 loader (only LOAD segment is supported)
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
tty
/
console.h
diff --git
a/lunaix-os/includes/lunaix/tty/console.h
b/lunaix-os/includes/lunaix/tty/console.h
index 9eb4ea08192f98db5035608d8c800ed20b4ab79b..24d088fbd3f6665580e53fe8c4e32112292b319c 100644
(file)
--- a/
lunaix-os/includes/lunaix/tty/console.h
+++ b/
lunaix-os/includes/lunaix/tty/console.h
@@
-1,15
+1,16
@@
#ifndef __LUNAIX_CONSOLE_H
#define __LUNAIX_CONSOLE_H
#ifndef __LUNAIX_CONSOLE_H
#define __LUNAIX_CONSOLE_H
-#include <lunaix/ds/fifo
buf
.h>
+#include <lunaix/ds/fifo.h>
#include <lunaix/timer.h>
struct console
{
struct lx_timer* flush_timer;
#include <lunaix/timer.h>
struct console
{
struct lx_timer* flush_timer;
- struct fifo_buffer buffer;
- unsigned int erd_pos;
- unsigned int lines;
+ struct fifo_buf output;
+ struct fifo_buf input;
+ size_t wnd_start;
+ size_t lines;
};
#endif /* __LUNAIX_CONSOLE_H */
};
#endif /* __LUNAIX_CONSOLE_H */