summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdrv.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/nvdrv.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 '')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h
index 97b48d150..b7f692962 100644
--- a/src/core/hle/service/nvdrv/nvdrv.h
+++ b/src/core/hle/service/nvdrv/nvdrv.h
@@ -95,7 +95,8 @@ public:
/// Opens a device node and returns a file descriptor to it.
u32 Open(const std::string& device_name);
/// Sends an ioctl command to the specified file descriptor.
- u32 Ioctl(u32 fd, u32 command, const std::vector<u8>& input, std::vector<u8>& output);
+ u32 Ioctl(u32 fd, u32 command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl);
/// Closes a device file descriptor and returns operation success.
ResultCode Close(u32 fd);
@@ -103,6 +104,8 @@ public:
Kernel::SharedPtr<Kernel::ReadableEvent> GetEvent(const u32 event_id);
+ Kernel::SharedPtr<Kernel::WritableEvent> GetEventWriteable(const u32 event_id);
+
private:
/// Id to use for the next open file descriptor.
u32 next_fd = 1;