diff options
| author | Sebastian Valle <subv2112@gmail.com> | 2017-10-01 14:44:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-01 14:44:06 -0500 |
| commit | cbf57de4e5620cd2f579bee08aa2c54e757150ee (patch) | |
| tree | 3b1828171d76559199dd4871b721795b67d7747e /src/core/hle/kernel/thread.h | |
| parent | fd974cb5027db7bf1186b1778b6af8ed23c1eaef (diff) | |
| parent | 1265575db59f1f3389cc447cd771d560c48374f4 (diff) | |
Merge pull request #2971 from Subv/per_process_memops
Memory: Add overloads for ReadBlock and WriteBlock that operate on a specific process.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 4679c2022e..314fba81f4 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -164,6 +164,12 @@ public: return tls_address; } + /* + * Returns the address of the current thread's command buffer, located in the TLS. + * @returns VAddr of the thread's command buffer. + */ + VAddr GetCommandBufferAddress() const; + /** * Returns whether this thread is waiting for all the objects in * its wait list to become ready, as a result of a WaitSynchronizationN call |
