Rearrange memory manager into two classes.

page_manager and memory_manager are now separate, and are also pre
allocated in the kernel so they don't have to allocate themselves.
This commit is contained in:
Justin C. Miller
2018-04-21 17:34:33 -07:00
parent 4a38a74b16
commit 57abb03deb
6 changed files with 68 additions and 30 deletions

View File

@@ -42,7 +42,7 @@ kernel_main(popcorn_data *header)
{
console cons = load_console(header);
memory_manager::create(
memory_initialize_managers(
header->memory_map,
header->memory_map_length,
header->memory_map_desc_size);