add basic paging functionality

This commit is contained in:
2025-03-23 13:39:29 +03:00
parent 1ce599cee1
commit 2f2c824c98
5 changed files with 108 additions and 1 deletions
+3
View File
@@ -6,6 +6,7 @@
#include "../include/string.h"
#include "../include/pic.h"
#include "../include/pit.h"
#include "../include/paging.h"
#include <stdint.h>
@@ -25,6 +26,8 @@ void kmain()
pit_init(100);
apply_pic_masks();
paging_init();
__asm__ __volatile__ ("sti");
printf("Kernel init sequence completed\n");