Browse Source
service: Add other DLP services
service: Add other DLP services
Specifically, dlp::CLNT and dlp::FKCL Moves them to their own folder like with other services.nce_cpp
10 changed files with 150 additions and 23 deletions
-
10src/core/CMakeLists.txt
-
24src/core/hle/service/dlp/dlp.cpp
-
15src/core/hle/service/dlp/dlp.h
-
20src/core/hle/service/dlp/dlp_clnt.cpp
-
22src/core/hle/service/dlp/dlp_clnt.h
-
20src/core/hle/service/dlp/dlp_fkcl.cpp
-
22src/core/hle/service/dlp/dlp_fkcl.h
-
22src/core/hle/service/dlp/dlp_srvr.cpp
-
13src/core/hle/service/dlp/dlp_srvr.h
-
5src/core/hle/service/service.cpp
@ -0,0 +1,24 @@ |
|||
// Copyright 2016 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "core/hle/service/service.h"
|
|||
#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"
|
|||
|
|||
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
|
|||
@ -0,0 +1,15 @@ |
|||
// Copyright 2016 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
namespace Service { |
|||
namespace DLP { |
|||
|
|||
/// Initializes the DLP services. |
|||
void Init(); |
|||
|
|||
/// Shuts down the DLP services. |
|||
void Shutdown(); |
|||
|
|||
} // namespace DLP |
|||
} // namespace Service |
|||
@ -0,0 +1,20 @@ |
|||
// 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"}, |
|||
{0x00110000, nullptr, "GetWirelessRebootPassphrase"}, |
|||
}; |
|||
|
|||
DLP_CLNT_Interface::DLP_CLNT_Interface() { |
|||
Register(FunctionTable); |
|||
} |
|||
|
|||
} // namespace DLP
|
|||
} // namespace Service
|
|||
@ -0,0 +1,22 @@ |
|||
// 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 |
|||
@ -0,0 +1,20 @@ |
|||
// 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"}, |
|||
{0x000F0000, nullptr, "GetWirelessRebootPassphrase"}, |
|||
}; |
|||
|
|||
DLP_FKCL_Interface::DLP_FKCL_Interface() { |
|||
Register(FunctionTable); |
|||
} |
|||
|
|||
} // namespace DLP
|
|||
} // namespace Service
|
|||
@ -0,0 +1,22 @@ |
|||
// 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 |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue