more work on linker , closer to load to memory

This commit is contained in:
georgemoralis 2023-05-23 19:39:24 +03:00
parent b27942c46b
commit 5d0a5af495
4 changed files with 48 additions and 28 deletions

View file

@ -2,9 +2,6 @@
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);
}