summaryrefslogtreecommitdiffstats
path: root/src/core/core_cpu.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-18 00:15:09 +0200
committerLioncash <mathew1800@gmail.com>2018-09-18 00:16:55 +0200
commit4a84986bc3a7cd14c40b36f084388baad6fbbd62 (patch)
tree44c01b70e77f91fb4cfc078e63c637bbde5a8d10 /src/core/core_cpu.h
parentMerge pull request #1311 from FernandoS27/fast-swizzle (diff)
downloadyuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar.gz
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar.bz2
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar.lz
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar.xz
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.tar.zst
yuzu-4a84986bc3a7cd14c40b36f084388baad6fbbd62.zip
Diffstat (limited to 'src/core/core_cpu.h')
-rw-r--r--src/core/core_cpu.h5
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);