aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/memory.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2016-04-19 17:12:48 -0500
committerSubv <subv2112@gmail.com>2016-05-07 10:18:47 -0500
commitd9baef11f2ac8d61812b31fa0e70aa04faf3f068 (patch)
tree08151ce1c1cb6f7c91a544e6126d493d71f9f6b8 /src/core/hle/kernel/memory.cpp
parent9b90317cedd85c915d926391542274f5192562cb (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.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp
index 8626434480..61a741e28a 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
};
}