mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-10 01:58:49 +00:00
kern: enforce end of dram == end of partitions (move our probably outdated KTraceBuffer to new location)
This commit is contained in:
parent
8cb3cfd835
commit
24739f245e
6 changed files with 29 additions and 31 deletions
|
@ -41,7 +41,7 @@ namespace ams::kern {
|
|||
|
||||
void KSystemControlBase::Init::GetInitialProcessBinaryLayout(InitialProcessBinaryLayout *out) {
|
||||
*out = {
|
||||
.address = GetInteger(KSystemControl::Init::GetKernelPhysicalBaseAddress(ams::kern::MainMemoryAddress)) + KSystemControl::Init::GetIntendedMemorySize() - KTraceBufferSize - InitialProcessBinarySizeMax,
|
||||
.address = GetInteger(KSystemControl::Init::GetKernelPhysicalBaseAddress(ams::kern::MainMemoryAddress)) + KSystemControl::Init::GetIntendedMemorySize() - InitialProcessBinarySizeMax,
|
||||
._08 = 0,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue