summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/hos_binder_driver.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/vi/hos_binder_driver.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/hos_binder_driver.h b/src/core/hle/service/vi/hos_binder_driver.h
new file mode 100644
index 000000000..24780c7d8
--- /dev/null
+++ b/src/core/hle/service/vi/hos_binder_driver.h
@@ -0,0 +1,22 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/service.h"
+
+namespace Service::VI {
+
+class IHOSBinderDriver final : public ServiceFramework<IHOSBinderDriver> {
+public:
+ explicit IHOSBinderDriver(Core::System& system_, Nvnflinger::HosBinderDriverServer& server_);
+ ~IHOSBinderDriver() override;
+
+private:
+ void TransactParcel(HLERequestContext& ctx);
+ void AdjustRefcount(HLERequestContext& ctx);
+ void GetNativeHandle(HLERequestContext& ctx);
+
+private:
+ Nvnflinger::HosBinderDriverServer& server;
+};
+
+} // namespace Service::VI