kernel: Implement code address offset for Skyline compatibility #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "kernel/skyline-32bit-code-offset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add support for the Skyline 32-bit modding framework by implementing
a code address offset and improving memory state verification.
Changes:
address space types (Is32Bit and Is32BitNoMap) in KProcess::LoadFromMetadata
SetProcessMemoryPermission, MapProcessCodeMemory, and
UnmapProcessCodeMemory wrapper functions
KPageTableBase::UnmapCodeMemory for more flexible memory state
verification
This implementation enables compatibility with:
Based on similar fixes in Ryujinx (commit 5e9678c8fe) and Eden emulator.
Co-authored-by: JPikachu jpikachu.eden@gmail.com
Co-authored-by: JPikachu jpikachu@eden-emu.dev
Signed-off-by: Zephyron zephyron@citron-emu.org