feat: lru eviction policy on page caches
[lunaix-os.git] / lunaix-os / includes / lunaix / tty / console.h
index 9eb4ea08192f98db5035608d8c800ed20b4ab79b..e5eaa34b940ad7c9ce1295250858918639bca89d 100644 (file)
@@ -1,13 +1,14 @@
 #ifndef __LUNAIX_CONSOLE_H
 #define __LUNAIX_CONSOLE_H
 
-#include <lunaix/ds/fifobuf.h>
+#include <lunaix/ds/fifo.h>
 #include <lunaix/timer.h>
 
 struct console
 {
     struct lx_timer* flush_timer;
-    struct fifo_buffer buffer;
+    struct fifo_buf output;
+    struct fifo_buf input;
     unsigned int erd_pos;
     unsigned int lines;
 };