kernel: offset code entry point for 39-bit address space type (#11326)
This commit is contained in:
parent
92e6ff30a1
commit
18ad55be0b
7 changed files with 33 additions and 11 deletions
|
@ -203,7 +203,7 @@ static bool LoadNroImpl(Kernel::KProcess& process, const std::vector<u8>& data)
|
|||
|
||||
// Load codeset for current process
|
||||
codeset.memory = std::move(program_image);
|
||||
process.LoadModule(std::move(codeset), process.GetPageTable().GetCodeRegionStart());
|
||||
process.LoadModule(std::move(codeset), process.GetEntryPoint());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue