summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 6d2ca96a2..532ce3020 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -140,8 +140,11 @@ public:
140 140
141 MemoryRegionInfo* memory_region = nullptr; 141 MemoryRegionInfo* memory_region = nullptr;
142 142
143 /// Bitmask of the used TLS slots 143 /// The Thread Local Storage area is allocated as processes create threads,
144 std::bitset<300> used_tls_slots; 144 /// each TLS area is 0x200 bytes, so one page (0x1000) is split up in 8 parts, and each part
145 /// holds the TLS for a specific thread. This vector contains which parts are in use for each page as a bitmask.
146 /// This vector will grow as more pages are allocated for new threads.
147 std::vector<std::bitset<8>> tls_slots;
145 148
146 VAddr GetLinearHeapAreaAddress() const; 149 VAddr GetLinearHeapAreaAddress() const;
147 VAddr GetLinearHeapBase() const; 150 VAddr GetLinearHeapBase() const;