mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-25 20:06:17 +00:00
Rebase of "Handle munmap over multiple VMAs" (#2233)
* Unmap memory in chunks if spanning over multiple VMAs * clang * Merge fixups * Minor code style changes * Update function declarations --------- Co-authored-by: Marcin Mikołajczyk <marcinmikolajcz@gmail.com>
This commit is contained in:
parent
4d12de8149
commit
4f426b723f
2 changed files with 35 additions and 18 deletions
|
@ -252,7 +252,9 @@ private:
|
|||
|
||||
DMemHandle Split(DMemHandle dmem_handle, size_t offset_in_area);
|
||||
|
||||
s32 UnmapMemoryImpl(VAddr virtual_addr, size_t size);
|
||||
u64 UnmapBytesFromEntry(VAddr virtual_addr, VirtualMemoryArea vma_base, u64 size);
|
||||
|
||||
s32 UnmapMemoryImpl(VAddr virtual_addr, u64 size);
|
||||
|
||||
private:
|
||||
AddressSpace impl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue