kern: KAddressSpaceInfo now takes CreateProcessFlags in getters

This commit is contained in:
Michael Scire
2024-10-09 12:03:21 -07:00
parent 456b88ed9a
commit 93d4656d0b
5 changed files with 52 additions and 31 deletions

View File

@@ -141,10 +141,10 @@ namespace ams::kern {
/* Define helpers. */
auto GetSpaceStart = [&](KAddressSpaceInfo::Type type) ALWAYS_INLINE_LAMBDA {
return KAddressSpaceInfo::GetAddressSpaceStart(m_address_space_width, type);
return KAddressSpaceInfo::GetAddressSpaceStart(flags, type);
};
auto GetSpaceSize = [&](KAddressSpaceInfo::Type type) ALWAYS_INLINE_LAMBDA {
return KAddressSpaceInfo::GetAddressSpaceSize(m_address_space_width, type);
return KAddressSpaceInfo::GetAddressSpaceSize(flags, type);
};
/* Default to zero alias region extra size. */