mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-22 03:15:01 +00:00
draft work on memory allocation
This commit is contained in:
parent
81ca77a464
commit
5f0b15e2fa
3 changed files with 62 additions and 1 deletions
11
src/Core/Memory.h
Normal file
11
src/Core/Memory.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
namespace Memory
|
||||
{
|
||||
static u64 get_aligned_size(const elf_program_header* phdr);
|
||||
static u64 calculate_base_size(const elf_header* ehdr, const elf_program_header* phdr);
|
||||
|
||||
namespace VirtualMemory {
|
||||
u64 memory_alloc(u64 address, u64 size);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue