[core] Finalize AliasRegionExtraSize #291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "finalize-aliasRegionExtraSize"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The previous implementation was based on assumptions for the baseline.
The new implementation is based on calculations, and should be more robust for DRAM values beyond 8GB as well.
@ -293,0 +296,4 @@
const bool is_64bit_as = (as_type & as_mask) == Svc::CreateProcessFlag::AddressSpace64Bit;
if (is_64bit_as && (as_type & Svc::CreateProcessFlag::EnableAliasRegionExtraSize)
!= static_cast<Svc::CreateProcessFlag>(0) && alias_region_size) {
I'd say use
Svc::CreateProcessFlag
to invoke the implicit ctor instead of doing a static castDone.
New commits pushed, approval review dismissed automatically according to repository settings
97ba9aa152
toe8fb980751