mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-15 15:44:23 -04:00
kern: update KAddressSpaceInfo to reflect 20.0.0 changes
This commit is contained in:
parent
66fcf33a2c
commit
3e19e4d004
6 changed files with 40 additions and 16 deletions
|
@ -221,7 +221,7 @@ namespace ams::kern {
|
|||
}
|
||||
|
||||
/* Set max memory. */
|
||||
m_max_process_memory = m_page_table.GetHeapRegionSize();
|
||||
m_max_process_memory = KAddressSpaceInfo::GetAddressSpaceSize(static_cast<ams::svc::CreateProcessFlag>(m_flags), KAddressSpaceInfo::Type_Heap);
|
||||
|
||||
/* Generate random entropy. */
|
||||
KSystemControl::GenerateRandom(m_entropy, util::size(m_entropy));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue