Added <errno.h> and made kernel use it

This commit is contained in:
2026-03-25 18:17:42 +01:00
parent 7a57999d05
commit 2f05396651
15 changed files with 189 additions and 135 deletions
+2 -5
View File
@@ -1,7 +1,6 @@
#include "paging.h"
#include "pmm.h"
#include <kernel.h>
#include <string.h>
#include <errno.h>
#include <gdt.h>
static struct gdt_entries gdt;
@@ -105,8 +104,6 @@ int gdt_init(void) {
memset(&tss, 0, sizeof(tss));
tss_load(&tss);
debugf("[gdt] GDT loaded.\n");
return 0;
return SUCCESS;
}