diff options
author | David <25727384+ogniK5377@users.noreply.github.com> | 2018-01-21 23:59:50 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-21 23:59:50 +0100 |
commit | eeb3b5eed7645bee468b9d19325cb29877d62e82 (patch) | |
tree | f79ce7893a6d6c0a8eb3984edded9887660323ac /src/core/hle/service/nvdrv/nvdrv.cpp | |
parent | Merge pull request #128 from Subv/parcel_query (diff) | |
download | yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar.gz yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar.bz2 yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar.lz yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar.xz yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.tar.zst yuzu-eeb3b5eed7645bee468b9d19325cb29877d62e82.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index 9d3013c16..141ddaedd 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -6,9 +6,11 @@ #include "core/hle/service/nvdrv/devices/nvdevice.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvdrv/devices/nvhost_as_gpu.h" +#include "core/hle/service/nvdrv/devices/nvhost_ctrl.h" #include "core/hle/service/nvdrv/devices/nvmap.h" #include "core/hle/service/nvdrv/interface.h" #include "core/hle/service/nvdrv/nvdrv.h" +#include "core/hle/service/nvdrv/nvmemp.h" namespace Service { namespace Nvidia { @@ -19,6 +21,7 @@ void InstallInterfaces(SM::ServiceManager& service_manager) { auto module_ = std::make_shared<Module>(); std::make_shared<NVDRV>(module_, "nvdrv")->InstallAsService(service_manager); std::make_shared<NVDRV>(module_, "nvdrv:a")->InstallAsService(service_manager); + std::make_shared<NVMEMP>()->InstallAsService(service_manager); nvdrv = module_; } @@ -27,6 +30,7 @@ Module::Module() { devices["/dev/nvhost-as-gpu"] = std::make_shared<Devices::nvhost_as_gpu>(); devices["/dev/nvmap"] = nvmap_dev; devices["/dev/nvdisp_disp0"] = std::make_shared<Devices::nvdisp_disp0>(nvmap_dev); + devices["/dev/nvhost-ctrl"] = std::make_shared<Devices::nvhost_ctrl>(); } u32 Module::Open(std::string device_name) { |