summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdata.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-26 06:48:57 +0100
committerGitHub <noreply@github.com>2020-11-26 06:48:57 +0100
commitebcee03b0c4e02a58eeee6152950e20ab2769283 (patch)
treea65975463e513253e4340b5b54807bfd15fe0b96 /src/core/hle/service/nvdrv/nvdata.h
parentMerge pull request #5003 from jbeich/clang (diff)
parentnvservices: Reintroducee IoctlCtrl (diff)
downloadyuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.gz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.bz2
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.lz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.xz
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.tar.zst
yuzu-ebcee03b0c4e02a58eeee6152950e20ab2769283.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