IMPLEMENTED TASKS!

This commit is contained in:
2025-04-30 18:27:18 +02:00
parent f4b10746d6
commit a48fa362d0
10 changed files with 404 additions and 43 deletions
+2
View File
@@ -4,6 +4,7 @@
#include <paging.h>
#include <serial.h>
#include <timer.h>
#include <task.h>
#include <gdt.h>
#include <isr.h>
#include <pmm.h>
@@ -31,6 +32,7 @@ void kmain(void* ptr, uint32_t magic) {
tty_puts("kern.\n\n");
if (timer_init() != 0) panic("Failed to initialize timer.");
if (task_init() != 0) panic("Failed to initialize tasking.");
// TODO: Scheduler
// TODO: Syscalls