diff options
author | Subv <subv2112@gmail.com> | 2018-02-14 05:14:11 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-02-15 04:57:57 +0100 |
commit | 7a1917e0fde95b6da6a4d95111bb0462c072cd5c (patch) | |
tree | 134db43638874c2f1c6a6bf9c89a9abdfa7a566a /src/core/hle/service/nvdrv/devices/nvhost_ctrl.h | |
parent | Vi: Mark the fences as valid in the DequeueBuffer response parcel. (diff) | |
download | yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar.gz yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar.bz2 yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar.lz yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar.xz yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.tar.zst yuzu-7a1917e0fde95b6da6a4d95111bb0462c072cd5c.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/devices/nvhost_ctrl.h')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h index fd02a5e45..0ca01aa6d 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h @@ -31,6 +31,7 @@ private: IocModuleRegRDWRCommand = 0xC008010E, IocSyncptWaitexCommand = 0xC0100019, IocSyncptReadMaxCommand = 0xC008001A, + IocCtrlEventWaitCommand = 0xC010001D, IocGetConfigCommand = 0xC183001B, }; @@ -41,7 +42,17 @@ private: }; static_assert(sizeof(IocGetConfigParams) == 387, "IocGetConfigParams is incorrect size"); + struct IocCtrlEventWaitParams { + u32_le syncpt_id; + u32_le threshold; + s32_le timeout; + u32_le value; + }; + static_assert(sizeof(IocCtrlEventWaitParams) == 16, "IocCtrlEventWaitParams is incorrect size"); + u32 NvOsGetConfigU32(const std::vector<u8>& input, std::vector<u8>& output); + + u32 IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>& output); }; } // namespace Devices |