Dump the memory map from limine.

Also adds the ability to print formatted messages.
This commit is contained in:
Drew Galbraith 2023-05-18 01:16:53 -07:00
parent 9fc1aa15ef
commit b3f8cb9003
7 changed files with 644 additions and 15 deletions

10
zion/boot/boot_info.h Normal file
View file

@ -0,0 +1,10 @@
#pragma once
#include "boot/limine.h"
namespace boot {
const limine_memmap_response& GetMemoryMap();
uint64_t GetHigherHalfDirectMap();
} // namespace boot