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.h | |
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.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 154bced42..32b8ede0e 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -18,6 +18,7 @@ struct EventType; namespace Kernel { +class AddressArbiter; class ClientPort; class HandleTable; class Process; @@ -67,6 +68,12 @@ public: /// Retrieves a const pointer to the current process. const Process* CurrentProcess() const; + /// Provides a reference to the kernel's address arbiter. + Kernel::AddressArbiter& AddressArbiter(); + + /// Provides a const reference to the kernel's address arbiter. + const Kernel::AddressArbiter& AddressArbiter() const; + /// Adds a port to the named port table void AddNamedPort(std::string name, SharedPtr<ClientPort> port); |