summaryrefslogtreecommitdiff
path: root/src/core/hle/service/dlp
diff options
context:
space:
mode:
authorGravatar bunnei2017-10-10 17:32:14 -0400
committerGravatar bunnei2017-10-10 17:32:14 -0400
commit0906de9a14b735d1d409290ca050eb7d2c2d3d84 (patch)
tree79bb57d3a4dc4ca377e7a62744c3941de29e785b /src/core/hle/service/dlp
parentMerge remote-tracking branch 'upstream/master' into nx (diff)
downloadyuzu-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.cpp23
-rw-r--r--src/core/hle/service/dlp/dlp.h17
-rw-r--r--src/core/hle/service/dlp/dlp_clnt.cpp38
-rw-r--r--src/core/hle/service/dlp/dlp_clnt.h22
-rw-r--r--src/core/hle/service/dlp/dlp_fkcl.cpp35
-rw-r--r--src/core/hle/service/dlp/dlp_fkcl.h22
-rw-r--r--src/core/hle/service/dlp/dlp_srvr.cpp47
-rw-r--r--src/core/hle/service/dlp/dlp_srvr.h22
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
11namespace Service {
12namespace DLP {
13
14void Init() {
15 AddService(new DLP_CLNT_Interface);
16 AddService(new DLP_FKCL_Interface);
17 AddService(new DLP_SRVR_Interface);
18}
19
20void 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
7namespace Service {
8namespace DLP {
9
10/// Initializes the DLP services.
11void Init();
12
13/// Shuts down the DLP services.
14void 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
7namespace Service {
8namespace DLP {
9
10const 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
33DLP_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
9namespace Service {
10namespace DLP {
11
12class DLP_CLNT_Interface final : public Interface {
13public:
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
7namespace Service {
8namespace DLP {
9
10const 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
30DLP_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
9namespace Service {
10namespace DLP {
11
12class DLP_FKCL_Interface final : public Interface {
13public:
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
11namespace Service {
12namespace DLP {
13
14static 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
23const 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
42DLP_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
9namespace Service {
10namespace DLP {
11
12class DLP_SRVR_Interface final : public Interface {
13public:
14 DLP_SRVR_Interface();
15
16 std::string GetPortName() const override {
17 return "dlp:SRVR";
18 }
19};
20
21} // namespace DLP
22} // namespace Service