1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00

Initialize memory allocator

This commit is contained in:
Braiden Vasco 2017-11-05 07:13:54 +00:00
parent cf1a4931d3
commit d45671ccda

View file

@ -1,5 +1,6 @@
#include "console.h"
#include "logger.h"
#include "memory.h"
#include "protected.h"
#include "paging.h"
#include "timer.h"
@ -54,6 +55,8 @@ void main(const struct KernelMQ_Info *const kinfo_ptr)
);
}
memory_initialize(&kinfo);
protected_initialize();
// Set up a new post-relocate bootstrap pagetable so that