mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 01:45:47 +00:00
memory_manager: Cleanup FindFreeRegion.
This commit is contained in:
parent
c04b7bd60c
commit
51cdb0df88
2 changed files with 6 additions and 12 deletions
|
@ -126,8 +126,8 @@ private:
|
|||
/// Updates the pages corresponding to this VMA so they match the VMA's attributes.
|
||||
void UpdatePageTableForVMA(const VirtualMemoryArea& vma);
|
||||
|
||||
GPUVAddr FindFreeRegion(GPUVAddr region_start, u64 size, u64 align,
|
||||
VirtualMemoryArea::Type vma_type);
|
||||
/// Finds a free (unmapped region) of the specified size starting at the specified address.
|
||||
GPUVAddr FindFreeRegion(GPUVAddr region_start, u64 size);
|
||||
|
||||
private:
|
||||
static constexpr u64 page_bits{16};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue