summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-16 17:43:41 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-05 21:49:28 +0200
commitb6844bec608ed82511738e9f3911e72aeb05243a (patch)
tree4a06bdb82d2cbceedee70ac41725c7354d1ec723 /src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
parentGPU: Correct Interrupts to interrupt on syncpt/value instead of event, mirroring hardware (diff)
downloadyuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.gz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.bz2
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.lz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.xz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.zst
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_ctrl.h')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl.h6
1 files changed, 4 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 6cbf75f89..7cb41aa54 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h
@@ -17,7 +17,8 @@ public:
nvhost_ctrl(Core::System& system, EventsInterface& events_interface);
~nvhost_ctrl() override;
- u32 ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) override;
+ u32 ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) override;
private:
enum class IoctlCommand : u32_le {
@@ -133,7 +134,8 @@ private:
u32 NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>& output);
- u32 IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& output, bool is_async);
+ u32 IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& output, bool is_async,
+ IoctlCtrl& ctrl);
u32 IocCtrlEventRegister(const std::vector<u8>& input, std::vector<u8>& output);