kern: revamp KMemoryRegionType to better encode derivation hierarchies
This commit is contained in:
1 parent
d50c7c5c79
commit
1983f86875
17 files changed
+746
-426
No files matched your search
@@ -51,8 +51,8 @@ namespace ams::kern {
|
||||
|
||||
/* Initialize the memory manager and the KPageBuffer slabheap. */
|
||||
{
|
||||
const auto &metadata_region = KMemoryLayout::GetMetadataPoolRegion();
|
||||
Kernel::GetMemoryManager().Initialize(metadata_region.GetAddress(), metadata_region.GetSize());
|
||||
const auto &management_region = KMemoryLayout::GetPoolManagementRegion();
|
||||
Kernel::GetMemoryManager().Initialize(management_region.GetAddress(), management_region.GetSize());
|
||||
init::InitializeKPageBufferSlabHeap();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user