diff options
| author | 2017-10-10 17:32:14 -0400 | |
|---|---|---|
| committer | 2017-10-10 17:32:14 -0400 | |
| commit | 0906de9a14b735d1d409290ca050eb7d2c2d3d84 (patch) | |
| tree | 79bb57d3a4dc4ca377e7a62744c3941de29e785b /src/core/hle/service/dlp | |
| parent | Merge remote-tracking branch 'upstream/master' into nx (diff) | |
| download | yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.gz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.tar.xz yuzu-0906de9a14b735d1d409290ca050eb7d2c2d3d84.zip | |
hle: Remove a large amount of 3ds-specific service code.
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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "core/hle/service/dlp/dlp.h" | ||
| 6 | #include "core/hle/service/dlp/dlp_clnt.h" | ||
| 7 | #include "core/hle/service/dlp/dlp_fkcl.h" | ||
| 8 | #include "core/hle/service/dlp/dlp_srvr.h" | ||
| 9 | #include "core/hle/service/service.h" | ||
| 10 | |||
| 11 | namespace Service { | ||
| 12 | namespace DLP { | ||
| 13 | |||
| 14 | void Init() { | ||
| 15 | AddService(new DLP_CLNT_Interface); | ||
| 16 | AddService(new DLP_FKCL_Interface); | ||
| 17 | AddService(new DLP_SRVR_Interface); | ||
| 18 | } | ||
| 19 | |||
| 20 | void Shutdown() {} | ||
| 21 | |||
| 22 | } // namespace DLP | ||
| 23 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | namespace Service { | ||
| 8 | namespace DLP { | ||
| 9 | |||
| 10 | /// Initializes the DLP services. | ||
| 11 | void Init(); | ||
| 12 | |||
| 13 | /// Shuts down the DLP services. | ||
| 14 | void Shutdown(); | ||
| 15 | |||
| 16 | } // namespace DLP | ||
| 17 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "core/hle/service/dlp/dlp_clnt.h" | ||
| 6 | |||
| 7 | namespace Service { | ||
| 8 | namespace DLP { | ||
| 9 | |||
| 10 | const Interface::FunctionInfo FunctionTable[] = { | ||
| 11 | {0x000100C3, nullptr, "Initialize"}, | ||
| 12 | {0x00020000, nullptr, "Finalize"}, | ||
| 13 | {0x00030000, nullptr, "GetEventDesc"}, | ||
| 14 | {0x00040000, nullptr, "GetChannel"}, | ||
| 15 | {0x00050180, nullptr, "StartScan"}, | ||
| 16 | {0x00060000, nullptr, "StopScan"}, | ||
| 17 | {0x00070080, nullptr, "GetServerInfo"}, | ||
| 18 | {0x00080100, nullptr, "GetTitleInfo"}, | ||
| 19 | {0x00090040, nullptr, "GetTitleInfoInOrder"}, | ||
| 20 | {0x000A0080, nullptr, "DeleteScanInfo"}, | ||
| 21 | {0x000B0100, nullptr, "PrepareForSystemDownload"}, | ||
| 22 | {0x000C0000, nullptr, "StartSystemDownload"}, | ||
| 23 | {0x000D0100, nullptr, "StartTitleDownload"}, | ||
| 24 | {0x000E0000, nullptr, "GetMyStatus"}, | ||
| 25 | {0x000F0040, nullptr, "GetConnectingNodes"}, | ||
| 26 | {0x00100040, nullptr, "GetNodeInfo"}, | ||
| 27 | {0x00110000, nullptr, "GetWirelessRebootPassphrase"}, | ||
| 28 | {0x00120000, nullptr, "StopSession"}, | ||
| 29 | {0x00130100, nullptr, "GetCupVersion"}, | ||
| 30 | {0x00140100, nullptr, "GetDupAvailability"}, | ||
| 31 | }; | ||
| 32 | |||
| 33 | DLP_CLNT_Interface::DLP_CLNT_Interface() { | ||
| 34 | Register(FunctionTable); | ||
| 35 | } | ||
| 36 | |||
| 37 | } // namespace DLP | ||
| 38 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "core/hle/service/service.h" | ||
| 8 | |||
| 9 | namespace Service { | ||
| 10 | namespace DLP { | ||
| 11 | |||
| 12 | class DLP_CLNT_Interface final : public Interface { | ||
| 13 | public: | ||
| 14 | DLP_CLNT_Interface(); | ||
| 15 | |||
| 16 | std::string GetPortName() const override { | ||
| 17 | return "dlp:CLNT"; | ||
| 18 | } | ||
| 19 | }; | ||
| 20 | |||
| 21 | } // namespace DLP | ||
| 22 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "core/hle/service/dlp/dlp_fkcl.h" | ||
| 6 | |||
| 7 | namespace Service { | ||
| 8 | namespace DLP { | ||
| 9 | |||
| 10 | const Interface::FunctionInfo FunctionTable[] = { | ||
| 11 | {0x00010083, nullptr, "Initialize"}, | ||
| 12 | {0x00020000, nullptr, "Finalize"}, | ||
| 13 | {0x00030000, nullptr, "GetEventDesc"}, | ||
| 14 | {0x00040000, nullptr, "GetChannels"}, | ||
| 15 | {0x00050180, nullptr, "StartScan"}, | ||
| 16 | {0x00060000, nullptr, "StopScan"}, | ||
| 17 | {0x00070080, nullptr, "GetServerInfo"}, | ||
| 18 | {0x00080100, nullptr, "GetTitleInfo"}, | ||
| 19 | {0x00090040, nullptr, "GetTitleInfoInOrder"}, | ||
| 20 | {0x000A0080, nullptr, "DeleteScanInfo"}, | ||
| 21 | {0x000B0100, nullptr, "StartFakeSession"}, | ||
| 22 | {0x000C0000, nullptr, "GetMyStatus"}, | ||
| 23 | {0x000D0040, nullptr, "GetConnectingNodes"}, | ||
| 24 | {0x000E0040, nullptr, "GetNodeInfo"}, | ||
| 25 | {0x000F0000, nullptr, "GetWirelessRebootPassphrase"}, | ||
| 26 | {0x00100000, nullptr, "StopSession"}, | ||
| 27 | {0x00110203, nullptr, "Initialize2"}, | ||
| 28 | }; | ||
| 29 | |||
| 30 | DLP_FKCL_Interface::DLP_FKCL_Interface() { | ||
| 31 | Register(FunctionTable); | ||
| 32 | } | ||
| 33 | |||
| 34 | } // namespace DLP | ||
| 35 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "core/hle/service/service.h" | ||
| 8 | |||
| 9 | namespace Service { | ||
| 10 | namespace DLP { | ||
| 11 | |||
| 12 | class DLP_FKCL_Interface final : public Interface { | ||
| 13 | public: | ||
| 14 | DLP_FKCL_Interface(); | ||
| 15 | |||
| 16 | std::string GetPortName() const override { | ||
| 17 | return "dlp:FKCL"; | ||
| 18 | } | ||
| 19 | }; | ||
| 20 | |||
| 21 | } // namespace DLP | ||
| 22 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #include "common/common_types.h" | ||
| 6 | #include "common/logging/log.h" | ||
| 7 | #include "core/hle/ipc.h" | ||
| 8 | #include "core/hle/result.h" | ||
| 9 | #include "core/hle/service/dlp/dlp_srvr.h" | ||
| 10 | |||
| 11 | namespace Service { | ||
| 12 | namespace DLP { | ||
| 13 | |||
| 14 | static void IsChild(Interface* self) { | ||
| 15 | u32* cmd_buff = Kernel::GetCommandBuffer(); | ||
| 16 | |||
| 17 | cmd_buff[1] = RESULT_SUCCESS.raw; | ||
| 18 | cmd_buff[2] = 0; | ||
| 19 | |||
| 20 | LOG_WARNING(Service_DLP, "(STUBBED) called"); | ||
| 21 | } | ||
| 22 | |||
| 23 | const Interface::FunctionInfo FunctionTable[] = { | ||
| 24 | {0x00010183, nullptr, "Initialize"}, | ||
| 25 | {0x00020000, nullptr, "Finalize"}, | ||
| 26 | {0x00030000, nullptr, "GetServerState"}, | ||
| 27 | {0x00040000, nullptr, "GetEventDescription"}, | ||
| 28 | {0x00050080, nullptr, "StartAccepting"}, | ||
| 29 | {0x00060000, nullptr, "EndAccepting"}, | ||
| 30 | {0x00070000, nullptr, "StartDistribution"}, | ||
| 31 | {0x000800C0, nullptr, "SendWirelessRebootPassphrase"}, | ||
| 32 | {0x00090040, nullptr, "AcceptClient"}, | ||
| 33 | {0x000A0040, nullptr, "DisconnectClient"}, | ||
| 34 | {0x000B0042, nullptr, "GetConnectingClients"}, | ||
| 35 | {0x000C0040, nullptr, "GetClientInfo"}, | ||
| 36 | {0x000D0040, nullptr, "GetClientState"}, | ||
| 37 | {0x000E0040, IsChild, "IsChild"}, | ||
| 38 | {0x000F0303, nullptr, "InitializeWithName"}, | ||
| 39 | {0x00100000, nullptr, "GetDupNoticeNeed"}, | ||
| 40 | }; | ||
| 41 | |||
| 42 | DLP_SRVR_Interface::DLP_SRVR_Interface() { | ||
| 43 | Register(FunctionTable); | ||
| 44 | } | ||
| 45 | |||
| 46 | } // namespace DLP | ||
| 47 | } // 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 @@ | |||
| 1 | // Copyright 2016 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include "core/hle/service/service.h" | ||
| 8 | |||
| 9 | namespace Service { | ||
| 10 | namespace DLP { | ||
| 11 | |||
| 12 | class DLP_SRVR_Interface final : public Interface { | ||
| 13 | public: | ||
| 14 | DLP_SRVR_Interface(); | ||
| 15 | |||
| 16 | std::string GetPortName() const override { | ||
| 17 | return "dlp:SRVR"; | ||
| 18 | } | ||
| 19 | }; | ||
| 20 | |||
| 21 | } // namespace DLP | ||
| 22 | } // namespace Service | ||