aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_thread.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-06 19:54:52 -0500
committerLiam <byteslice@airmail.cc>2023-12-07 09:13:43 -0500
commitf486fe39713802ab0f69d03c1dbe29cd71e85d2c (patch)
tree5da6aea714523b3504b78362c5d8abd53689d72f /src/core/hle/kernel/k_thread.h
parent9046851d9ffe831d1429b2a280e37294da64d07a (diff)
kernel: implement light IPC
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r--src/core/hle/kernel/k_thread.h7
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 390db24097..e9925d231d 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;
}