summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-11-01 18:53:32 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:51 +0200
commit3cbe352c18f69596d91c4862382d61a3d6515140 (patch)
treead03ae10647c26a0913344ed62b47a768eb67736 /src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
parentNVDRV: Cleanup. (diff)
downloadyuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.gz
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.bz2
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.lz
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.xz
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.tar.zst
yuzu-3cbe352c18f69596d91c4862382d61a3d6515140.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_ctrl.h')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
index d548a7827..9fd46ea5f 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
@@ -10,12 +10,17 @@
#include "core/hle/service/nvdrv/devices/nvdevice.h"
#include "core/hle/service/nvdrv/nvdrv.h"
+namespace Service::Nvidia::NvCore {
+class Container;
+class SyncpointManager;
+} // namespace Service::Nvidia::NvCore
+
namespace Service::Nvidia::Devices {
class nvhost_ctrl final : public nvdevice {
public:
explicit nvhost_ctrl(Core::System& system_, EventInterface& events_interface_,
- SyncpointManager& syncpoint_manager_);
+ NvCore::Container& core);
~nvhost_ctrl() override;
NvResult Ioctl1(DeviceFD fd, Ioctl command, const std::vector<u8>& input,
@@ -145,7 +150,8 @@ private:
NvResult FreeEvent(u32 slot);
EventInterface& events_interface;
- SyncpointManager& syncpoint_manager;
+ NvCore::Container& core;
+ NvCore::SyncpointManager& syncpoint_manager;
};
} // namespace Service::Nvidia::Devices