kernel: Various 64-bit fixes in memory/process/thread
This commit is contained in:
parent
1d01ffccb8
commit
ebd4b1422d
5 changed files with 14 additions and 14 deletions
|
@ -167,7 +167,7 @@ VAddr Process::GetLinearHeapLimit() const {
|
|||
return GetLinearHeapBase() + memory_region->size;
|
||||
}
|
||||
|
||||
ResultVal<VAddr> Process::HeapAllocate(VAddr target, u32 size, VMAPermission perms) {
|
||||
ResultVal<VAddr> Process::HeapAllocate(VAddr target, u64 size, VMAPermission perms) {
|
||||
if (target < Memory::HEAP_VADDR || target + size > Memory::HEAP_VADDR_END ||
|
||||
target + size < target) {
|
||||
return ERR_INVALID_ADDRESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue