diff options
| author | 2022-10-19 16:27:43 -0400 | |
|---|---|---|
| committer | 2022-10-19 16:27:43 -0400 | |
| commit | 560bca57a203c45acb1c589699b472223e8b68fd (patch) | |
| tree | 98ef4a0d62a368614075463d13c4220b11af9760 /src/core/core.h | |
| parent | Merge pull request #9084 from vonchenplus/dma_copy (diff) | |
| parent | core: hle: kernel: Migrate ProcessState to enum class. (diff) | |
| download | yuzu-560bca57a203c45acb1c589699b472223e8b68fd.tar.gz yuzu-560bca57a203c45acb1c589699b472223e8b68fd.tar.xz yuzu-560bca57a203c45acb1c589699b472223e8b68fd.zip | |
Merge pull request #9071 from bunnei/mp-mm
Kernel Multiprocess (Part 1) - Persist memory & core timing
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h index 7843cc8ad..4ebedffd9 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -143,6 +143,12 @@ public: | |||
| 143 | System& operator=(System&&) = delete; | 143 | System& operator=(System&&) = delete; |
| 144 | 144 | ||
| 145 | /** | 145 | /** |
| 146 | * Initializes the system | ||
| 147 | * This function will initialize core functionaility used for system emulation | ||
| 148 | */ | ||
| 149 | void Initialize(); | ||
| 150 | |||
| 151 | /** | ||
| 146 | * Run the OS and Application | 152 | * Run the OS and Application |
| 147 | * This function will start emulation and run the relevant devices | 153 | * This function will start emulation and run the relevant devices |
| 148 | */ | 154 | */ |
| @@ -166,8 +172,8 @@ public: | |||
| 166 | 172 | ||
| 167 | void InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size); | 173 | void InvalidateCpuInstructionCacheRange(VAddr addr, std::size_t size); |
| 168 | 174 | ||
| 169 | /// Shutdown the emulated system. | 175 | /// Shutdown the main emulated process. |
| 170 | void Shutdown(); | 176 | void ShutdownMainProcess(); |
| 171 | 177 | ||
| 172 | /// Check if the core is shutting down. | 178 | /// Check if the core is shutting down. |
| 173 | [[nodiscard]] bool IsShuttingDown() const; | 179 | [[nodiscard]] bool IsShuttingDown() const; |