dlp_srvr.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "common/common_types.h"
  5. #include "common/logging/log.h"
  6. #include "core/hle/ipc.h"
  7. #include "core/hle/result.h"
  8. #include "core/hle/service/dlp/dlp_srvr.h"
  9. namespace Service {
  10. namespace DLP {
  11. static void unk_0x000E0040(Interface* self) {
  12. u32* cmd_buff = Kernel::GetCommandBuffer();
  13. cmd_buff[1] = RESULT_SUCCESS.raw;
  14. cmd_buff[2] = 0;
  15. LOG_WARNING(Service_DLP, "(STUBBED) called");
  16. }
  17. const Interface::FunctionInfo FunctionTable[] = {
  18. {0x00010183, nullptr, "Initialize"},
  19. {0x00020000, nullptr, "Finalize"},
  20. {0x00030000, nullptr, "GetServerState"},
  21. {0x00050080, nullptr, "StartAccepting"},
  22. {0x00070000, nullptr, "StartDistribution"},
  23. {0x000800C0, nullptr, "SendWirelessRebootPassphrase"},
  24. {0x00090040, nullptr, "AcceptClient"},
  25. {0x000B0042, nullptr, "GetConnectingClients"},
  26. {0x000C0040, nullptr, "GetClientInfo"},
  27. {0x000D0040, nullptr, "GetClientState"},
  28. {0x000E0040, unk_0x000E0040, "unk_0x000E0040"},
  29. };
  30. DLP_SRVR_Interface::DLP_SRVR_Interface() {
  31. Register(FunctionTable);
  32. }
  33. } // namespace DLP
  34. } // namespace Service