diff options
author | GPUCode <geoster3d@gmail.com> | 2023-11-20 14:52:18 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2023-11-25 06:47:36 +0100 |
commit | 3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0 (patch) | |
tree | 4f8cb57560d4aa06d73a799537945b5a842460b2 /src/core/hle/kernel/k_process.h | |
parent | common: Enforce fastmem for nce usage (diff) | |
download | yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.gz yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.bz2 yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.lz yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.xz yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.tar.zst yuzu-3ec3cca4d8d4e1733cbc337b0499ad3bdcdf52b0.zip |
Diffstat (limited to 'src/core/hle/kernel/k_process.h')
-rw-r--r-- | src/core/hle/kernel/k_process.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index e5f796ac7..d8cd0fdde 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h @@ -112,7 +112,6 @@ private: std::array<KThread*, Core::Hardware::NUM_CPU_CORES> m_pinned_threads{}; std::array<DebugWatchpoint, Core::Hardware::NUM_WATCHPOINTS> m_watchpoints{}; std::map<KProcessAddress, u64> m_debug_page_refcounts{}; - std::unordered_map<u64, u64> m_post_handlers{}; std::atomic<s64> m_cpu_time{}; std::atomic<s64> m_num_process_switches{}; std::atomic<s64> m_num_thread_switches{}; @@ -121,6 +120,9 @@ private: std::atomic<s64> m_num_ipc_messages{}; std::atomic<s64> m_num_ipc_replies{}; std::atomic<s64> m_num_ipc_receives{}; +#ifdef HAS_NCE + std::unordered_map<u64, u64> m_post_handlers{}; +#endif private: Result StartTermination(); @@ -468,9 +470,11 @@ public: static void Switch(KProcess* cur_process, KProcess* next_process); +#ifdef HAS_NCE std::unordered_map<u64, u64>& GetPostHandlers() noexcept { return m_post_handlers; } +#endif public: // Attempts to insert a watchpoint into a free slot. Returns false if none are available. |