diff options
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
| -rw-r--r-- | src/core/hle/kernel/scheduler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h index 6a61ef64e..744990c9b 100644 --- a/src/core/hle/kernel/scheduler.h +++ b/src/core/hle/kernel/scheduler.h | |||
| @@ -11,13 +11,15 @@ | |||
| 11 | #include "core/hle/kernel/object.h" | 11 | #include "core/hle/kernel/object.h" |
| 12 | #include "core/hle/kernel/thread.h" | 12 | #include "core/hle/kernel/thread.h" |
| 13 | 13 | ||
| 14 | namespace Core { | ||
| 14 | class ARM_Interface; | 15 | class ARM_Interface; |
| 16 | } | ||
| 15 | 17 | ||
| 16 | namespace Kernel { | 18 | namespace Kernel { |
| 17 | 19 | ||
| 18 | class Scheduler final { | 20 | class Scheduler final { |
| 19 | public: | 21 | public: |
| 20 | explicit Scheduler(ARM_Interface* cpu_core); | 22 | explicit Scheduler(Core::ARM_Interface* cpu_core); |
| 21 | ~Scheduler(); | 23 | ~Scheduler(); |
| 22 | 24 | ||
| 23 | /// Returns whether there are any threads that are ready to run. | 25 | /// Returns whether there are any threads that are ready to run. |
| @@ -70,7 +72,7 @@ private: | |||
| 70 | 72 | ||
| 71 | SharedPtr<Thread> current_thread = nullptr; | 73 | SharedPtr<Thread> current_thread = nullptr; |
| 72 | 74 | ||
| 73 | ARM_Interface* cpu_core; | 75 | Core::ARM_Interface* cpu_core; |
| 74 | 76 | ||
| 75 | static std::mutex scheduler_mutex; | 77 | static std::mutex scheduler_mutex; |
| 76 | }; | 78 | }; |