summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2017-10-01 21:44:06 +0200
committerGitHub <noreply@github.com>2017-10-01 21:44:06 +0200
commit30fabc41c60b08af20b6eaf719d012b7480d7123 (patch)
tree3b1828171d76559199dd4871b721795b67d7747e /src/core/hle/kernel/thread.h
parentMerge pull request #2974 from Subv/nim_event (diff)
parentMemory: Make WriteBlock take a Process parameter on which to operate (diff)
downloadyuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar.gz
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar.bz2
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar.lz
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar.xz
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.tar.zst
yuzu-30fabc41c60b08af20b6eaf719d012b7480d7123.zip
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 4679c2022..314fba81f 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