mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 07:39:49 -04:00
kern: implement more of KMemoryManager through KPageBuffer slab init
This commit is contained in:
parent
f7d3d50f33
commit
d9e6771e63
8 changed files with 418 additions and 13 deletions
libraries/libmesosphere/source
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue