summaryrefslogtreecommitdiff
path: root/src/core/core_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_cpu.h')
-rw-r--r--src/core/core_cpu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/core_cpu.h b/src/core/core_cpu.h
index 7589beb8c..cafca8df7 100644
--- a/src/core/core_cpu.h
+++ b/src/core/core_cpu.h
@@ -12,8 +12,9 @@
12#include "common/common_types.h" 12#include "common/common_types.h"
13 13
14namespace Kernel { 14namespace Kernel {
15class GlobalScheduler;
15class Scheduler; 16class Scheduler;
16} 17} // namespace Kernel
17 18
18namespace Core { 19namespace Core {
19class System; 20class System;
@@ -83,6 +84,8 @@ public:
83 return core_index; 84 return core_index;
84 } 85 }
85 86
87 void Shutdown();
88
86 static std::unique_ptr<ExclusiveMonitor> MakeExclusiveMonitor(std::size_t num_cores); 89 static std::unique_ptr<ExclusiveMonitor> MakeExclusiveMonitor(std::size_t num_cores);
87 90
88private: 91private:
@@ -90,6 +93,7 @@ private:
90 93
91 std::unique_ptr<ARM_Interface> arm_interface; 94 std::unique_ptr<ARM_Interface> arm_interface;
92 CpuBarrier& cpu_barrier; 95 CpuBarrier& cpu_barrier;
96 Kernel::GlobalScheduler& global_scheduler;
93 std::unique_ptr<Kernel::Scheduler> scheduler; 97 std::unique_ptr<Kernel::Scheduler> scheduler;
94 Timing::CoreTiming& core_timing; 98 Timing::CoreTiming& core_timing;
95 99