aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
AgeCommit message (Collapse)Author
2020-12-29Merge pull request #5247 from comex/xx-conceptsbunnei
k_priority_queue: Fix concepts use
2020-12-29Merge pull request #5246 from comex/xx-includebunnei
Add missing include of "core/hle/kernel/kernel.h"
2020-12-29k_priority_queue: Fix concepts usecomex
- For `std::same_as`, add missing include of `<concepts>`. - For `std::convertible_to`, create a replacement in `common/concepts.h` and use that instead. This would also be found in `<concepts>`, but unlike `std::same_as`, `std::convertible_to` is not yet implemented in libc++, LLVM's STL implementation - not even in master. (In fact, `std::same_as` is the *only* concept currently implemented. For some reason.)
2020-12-29Add missing include of "core/hle/kernel/kernel.h"comex
This is needed as the header invokes methods on KernelCore.
2020-12-29svc: demote SleepThread log to LOG_TRACEameerj
This log is called often, and introduces a lot of noise when debug logging is enabled, making it difficult to see other debug logs.
2020-12-20Merge pull request #5131 from bunnei/scheduler-rewritebunnei
Rewrite Kernel scheduler based on Atmosphere
2020-12-11Merge pull request #5172 from lioncash/svc-widebunnei
svc: Remove unnecessary casts
2020-12-08svc: Remove unnecessary castsLioncash
Simplifies and removes some casts. In all cases, these were generally widening from a 32-bit unsigned type to a 64-bit unsigned type, so no information would be lost from the conversion.
2020-12-07core: Remove unnecessary enum casts in log callsLioncash
Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
2020-12-06Merge pull request #5148 from comex/xx-unused-fieldsbunnei
core: Mark unused fields as [[maybe_unused]]
2020-12-07Merge pull request #5136 from lioncash/video-shadow3LC
video_core: Resolve more variable shadowing scenarios pt.3
2020-12-06Fix "explicitly defaulted but implicitly deleted" warningcomex
`PhysicalCore`'s move assignment operator was declared as `= default`, but was implicitly deleted because `PhysicalCore` has fields of reference type. Switch to explicitly deleting it to avoid a Clang warning. The move *constructor* is still defaulted, and is required to exist due to the use of `std::vector<PhysicalCore>`.
2020-12-06core: Mark unused fields as [[maybe_unused]]comex
2020-12-06hle: kernel: Process: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: Thread: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KScopedSchedulerLockAndSleep: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06hle: kernel: KScopedLock: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KAbstractSchedulerLock: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06hle: kernel: KScheduler: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KPriorityQueue: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: KAffinityMask: Various style fixes based on code review feedback.bunnei
2020-12-06hle: kernel: GlobalSchedulerContext: Various style fixes based on code ↵bunnei
review feedback.
2020-12-06hle: kernel: Use C++ style comments in KScheduler, etc.bunnei
2020-12-06kernel: KScopedSchedulerLockAndSleep: Remove unused ctor.bunnei
2020-12-06kernel: time_manager: Add missing lock guards.bunnei
2020-12-06hle: kernel: Migrate to KScopedSchedulerLock.bunnei
2020-12-06hle: kernel: Separate KScopedSchedulerLockAndSleep from k_scheduler.bunnei
2020-12-06hle: kernel: Separate KScheduler from GlobalSchedulerContext class.bunnei
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei
2020-12-06hle: kernel: physical_core: Clear exclusive state after each run.bunnei
- This is closer to pre-multicore behavior, and works a bit better.
2020-12-06hle: kernel: Port KAbstractSchedulerLock from Mesosphere.bunnei
2020-12-06hle: kernel: svc: Remove reschedule on svcBreak.bunnei
- This breaks things, and is unnecessary, since emulation will be done at this point.
2020-12-06hle: kernel: process: Add schedule count tracking, to be used for yield impl.bunnei
2020-12-06hle: kernel: svc: Remove unnecessary hack in svcSleep.bunnei
2020-12-06common: Port KPriorityQueue from Mesosphere.bunnei
2020-12-06hle: kernel: Port KAffinityMask from Mesosphere.bunnei
2020-12-05video_core: Resolve more variable shadowing scenarios pt.3Lioncash
Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
2020-11-29kernel: scheduler: Minor cleanup to remove duplicated code.bunnei
2020-11-29kernel: time_manager: Protect access with a mutex.bunnei
2020-11-29hle: kernel: thread: Remove unused "Running" state.bunnei
2020-11-29core: arm: Implement InvalidateCacheRange for CPU cache invalidation.bunnei
2020-11-29hle: kernel: time_manager: Avoid a crash on process exit.bunnei
2020-11-29hle: kernel: AddressArbiter: Remove unused code.bunnei
2020-11-29hle: kernel: SynchronizationObject: Use atomic_bool for is_signaled.bunnei
2020-11-29common: fiber: Use boost::context instead of native fibers on Windows.bunnei
2020-11-29hle: kernel: multicore: Replace n-JITs impl. with 4 JITs.bunnei
2020-11-23svc: Remove unnecessary [[maybe_unused]] tagLioncash
The parameter is used in this function, so this suppression isn't necessary.
2020-11-08ipc_helpers: Remove usage of the global system instanceLioncash
Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
2020-11-03core: Remove usage of unicornLioncash
Unicorn long-since lost most of its use, due to dynarmic gaining support for handling most instructions. At this point any further issues encountered should be used to make dynarmic better. This also allows us to remove our dependency on Python.
2020-10-29kernel/process: Add missing <ctime> includeMorph
Fixes compilation on MSVC