mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 17:14:28 -04:00
kern: KAddressSpaceInfo now takes CreateProcessFlags in getters
This commit is contained in:
parent
a0ad3ef949
commit
70bf833070
5 changed files with 52 additions and 31 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue