mirror of
https://github.com/tailix/kernel.git
synced 2024-11-20 11:16:10 -05:00
Initialize memory allocator
This commit is contained in:
parent
cf1a4931d3
commit
d45671ccda
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
|
#include "memory.h"
|
||||||
#include "protected.h"
|
#include "protected.h"
|
||||||
#include "paging.h"
|
#include "paging.h"
|
||||||
#include "timer.h"
|
#include "timer.h"
|
||||||
|
@ -54,6 +55,8 @@ void main(const struct KernelMQ_Info *const kinfo_ptr)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memory_initialize(&kinfo);
|
||||||
|
|
||||||
protected_initialize();
|
protected_initialize();
|
||||||
|
|
||||||
// Set up a new post-relocate bootstrap pagetable so that
|
// Set up a new post-relocate bootstrap pagetable so that
|
||||||
|
|
Loading…
Reference in a new issue