summaryrefslogtreecommitdiff
path: root/src/core/hle/service/pm
diff options
context:
space:
mode:
authorGravatar VolcaEM2020-06-29 04:01:34 +0200
committerGravatar GitHub2020-06-29 04:01:34 +0200
commit6a0010d0c64ff3e023d8f16e543dfaf73c531179 (patch)
tree555a880d3ffce95547fedd0b2eb1a1fdfd829422 /src/core/hle/service/pm
parentMerge pull request #3982 from ReinUsesLisp/membar-cts (diff)
downloadyuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.tar.gz
yuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.tar.xz
yuzu-6a0010d0c64ff3e023d8f16e543dfaf73c531179.zip
service: Update function tables
Diffstat (limited to 'src/core/hle/service/pm')
-rw-r--r--src/core/hle/service/pm/pm.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cpp
index 809eca0ab..f43122ad2 100644
--- a/src/core/hle/service/pm/pm.cpp
+++ b/src/core/hle/service/pm/pm.cpp
@@ -78,13 +78,13 @@ public:
78 : ServiceFramework{"pm:dmnt"}, kernel(kernel) { 78 : ServiceFramework{"pm:dmnt"}, kernel(kernel) {
79 // clang-format off 79 // clang-format off
80 static const FunctionInfo functions[] = { 80 static const FunctionInfo functions[] = {
81 {0, nullptr, "GetDebugProcesses"}, 81 {0, nullptr, "GetJitDebugProcessIdList"},
82 {1, nullptr, "StartDebugProcess"}, 82 {1, nullptr, "StartProcess"},
83 {2, &DebugMonitor::GetTitlePid, "GetTitlePid"}, 83 {2, &DebugMonitor::GetProcessId, "GetProcessId"},
84 {3, nullptr, "EnableDebugForTitleId"}, 84 {3, nullptr, "HookToCreateProcess"},
85 {4, &DebugMonitor::GetApplicationPid, "GetApplicationPid"}, 85 {4, &DebugMonitor::GetApplicationProcessId, "GetApplicationProcessId"},
86 {5, nullptr, "EnableDebugForApplication"}, 86 {5, nullptr, "HookToCreateApplicationProgress"},
87 {6, nullptr, "DisableDebug"}, 87 {6, nullptr, "ClearHook"},
88 }; 88 };
89 // clang-format on 89 // clang-format on
90 90
@@ -92,7 +92,7 @@ public:
92 } 92 }
93 93
94private: 94private:
95 void GetTitlePid(Kernel::HLERequestContext& ctx) { 95 void GetProcessId(Kernel::HLERequestContext& ctx) {
96 IPC::RequestParser rp{ctx}; 96 IPC::RequestParser rp{ctx};
97 const auto title_id = rp.PopRaw<u64>(); 97 const auto title_id = rp.PopRaw<u64>();
98 98
@@ -114,7 +114,7 @@ private:
114 rb.Push((*process)->GetProcessID()); 114 rb.Push((*process)->GetProcessID());
115 } 115 }
116 116
117 void GetApplicationPid(Kernel::HLERequestContext& ctx) { 117 void GetApplicationProcessId(Kernel::HLERequestContext& ctx) {
118 LOG_DEBUG(Service_PM, "called"); 118 LOG_DEBUG(Service_PM, "called");
119 GetApplicationPidGeneric(ctx, kernel.GetProcessList()); 119 GetApplicationPidGeneric(ctx, kernel.GetProcessList());
120 } 120 }
@@ -163,15 +163,15 @@ public:
163 : ServiceFramework{"pm:shell"}, kernel(kernel) { 163 : ServiceFramework{"pm:shell"}, kernel(kernel) {
164 // clang-format off 164 // clang-format off
165 static const FunctionInfo functions[] = { 165 static const FunctionInfo functions[] = {
166 {0, nullptr, "LaunchProcess"}, 166 {0, nullptr, "LaunchProgram"},
167 {1, nullptr, "TerminateProcessByPid"}, 167 {1, nullptr, "TerminateProcess"},
168 {2, nullptr, "TerminateProcessByTitleId"}, 168 {2, nullptr, "TerminateProgram"},
169 {3, nullptr, "GetProcessEventWaiter"}, 169 {3, nullptr, "GetProcessEventHandle"},
170 {4, nullptr, "GetProcessEventType"}, 170 {4, nullptr, "GetProcessEventInfo"},
171 {5, nullptr, "NotifyBootFinished"}, 171 {5, nullptr, "NotifyBootFinished"},
172 {6, &Shell::GetApplicationPid, "GetApplicationPid"}, 172 {6, &Shell::GetApplicationProcessIdForShell, "GetApplicationProcessIdForShell"},
173 {7, nullptr, "BoostSystemMemoryResourceLimit"}, 173 {7, nullptr, "BoostSystemMemoryResourceLimit"},
174 {8, nullptr, "EnableAdditionalSystemThreads"}, 174 {8, nullptr, "BoostApplicationThreadResourceLimit"},
175 {9, nullptr, "GetBootFinishedEventHandle"}, 175 {9, nullptr, "GetBootFinishedEventHandle"},
176 }; 176 };
177 // clang-format on 177 // clang-format on
@@ -180,7 +180,7 @@ public:
180 } 180 }
181 181
182private: 182private:
183 void GetApplicationPid(Kernel::HLERequestContext& ctx) { 183 void GetApplicationProcessIdForShell(Kernel::HLERequestContext& ctx) {
184 LOG_DEBUG(Service_PM, "called"); 184 LOG_DEBUG(Service_PM, "called");
185 GetApplicationPidGeneric(ctx, kernel.GetProcessList()); 185 GetApplicationPidGeneric(ctx, kernel.GetProcessList());
186 } 186 }