kern: implement and comment missing 23.0.0 changes
This commit is contained in:
1 parent
21f16ff938
commit
2d0fc65fd8
13 files changed
+68
-20
No files matched your search
@@ -28,6 +28,8 @@ namespace ams::kern {
|
||||
} else {
|
||||
/* Allocate dynamic mappings as necessary. */
|
||||
if (m_dynamic_mappings == nullptr) {
|
||||
/* 23.0.0+ now checks for IsDynamicResourceLimitsEnabled before allocating from slab heap. */
|
||||
R_UNLESS(KTargetSystem::IsDynamicResourceLimitsEnabled(), svc::ResultOutOfMemory());
|
||||
m_dynamic_mappings = DynamicMappings::Allocate();
|
||||
R_UNLESS(m_dynamic_mappings != nullptr, svc::ResultOutOfMemory());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user