diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-19 04:13:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 04:13:05 +0200 |
commit | bf957d5345f385633fb3675c3dc35c8721509095 (patch) | |
tree | 5da64e8b1d307b9092e51a82fc7599e847f45c5d /src/core/core_cpu.h | |
parent | Merge pull request #1346 from lioncash/svc (diff) | |
parent | core/core_cpu: Replace exclusive monitor include with forward declaration (diff) | |
download | yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar.gz yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar.bz2 yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar.lz yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar.xz yuzu-bf957d5345f385633fb3675c3dc35c8721509095.tar.zst yuzu-bf957d5345f385633fb3675c3dc35c8721509095.zip |
Diffstat (limited to 'src/core/core_cpu.h')
-rw-r--r-- | src/core/core_cpu.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/core_cpu.h b/src/core/core_cpu.h index 1d229b42f..685532965 100644 --- a/src/core/core_cpu.h +++ b/src/core/core_cpu.h @@ -6,11 +6,10 @@ #include <atomic> #include <condition_variable> +#include <cstddef> #include <memory> #include <mutex> -#include <string> #include "common/common_types.h" -#include "core/arm/exclusive_monitor.h" namespace Kernel { class Scheduler; @@ -19,6 +18,7 @@ class Scheduler; namespace Core { class ARM_Interface; +class ExclusiveMonitor; constexpr unsigned NUM_CPU_CORES{4}; @@ -43,6 +43,7 @@ class Cpu { public: Cpu(std::shared_ptr<ExclusiveMonitor> exclusive_monitor, std::shared_ptr<CpuBarrier> cpu_barrier, std::size_t core_index); + ~Cpu(); void RunLoop(bool tight_loop = true); |