core/core_cpu: Replace exclusive monitor include with forward declaration
We don't need to include this as a dependency within the header. A regular forward declaration will suffice here.
This commit is contained in:
parent
a94b623dfb
commit
4a84986bc3
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue