mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 21:47:47 +00:00
kernel: offset code entry point for 39-bit address space type (#11326)
This commit is contained in:
parent
22e7d8d36d
commit
aa16fd2422
7 changed files with 33 additions and 11 deletions
|
@ -96,7 +96,7 @@ AppLoader::LoadResult AppLoader_KIP::Load(Kernel::KProcess& process,
|
|||
}
|
||||
|
||||
codeset.memory = std::move(program_image);
|
||||
const VAddr base_address = GetInteger(process.GetPageTable().GetCodeRegionStart());
|
||||
const VAddr base_address = GetInteger(process.GetEntryPoint());
|
||||
process.LoadModule(std::move(codeset), base_address);
|
||||
|
||||
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", kip->GetName(), base_address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue