diff options
author | Subv <subv2112@gmail.com> | 2018-01-08 03:25:57 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-11 05:28:05 +0100 |
commit | 94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7 (patch) | |
tree | 3067e1a6e631253b880851e739a47926d75fe15a /src/core/hle/service/nvdrv/nvdrv.h | |
parent | IPC: Corrected some definitions for the buffer C descriptor flags. (diff) | |
download | yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar.gz yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar.bz2 yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar.lz yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar.xz yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.tar.zst yuzu-94a5e97eb3e331f5c02e3ff2c0d4a9d62f072ba7.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.h')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h new file mode 100644 index 000000000..a8f305d33 --- /dev/null +++ b/src/core/hle/service/nvdrv/nvdrv.h @@ -0,0 +1,25 @@ +// Copyright 2018 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <vector> +#include "common/common_types.h" +#include "core/hle/service/service.h" + +namespace Service { +namespace NVDRV { + +class nvdevice { +public: + virtual ~nvdevice() = default; + + virtual u32 ioctl(u32 command, const std::vector<u8>& input, std::vector<u8>& output) = 0; +}; + +/// Registers all NVDRV services with the specified service manager. +void InstallInterfaces(SM::ServiceManager& service_manager); + +} // namespace NVDRV +} // namespace Service |