add basic paging functionality
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user