diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-12 22:43:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-12 22:43:25 -0800 |
commit | 280c77989880e81f622440b157a0ce1b7139847b (patch) | |
tree | 49a3ef8127d721dc44effb8315e5db7e796336f4 /src/core/core.cpp | |
parent | 429320aee8a0beab0081a61e6e3cfbc6bb754db2 (diff) | |
parent | 257d3c9ecf2730fad3b68918f108fa652061cabd (diff) |
Merge pull request #7462 from bunnei/kernel-improve-scheduling
Kernel: Improve threading & scheduling V3
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 473ab9f81..aa96f709b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -521,12 +521,6 @@ const ARM_Interface& System::CurrentArmInterface() const { return impl->kernel.CurrentPhysicalCore().ArmInterface(); } -std::size_t System::CurrentCoreIndex() const { - std::size_t core = impl->kernel.GetCurrentHostThreadID(); - ASSERT(core < Core::Hardware::NUM_CPU_CORES); - return core; -} - Kernel::PhysicalCore& System::CurrentPhysicalCore() { return impl->kernel.CurrentPhysicalCore(); } |