summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar Fernando S2022-06-16 02:41:12 +0200
committerGravatar GitHub2022-06-16 02:41:12 +0200
commitf86b770ff75efff029fa82b959b3f33eca1750fe (patch)
tree8c1aa046c96d7f943288ecb3455f4091cdc31a09 /src/core/hle/kernel/kernel.h
parentMerge pull request #8460 from Morph1984/bounded-q (diff)
parentkernel: implement KProcess suspension (diff)
downloadyuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.gz
yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.xz
yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.zip
Merge pull request #8457 from liamwhite/kprocess-suspend
kernel: implement KProcess suspension
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 926e14c6f..4e7beab0e 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -184,6 +184,8 @@ public:
184 184
185 const std::array<Core::CPUInterruptHandler, Core::Hardware::NUM_CPU_CORES>& Interrupts() const; 185 const std::array<Core::CPUInterruptHandler, Core::Hardware::NUM_CPU_CORES>& Interrupts() const;
186 186
187 void InterruptAllPhysicalCores();
188
187 void InvalidateAllInstructionCaches(); 189 void InvalidateAllInstructionCaches();
188 190
189 void InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size); 191 void InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size);
@@ -269,12 +271,15 @@ public:
269 /// Gets the shared memory object for HIDBus services. 271 /// Gets the shared memory object for HIDBus services.
270 const Kernel::KSharedMemory& GetHidBusSharedMem() const; 272 const Kernel::KSharedMemory& GetHidBusSharedMem() const;
271 273
272 /// Suspend/unsuspend the OS. 274 /// Suspend/unsuspend all processes.
273 void Suspend(bool in_suspention); 275 void Suspend(bool suspend);
274 276
275 /// Exceptional exit the OS. 277 /// Exceptional exit all processes.
276 void ExceptionalExit(); 278 void ExceptionalExit();
277 279
280 /// Notify emulated CPU cores to shut down.
281 void ShutdownCores();
282
278 bool IsMulticore() const; 283 bool IsMulticore() const;
279 284
280 bool IsShuttingDown() const; 285 bool IsShuttingDown() const;