diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-10 23:32:14 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-10 23:32:14 +0200 |
commit | 0906de9a14b735d1d409290ca050eb7d2c2d3d84 (patch) | |
tree | 79bb57d3a4dc4ca377e7a62744c3941de29e785b /src/core/hle/service/dlp | |
parent | Merge remote-tracking branch 'upstream/master' into nx (diff) | |
download | yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.gz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.bz2 yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.lz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.xz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.zst yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.zip |
Diffstat (limited to 'src/core/hle/service/dlp')
-rw-r--r-- | src/core/hle/service/dlp/dlp.cpp | 23 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp.h | 17 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_clnt.cpp | 38 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_clnt.h | 22 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_fkcl.cpp | 35 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_fkcl.h | 22 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_srvr.cpp | 47 | ||||
-rw-r--r-- | src/core/hle/service/dlp/dlp_srvr.h | 22 |
8 files changed, 0 insertions, 226 deletions
diff --git a/src/core/hle/service/dlp/dlp.cpp b/src/core/hle/service/dlp/dlp.cpp deleted file mode 100644 index 8f4b67a5d..000000000 --- a/src/core/hle/service/dlp/dlp.cpp +++ /dev/null @@ -1,23 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "core/hle/service/dlp/dlp.h" -#include "core/hle/service/dlp/dlp_clnt.h" -#include "core/hle/service/dlp/dlp_fkcl.h" -#include "core/hle/service/dlp/dlp_srvr.h" -#include "core/hle/service/service.h" - -namespace Service { -namespace DLP { - -void Init() { - AddService(new DLP_CLNT_Interface); - AddService(new DLP_FKCL_Interface); - AddService(new DLP_SRVR_Interface); -} - -void Shutdown() {} - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp.h b/src/core/hle/service/dlp/dlp.h deleted file mode 100644 index 3185fe322..000000000 --- a/src/core/hle/service/dlp/dlp.h +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -namespace Service { -namespace DLP { - -/// Initializes the DLP services. -void Init(); - -/// Shuts down the DLP services. -void Shutdown(); - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_clnt.cpp b/src/core/hle/service/dlp/dlp_clnt.cpp deleted file mode 100644 index 6f2bf2061..000000000 --- a/src/core/hle/service/dlp/dlp_clnt.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "core/hle/service/dlp/dlp_clnt.h" - -namespace Service { -namespace DLP { - -const Interface::FunctionInfo FunctionTable[] = { - {0x000100C3, nullptr, "Initialize"}, - {0x00020000, nullptr, "Finalize"}, - {0x00030000, nullptr, "GetEventDesc"}, - {0x00040000, nullptr, "GetChannel"}, - {0x00050180, nullptr, "StartScan"}, - {0x00060000, nullptr, "StopScan"}, - {0x00070080, nullptr, "GetServerInfo"}, - {0x00080100, nullptr, "GetTitleInfo"}, - {0x00090040, nullptr, "GetTitleInfoInOrder"}, - {0x000A0080, nullptr, "DeleteScanInfo"}, - {0x000B0100, nullptr, "PrepareForSystemDownload"}, - {0x000C0000, nullptr, "StartSystemDownload"}, - {0x000D0100, nullptr, "StartTitleDownload"}, - {0x000E0000, nullptr, "GetMyStatus"}, - {0x000F0040, nullptr, "GetConnectingNodes"}, - {0x00100040, nullptr, "GetNodeInfo"}, - {0x00110000, nullptr, "GetWirelessRebootPassphrase"}, - {0x00120000, nullptr, "StopSession"}, - {0x00130100, nullptr, "GetCupVersion"}, - {0x00140100, nullptr, "GetDupAvailability"}, -}; - -DLP_CLNT_Interface::DLP_CLNT_Interface() { - Register(FunctionTable); -} - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_clnt.h b/src/core/hle/service/dlp/dlp_clnt.h deleted file mode 100644 index 067f11e37..000000000 --- a/src/core/hle/service/dlp/dlp_clnt.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/service/service.h" - -namespace Service { -namespace DLP { - -class DLP_CLNT_Interface final : public Interface { -public: - DLP_CLNT_Interface(); - - std::string GetPortName() const override { - return "dlp:CLNT"; - } -}; - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_fkcl.cpp b/src/core/hle/service/dlp/dlp_fkcl.cpp deleted file mode 100644 index fe6be7d32..000000000 --- a/src/core/hle/service/dlp/dlp_fkcl.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "core/hle/service/dlp/dlp_fkcl.h" - -namespace Service { -namespace DLP { - -const Interface::FunctionInfo FunctionTable[] = { - {0x00010083, nullptr, "Initialize"}, - {0x00020000, nullptr, "Finalize"}, - {0x00030000, nullptr, "GetEventDesc"}, - {0x00040000, nullptr, "GetChannels"}, - {0x00050180, nullptr, "StartScan"}, - {0x00060000, nullptr, "StopScan"}, - {0x00070080, nullptr, "GetServerInfo"}, - {0x00080100, nullptr, "GetTitleInfo"}, - {0x00090040, nullptr, "GetTitleInfoInOrder"}, - {0x000A0080, nullptr, "DeleteScanInfo"}, - {0x000B0100, nullptr, "StartFakeSession"}, - {0x000C0000, nullptr, "GetMyStatus"}, - {0x000D0040, nullptr, "GetConnectingNodes"}, - {0x000E0040, nullptr, "GetNodeInfo"}, - {0x000F0000, nullptr, "GetWirelessRebootPassphrase"}, - {0x00100000, nullptr, "StopSession"}, - {0x00110203, nullptr, "Initialize2"}, -}; - -DLP_FKCL_Interface::DLP_FKCL_Interface() { - Register(FunctionTable); -} - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_fkcl.h b/src/core/hle/service/dlp/dlp_fkcl.h deleted file mode 100644 index e4837a167..000000000 --- a/src/core/hle/service/dlp/dlp_fkcl.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/service/service.h" - -namespace Service { -namespace DLP { - -class DLP_FKCL_Interface final : public Interface { -public: - DLP_FKCL_Interface(); - - std::string GetPortName() const override { - return "dlp:FKCL"; - } -}; - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_srvr.cpp b/src/core/hle/service/dlp/dlp_srvr.cpp deleted file mode 100644 index 1bcea43d3..000000000 --- a/src/core/hle/service/dlp/dlp_srvr.cpp +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "common/common_types.h" -#include "common/logging/log.h" -#include "core/hle/ipc.h" -#include "core/hle/result.h" -#include "core/hle/service/dlp/dlp_srvr.h" - -namespace Service { -namespace DLP { - -static void IsChild(Interface* self) { - u32* cmd_buff = Kernel::GetCommandBuffer(); - - cmd_buff[1] = RESULT_SUCCESS.raw; - cmd_buff[2] = 0; - - LOG_WARNING(Service_DLP, "(STUBBED) called"); -} - -const Interface::FunctionInfo FunctionTable[] = { - {0x00010183, nullptr, "Initialize"}, - {0x00020000, nullptr, "Finalize"}, - {0x00030000, nullptr, "GetServerState"}, - {0x00040000, nullptr, "GetEventDescription"}, - {0x00050080, nullptr, "StartAccepting"}, - {0x00060000, nullptr, "EndAccepting"}, - {0x00070000, nullptr, "StartDistribution"}, - {0x000800C0, nullptr, "SendWirelessRebootPassphrase"}, - {0x00090040, nullptr, "AcceptClient"}, - {0x000A0040, nullptr, "DisconnectClient"}, - {0x000B0042, nullptr, "GetConnectingClients"}, - {0x000C0040, nullptr, "GetClientInfo"}, - {0x000D0040, nullptr, "GetClientState"}, - {0x000E0040, IsChild, "IsChild"}, - {0x000F0303, nullptr, "InitializeWithName"}, - {0x00100000, nullptr, "GetDupNoticeNeed"}, -}; - -DLP_SRVR_Interface::DLP_SRVR_Interface() { - Register(FunctionTable); -} - -} // namespace DLP -} // namespace Service diff --git a/src/core/hle/service/dlp/dlp_srvr.h b/src/core/hle/service/dlp/dlp_srvr.h deleted file mode 100644 index 19fe17840..000000000 --- a/src/core/hle/service/dlp/dlp_srvr.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -#include "core/hle/service/service.h" - -namespace Service { -namespace DLP { - -class DLP_SRVR_Interface final : public Interface { -public: - DLP_SRVR_Interface(); - - std::string GetPortName() const override { - return "dlp:SRVR"; - } -}; - -} // namespace DLP -} // namespace Service |