diff options
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 492d8ea4f..afde9567e 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -135,6 +135,11 @@ public: | |||
| 135 | return mutex; | 135 | return mutex; |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | /// Gets the address to the process' dedicated TLS region. | ||
| 139 | VAddr GetTLSRegionAddress() const { | ||
| 140 | return tls_region_address; | ||
| 141 | } | ||
| 142 | |||
| 138 | /// Gets the current status of the process | 143 | /// Gets the current status of the process |
| 139 | ProcessStatus GetStatus() const { | 144 | ProcessStatus GetStatus() const { |
| 140 | return status; | 145 | return status; |
| @@ -341,6 +346,9 @@ private: | |||
| 341 | /// variable related facilities. | 346 | /// variable related facilities. |
| 342 | Mutex mutex; | 347 | Mutex mutex; |
| 343 | 348 | ||
| 349 | /// Address indicating the location of the process' dedicated TLS region. | ||
| 350 | VAddr tls_region_address = 0; | ||
| 351 | |||
| 344 | /// Random values for svcGetInfo RandomEntropy | 352 | /// Random values for svcGetInfo RandomEntropy |
| 345 | std::array<u64, RANDOM_ENTROPY_SIZE> random_entropy{}; | 353 | std::array<u64, RANDOM_ENTROPY_SIZE> random_entropy{}; |
| 346 | 354 | ||