mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 10:25:08 -04:00
kern: pass kernel base from KernelLdr to Kernel
This commit is contained in:
parent
cf5895e04f
commit
7562f807fd
5 changed files with 8 additions and 6 deletions
|
@ -195,7 +195,7 @@ namespace ams::kern::init::loader {
|
|||
/* Setup the INI1 header in memory for the kernel. */
|
||||
{
|
||||
/* Get the kernel layout. */
|
||||
KSystemControl::Init::GetInitialProcessBinaryLayout(std::addressof(g_initial_process_binary_meta.layout));
|
||||
KSystemControl::Init::GetInitialProcessBinaryLayout(std::addressof(g_initial_process_binary_meta.layout), base_address);
|
||||
|
||||
/* If there's no desired base address, use the ini in place. */
|
||||
if (g_initial_process_binary_meta.layout.address == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue