diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-14 03:04:10 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-02-22 16:18:06 +0100 |
commit | 0728dfef84ded5e68bdb3b0781ea00ca7cc85659 (patch) | |
tree | 2f0746f6070e5e27eaa15612458acbd33a911d6a /src/core/hle/kernel/kernel.h | |
parent | Merge pull request #3444 from bunnei/linux-audio-fix (diff) | |
download | yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar.gz yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar.bz2 yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar.lz yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar.xz yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.tar.zst yuzu-0728dfef84ded5e68bdb3b0781ea00ca7cc85659.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 1eede3063..0dfc559e9 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -29,6 +29,7 @@ class HandleTable; class PhysicalCore; class Process; class ResourceLimit; +class Scheduler; class Synchronization; class Thread; @@ -87,6 +88,12 @@ public: /// Gets the sole instance of the global scheduler const Kernel::GlobalScheduler& GlobalScheduler() const; + /// Gets the sole instance of the Scheduler assoviated with cpu core 'id' + Kernel::Scheduler& Scheduler(std::size_t id); + + /// Gets the sole instance of the Scheduler assoviated with cpu core 'id' + const Kernel::Scheduler& Scheduler(std::size_t id) const; + /// Gets the an instance of the respective physical CPU core. Kernel::PhysicalCore& PhysicalCore(std::size_t id); |