diff options
| author | Subv <subv2112@gmail.com> | 2016-04-19 17:12:48 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-05-07 10:18:47 -0500 |
| commit | d192fb066d0d03c217c434f99af0200f75936263 (patch) | |
| tree | 08151ce1c1cb6f7c91a544e6126d493d71f9f6b8 /src/core/hle/kernel/memory.cpp | |
| parent | 3e7e8daf5967d30cbef6ed8a3a2459c7caaf8e31 (diff) | |
Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.
This is consistent with what the real kernel does.
Diffstat (limited to 'src/core/hle/kernel/memory.cpp')
| -rw-r--r-- | src/core/hle/kernel/memory.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp index 862643448..61a741e28 100644 --- a/src/core/hle/kernel/memory.cpp +++ b/src/core/hle/kernel/memory.cpp @@ -109,7 +109,6 @@ struct MemoryArea { static MemoryArea memory_areas[] = { {SHARED_MEMORY_VADDR, SHARED_MEMORY_SIZE, "Shared Memory"}, // Shared memory {VRAM_VADDR, VRAM_SIZE, "VRAM"}, // Video memory (VRAM) - {TLS_AREA_VADDR, TLS_AREA_SIZE, "TLS Area"}, // TLS memory }; } |
