diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-13 18:52:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-13 18:52:18 -0800 |
| commit | 70f189d7af3eea0123963f781e6a579c8f4725bd (patch) | |
| tree | 82e03c9e4df7286c1944f40d4abe2f3a0d876426 /src/core/hle/kernel/process.h | |
| parent | a80467db572a979bf202f32f5f2e6e8068b328b2 (diff) | |
| parent | 004277477aed5748fe1f601ddb242584a02b57d0 (diff) | |
Merge pull request #1680 from lioncash/mem
kernel/process: Migrate heap-related memory management out of the process class and into the vm manager
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 8d2616c79..f79f6d7a5 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h @@ -292,17 +292,6 @@ private: u32 allowed_thread_priority_mask = 0xFFFFFFFF; u32 is_virtual_address_memory_enabled = 0; - // Memory used to back the allocations in the regular heap. A single vector is used to cover - // the entire virtual address space extents that bound the allocations, including any holes. - // This makes deallocation and reallocation of holes fast and keeps process memory contiguous - // in the emulator address space, allowing Memory::GetPointer to be reasonably safe. - std::shared_ptr<std::vector<u8>> heap_memory; - - // The left/right bounds of the address space covered by heap_memory. - VAddr heap_start = 0; - VAddr heap_end = 0; - u64 heap_used = 0; - /// The Thread Local Storage area is allocated as processes create threads, /// each TLS area is 0x200 bytes, so one page (0x1000) is split up in 8 parts, and each part /// holds the TLS for a specific thread. This vector contains which parts are in use for each |
