diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-09 19:03:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-09 19:03:50 -0500 |
| commit | 988e557ec81a9f4b883e9089fedd6079f76e07e9 (patch) | |
| tree | 2c223ebd34794fc8954d09a7f96fee132d749407 /src/core/hle/kernel/k_thread.h | |
| parent | 6d2af32f2930cd3c4a1d1163153b3434ef770379 (diff) | |
| parent | 9268f265a1207f0cddb97a908a1cc349f9b6410b (diff) | |
Merge pull request #12299 from liamwhite/light-ipc
kernel: implement light IPC
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index 390db2409..e9925d231 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -385,6 +385,13 @@ public: m_cancellable = false; } + u32* GetLightSessionData() const { + return m_light_ipc_data; + } + void SetLightSessionData(u32* data) { + m_light_ipc_data = data; + } + bool IsTerminationRequested() const { return m_termination_requested || GetRawState() == ThreadState::Terminated; } |
