summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2022-03-11 17:17:41 -0800
committerGravatar bunnei2022-03-14 18:14:54 -0700
commit51589c5e2128b2d338dceac11b7252432d4955c2 (patch)
tree68f884db2539561933dbd4c2db623ffef6386f25 /src/core/hle/kernel/kernel.h
parentcore: hle: kernel: k_process: Remove handle table finalize, reset page table. (diff)
downloadyuzu-51589c5e2128b2d338dceac11b7252432d4955c2.tar.gz
yuzu-51589c5e2128b2d338dceac11b7252432d4955c2.tar.xz
yuzu-51589c5e2128b2d338dceac11b7252432d4955c2.zip
core: hle: kernel: Remove server session tracking.
- These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index d4306d5ef..7087bbda6 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -196,14 +196,6 @@ public:
196 /// Opens a port to a service previously registered with RegisterNamedService. 196 /// Opens a port to a service previously registered with RegisterNamedService.
197 KClientPort* CreateNamedServicePort(std::string name); 197 KClientPort* CreateNamedServicePort(std::string name);
198 198
199 /// Registers a server session with the gobal emulation state, to be freed on shutdown. This is
200 /// necessary because we do not emulate processes for HLE sessions.
201 void RegisterServerSession(KServerSession* server_session);
202
203 /// Unregisters a server session previously registered with RegisterServerSession when it was
204 /// destroyed during the current emulation session.
205 void UnregisterServerSession(KServerSession* server_session);
206
207 /// Registers all kernel objects with the global emulation state, this is purely for tracking 199 /// Registers all kernel objects with the global emulation state, this is purely for tracking
208 /// leaks after emulation has been shutdown. 200 /// leaks after emulation has been shutdown.
209 void RegisterKernelObject(KAutoObject* object); 201 void RegisterKernelObject(KAutoObject* object);