hle: kernel: k_memory_manager: Clear pages on allocation & free.
- Heap pages should be zero'd. - Also explicitly passed along heap allocation option.
This commit is contained in:
parent
4064e03568
commit
b54cbc985e
5 changed files with 34 additions and 16 deletions
|
@ -629,7 +629,7 @@ struct KernelCore::Impl {
|
|||
const auto application_pool = memory_layout.GetKernelApplicationPoolRegionPhysicalExtents();
|
||||
|
||||
// Initialize memory managers
|
||||
memory_manager = std::make_unique<KMemoryManager>();
|
||||
memory_manager = std::make_unique<KMemoryManager>(system);
|
||||
memory_manager->InitializeManager(KMemoryManager::Pool::Application,
|
||||
application_pool.GetAddress(),
|
||||
application_pool.GetEndAddress());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue