summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 0847cbcbf..6eded9539 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -37,6 +37,7 @@ class KClientSession;
37class KEvent; 37class KEvent;
38class KHandleTable; 38class KHandleTable;
39class KLinkedListNode; 39class KLinkedListNode;
40class KMemoryBlockSlabManager;
40class KMemoryLayout; 41class KMemoryLayout;
41class KMemoryManager; 42class KMemoryManager;
42class KPageBuffer; 43class KPageBuffer;
@@ -130,6 +131,9 @@ public:
130 /// Retrieves a const pointer to the current process. 131 /// Retrieves a const pointer to the current process.
131 const KProcess* CurrentProcess() const; 132 const KProcess* CurrentProcess() const;
132 133
134 /// Closes the current process.
135 void CloseCurrentProcess();
136
133 /// Retrieves the list of processes. 137 /// Retrieves the list of processes.
134 const std::vector<KProcess*>& GetProcessList() const; 138 const std::vector<KProcess*>& GetProcessList() const;
135 139
@@ -238,6 +242,12 @@ public:
238 /// Gets the virtual memory manager for the kernel. 242 /// Gets the virtual memory manager for the kernel.
239 const KMemoryManager& MemoryManager() const; 243 const KMemoryManager& MemoryManager() const;
240 244
245 /// Gets the application memory block manager for the kernel.
246 KMemoryBlockSlabManager& GetApplicationMemoryBlockManager();
247
248 /// Gets the application memory block manager for the kernel.
249 const KMemoryBlockSlabManager& GetApplicationMemoryBlockManager() const;
250
241 /// Gets the shared memory object for HID services. 251 /// Gets the shared memory object for HID services.
242 Kernel::KSharedMemory& GetHidSharedMem(); 252 Kernel::KSharedMemory& GetHidSharedMem();
243 253