diff options
| author | Liam <byteslice@airmail.cc> | 2023-12-06 19:54:52 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-12-07 09:13:43 -0500 |
| commit | 9268f265a1207f0cddb97a908a1cc349f9b6410b (patch) | |
| tree | 5da6aea714523b3504b78362c5d8abd53689d72f /src/core/hle/kernel/k_thread.h | |
| parent | 8a79dd2d6c6445bff63ea1f2f5f1611a6afcd97a (diff) | |
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; } |
