Memory heap and allocator
This commit is contained in:
2
kernel.c
2
kernel.c
@@ -3,6 +3,7 @@
|
||||
#include "boot_info.h"
|
||||
#include "commands.h"
|
||||
#include "idt.h"
|
||||
#include "memory.h"
|
||||
|
||||
#define SAFE_PRINT(Boot, ...) \
|
||||
do { \
|
||||
@@ -36,6 +37,7 @@ void kmain(BootInfo *Boot)
|
||||
}
|
||||
|
||||
idt_init(Boot);
|
||||
memory_init(Boot);
|
||||
|
||||
SAFE_PRINT(Boot, L"================================================\n\r");
|
||||
SAFE_PRINT(Boot, L" Welcome to Simple UEFI Operating System!\n\r");
|
||||
|
||||
Reference in New Issue
Block a user