Rearrange memory bootstrapping code.

Move EFI-related code and initial memory manager bootstrap code
to memory_bootstrap.cpp, move memory page structs to their own
memory_page.h/cpp files.
This commit is contained in:
Justin C. Miller
2018-04-21 02:50:13 -07:00
parent 799ad8b264
commit da404f520d
6 changed files with 430 additions and 180 deletions

View File

@@ -41,6 +41,7 @@ void
kernel_main(popcorn_data *header)
{
console cons = load_console(header);
memory_manager::create(
header->memory_map,
header->memory_map_length,