mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 16:57:54 +00:00
NV: Implemented the nvdrv:a service and the /dev/nvmap device.
This commit is contained in:
parent
8923c80127
commit
54650737a3
4 changed files with 354 additions and 0 deletions
25
src/core/hle/service/nvdrv/nvdrv.h
Normal file
25
src/core/hle/service/nvdrv/nvdrv.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue