summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/hos_binder_driver.h
blob: 24780c7d863bb5218ba07fe67148d0c4423a4ac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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