diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-04 01:54:53 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-11-04 02:22:05 +0100 |
commit | fc6db97a09e2de5eff10131ddcab9cf8fb2f736c (patch) | |
tree | 32a7b408286eb84360bcaff2961dbaa874f5a5d3 /src/core/hle/kernel/physical_core.cpp | |
parent | Merge pull request #4887 from lioncash/common-build (diff) | |
download | yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar.gz yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar.bz2 yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar.lz yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar.xz yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.tar.zst yuzu-fc6db97a09e2de5eff10131ddcab9cf8fb2f736c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/physical_core.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/core/hle/kernel/physical_core.cpp b/src/core/hle/kernel/physical_core.cpp index c6bbdb080..6e04d025f 100644 --- a/src/core/hle/kernel/physical_core.cpp +++ b/src/core/hle/kernel/physical_core.cpp @@ -2,30 +2,18 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "common/assert.h" -#include "common/logging/log.h" #include "common/spin_lock.h" -#include "core/arm/arm_interface.h" -#ifdef ARCHITECTURE_x86_64 -#include "core/arm/dynarmic/arm_dynarmic_32.h" -#include "core/arm/dynarmic/arm_dynarmic_64.h" -#endif #include "core/arm/cpu_interrupt_handler.h" -#include "core/arm/exclusive_monitor.h" -#include "core/arm/unicorn/arm_unicorn.h" #include "core/core.h" #include "core/hle/kernel/physical_core.h" #include "core/hle/kernel/scheduler.h" -#include "core/hle/kernel/thread.h" namespace Kernel { PhysicalCore::PhysicalCore(Core::System& system, std::size_t id, Kernel::Scheduler& scheduler, Core::CPUInterruptHandler& interrupt_handler) - : interrupt_handler{interrupt_handler}, core_index{id}, scheduler{scheduler} { - - guard = std::make_unique<Common::SpinLock>(); -} + : interrupt_handler{interrupt_handler}, + core_index{id}, scheduler{scheduler}, guard{std::make_unique<Common::SpinLock>()} {} PhysicalCore::~PhysicalCore() = default; |