diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-05 17:54:06 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-05 18:58:26 +0100 |
commit | ec6664f6d61f46569a2686b864ba3e9a0f85fc60 (patch) | |
tree | 67a78607f085efd3e4258fd90afd2aa2036d0448 /src/core/hle/kernel/kernel.cpp | |
parent | Merge pull request #2185 from FearlessTobi/port-4630 (diff) | |
download | yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar.gz yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar.bz2 yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar.lz yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar.xz yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.tar.zst yuzu-ec6664f6d61f46569a2686b864ba3e9a0f85fc60.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index dd749eed4..b771a33a6 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -12,6 +12,7 @@ #include "core/core.h" #include "core/core_timing.h" +#include "core/hle/kernel/address_arbiter.h" #include "core/hle/kernel/client_port.h" #include "core/hle/kernel/handle_table.h" #include "core/hle/kernel/kernel.h" @@ -135,6 +136,8 @@ struct KernelCore::Impl { std::vector<SharedPtr<Process>> process_list; Process* current_process = nullptr; + Kernel::AddressArbiter address_arbiter; + SharedPtr<ResourceLimit> system_resource_limit; Core::Timing::EventType* thread_wakeup_event_type = nullptr; @@ -184,6 +187,14 @@ const Process* KernelCore::CurrentProcess() const { return impl->current_process; } +AddressArbiter& KernelCore::AddressArbiter() { + return impl->address_arbiter; +} + +const AddressArbiter& KernelCore::AddressArbiter() const { + return impl->address_arbiter; +} + void KernelCore::AddNamedPort(std::string name, SharedPtr<ClientPort> port) { impl->named_ports.emplace(std::move(name), std::move(port)); } |