kern: implement more of KMemoryManager through KPageBuffer slab init
This commit is contained in:
1 parent
f7d3d50f33
commit
d9e6771e63
8 files changed
+418
-13
No files matched your search
@@ -38,10 +38,11 @@ namespace ams::kern {
|
||||
/* Initialize KSystemControl. */
|
||||
KSystemControl::Initialize();
|
||||
|
||||
/* Initialize the memory manager. */
|
||||
/* Initialize the memory manager and the KPageBuffer slabheap. */
|
||||
{
|
||||
const auto &metadata_region = KMemoryLayout::GetMetadataPoolRegion();
|
||||
Kernel::GetMemoryManager().Initialize(metadata_region.GetAddress(), metadata_region.GetSize());
|
||||
init::InitializeKPageBufferSlabHeap();
|
||||
}
|
||||
|
||||
/* Note: this is not actually done here, it's done later in main after more stuff is setup. */
|
||||
|
||||
Reference in new issue
Block a user