Get the second process elf from a MemoryObject instead of hardcoding.
Allows us to delete the CopyIntoNonResidentProcess function and simply rely on the MemoryObject copy functions.
This commit is contained in:
parent
eb454300e6
commit
e246f28d9c
7 changed files with 24 additions and 45 deletions
|
|
@ -8,8 +8,5 @@ void InitializePml4(uint64_t pml4_physical_addr);
|
|||
|
||||
void MapPage(uint64_t cr3, uint64_t vaddr, uint64_t paddr);
|
||||
|
||||
uint64_t AllocatePageIfNecessary(uint64_t addr, uint64_t cr3 = 0);
|
||||
uint64_t AllocatePageIfNecessary(uint64_t addr);
|
||||
void EnsureResident(uint64_t addr, uint64_t size);
|
||||
|
||||
void CopyIntoNonResidentProcess(uint64_t base, uint64_t size,
|
||||
Process& dest_proc, uint64_t dest_virt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue