pm_control.cpp 824 B

12345678910111213141516171819202122232425262728
  1. // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "core/hle/service/psc/pm_control.h"
  4. namespace Service::PSC {
  5. IPmControl::IPmControl(Core::System& system_) : ServiceFramework{system_, "psc:c"} {
  6. // clang-format off
  7. static const FunctionInfo functions[] = {
  8. {0, nullptr, "Initialize"},
  9. {1, nullptr, "DispatchRequest"},
  10. {2, nullptr, "GetResult"},
  11. {3, nullptr, "GetState"},
  12. {4, nullptr, "Cancel"},
  13. {5, nullptr, "PrintModuleInformation"},
  14. {6, nullptr, "GetModuleInformation"},
  15. {10, nullptr, "AcquireStateLock"},
  16. {11, nullptr, "HasStateLock"},
  17. };
  18. // clang-format on
  19. RegisterHandlers(functions);
  20. }
  21. IPmControl::~IPmControl() = default;
  22. } // namespace Service::PSC