feat: (iso9660) directory read support
[lunaix-os.git] / lunaix-os / kernel / tty / lxconsole.c
index 31afa6490766a3a5873096c5e99aca63016751d0..d555175a0e1d663c98a53a19bd3705ba301077d2 100644 (file)
@@ -119,7 +119,11 @@ lxconsole_init()
     fifo_init(&lx_console.input, valloc(4096), 4096, 0);
 
     lx_console.flush_timer = NULL;
+}
 
+void
+lxconsole_spawn_ttydev()
+{
     struct device* tty_dev = device_addseq(NULL, &lx_console, "tty");
     tty_dev->write = __tty_write;
     tty_dev->read = __tty_read;