kern: move SecureAppletMemory/KPageBuffer heap into the ResourceRegion
This commit is contained in:
1 parent
ea82889e6c
commit
5a918f3bc9
21 files changed
+282
-100
No files matched your search
@@ -127,7 +127,7 @@ namespace ams::kern {
|
||||
}
|
||||
|
||||
size_t KMemoryLayout::GetResourceRegionSizeForInit(bool use_extra_resource) {
|
||||
return KernelResourceSize + (use_extra_resource ? KernelSlabHeapAdditionalSize : 0);
|
||||
return KernelResourceSize + KSystemControl::SecureAppletMemorySize + (use_extra_resource ? KernelSlabHeapAdditionalSize + KernelPageBufferAdditionalSize : 0);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user