hle: service: nvdrv: Implement SyncpointManager, to manage syncpoints.

This commit is contained in:
bunnei
2020-10-26 21:45:08 -07:00
parent bca9591660
commit d567b7e841
4 changed files with 127 additions and 1 deletions

View File

@ -36,7 +36,7 @@ void InstallInterfaces(SM::ServiceManager& service_manager, NVFlinger::NVFlinger
nvflinger.SetNVDrvInstance(module_);
}
Module::Module(Core::System& system) {
Module::Module(Core::System& system) : syncpoint_manager{system.GPU()} {
auto& kernel = system.Kernel();
for (u32 i = 0; i < MaxNvEvents; i++) {
std::string event_label = fmt::format("NVDRV::NvEvent_{}", i);