diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-16 11:07:43 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-17 02:02:50 +0200 |
commit | b6a87b422e7a62b578220e4b7e5ef659533c4aae (patch) | |
tree | 72ffcf4303003840112938961a236f6e277fb101 /src/core/hle/kernel/vm_manager.h | |
parent | Merge pull request #2382 from lioncash/table (diff) | |
download | yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar.gz yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar.bz2 yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar.lz yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar.xz yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.tar.zst yuzu-b6a87b422e7a62b578220e4b7e5ef659533c4aae.zip |
Diffstat (limited to 'src/core/hle/kernel/vm_manager.h')
-rw-r--r-- | src/core/hle/kernel/vm_manager.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h index 288eb9450..ec84d9a70 100644 --- a/src/core/hle/kernel/vm_manager.h +++ b/src/core/hle/kernel/vm_manager.h @@ -14,6 +14,10 @@ #include "core/hle/result.h" #include "core/memory.h" +namespace Core { +class System; +} + namespace FileSys { enum class ProgramAddressSpaceType : u8; } @@ -321,7 +325,7 @@ class VMManager final { public: using VMAHandle = VMAMap::const_iterator; - VMManager(); + explicit VMManager(Core::System& system); ~VMManager(); /// Clears the address space map, re-initializing with a single free area. @@ -712,5 +716,7 @@ private: // The end of the currently allocated heap. This is not an inclusive // end of the range. This is essentially 'base_address + current_size'. VAddr heap_end = 0; + + Core::System& system; }; } // namespace Kernel |