diff options
author | bunnei <bunneidev@gmail.com> | 2017-12-29 19:27:58 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-12-29 19:27:58 +0100 |
commit | ebd4b1422d55c9affc38e8133e897e39684e9ccb (patch) | |
tree | 53513cb3d4e28493173a3f708764a4924654ba91 /src/core/hle/kernel/process.h | |
parent | applet_oe: Stub out a bunch of interfaces necessary for boot. (diff) | |
download | yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar.gz yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar.bz2 yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar.lz yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar.xz yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.tar.zst yuzu-ebd4b1422d55c9affc38e8133e897e39684e9ccb.zip |
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r-- | src/core/hle/kernel/process.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 3b646c076..6774168e5 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -19,7 +19,7 @@ namespace Kernel { struct AddressMapping { // Address and size must be page-aligned VAddr address; - u32 size; + u64 size; bool read_only; bool unk_flag; }; @@ -154,7 +154,7 @@ public: // The left/right bounds of the address space covered by heap_memory. VAddr heap_start = 0, heap_end = 0; - u32 heap_used = 0, linear_heap_used = 0, misc_memory_used = 0; + u64 heap_used = 0, linear_heap_used = 0, misc_memory_used = 0; MemoryRegionInfo* memory_region = nullptr; @@ -171,7 +171,7 @@ public: VAddr GetLinearHeapBase() const; VAddr GetLinearHeapLimit() const; - ResultVal<VAddr> HeapAllocate(VAddr target, u32 size, VMAPermission perms); + ResultVal<VAddr> HeapAllocate(VAddr target, u64 size, VMAPermission perms); ResultCode HeapFree(VAddr target, u32 size); ResultVal<VAddr> LinearAllocate(VAddr target, u32 size, VMAPermission perms); |