kernel: rework init

This commit is contained in:
Matheus
2025-08-14 20:25:43 -03:00
parent fb6cbe49d7
commit 607566531d
41 changed files with 268 additions and 164 deletions
+3
View File
@@ -9,6 +9,7 @@
#include <termios.h>
#include <kernel/poll.h>
#include <kernel/tty.h>
#include <kernel/init.h>
static mutex_t writemutex;
static thread_t *thread;
@@ -124,3 +125,5 @@ void console_init() {
tty->winsize.ws_xpixel = fbx;
tty->winsize.ws_ypixel = fby;
}
INIT_ROUTINE_DEFINE(console, INIT_ROUTINE_FLAGS_NONE, console_init, scheduler, keyboard);