ldr_ro: Add error check for memory allocation failure
This commit is contained in:
parent
c0a9abc3e1
commit
51af996854
4 changed files with 27 additions and 13 deletions
|
@ -189,7 +189,8 @@ public:
|
|||
ResultVal<VAddr> HeapAllocate(VAddr target, u64 size, VMAPermission perms);
|
||||
ResultCode HeapFree(VAddr target, u64 size);
|
||||
|
||||
ResultCode MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size);
|
||||
ResultCode MirrorMemory(VAddr dst_addr, VAddr src_addr, u64 size,
|
||||
MemoryState state = MemoryState::Mapped);
|
||||
|
||||
/**
|
||||
* Scans all VMAs and updates the page table range of any that use the given vector as backing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue