summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdata.h
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2020-11-24 06:40:23 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2020-11-24 06:40:23 +0100
commitab25d1fe9a7e3678b868855eecd402eec2efd1d6 (patch)
tree0807e2c296751459e259026ab8dd47f095725f28 /src/core/hle/service/nvdrv/nvdata.h
parentFix warnings in core/frontend/input.h with [[maybe_unused]] (diff)
downloadyuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.gz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.bz2
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.lz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.xz
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.tar.zst
yuzu-ab25d1fe9a7e3678b868855eecd402eec2efd1d6.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdata.h')
-rw-r--r--src/core/hle/service/nvdrv/nvdata.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.h
index 3294bc0e7..a3c4ecd85 100644
--- a/src/core/hle/service/nvdrv/nvdata.h
+++ b/src/core/hle/service/nvdrv/nvdata.h
@@ -97,4 +97,15 @@ union Ioctl {
BitField<31, 1, u32> is_out;
};
+struct IoctlCtrl {
+ // First call done to the servioce for services that call itself again after a call.
+ bool fresh_call{true};
+ // Tells the Ioctl Wrapper that it must delay the IPC response and send the thread to sleep
+ bool must_delay{};
+ // Timeout for the delay
+ s64 timeout{};
+ // NV Event Id
+ s32 event_id{-1};
+};
+
} // namespace Service::Nvidia