Difference between revisions of "Process Manager Services"

From 3dbrew
Jump to navigation Jump to search
m
m (Add anchors, add to Category:Services)
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Anchor|PMApp}}{{Anchor|PMAPP}}{{Anchor|pm:app}}
 
= Process Manager app service "pm:app" =
 
= Process Manager app service "pm:app" =
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 9: Line 10:
 
|-
 
|-
 
| 0x00020082
 
| 0x00020082
| [[PMApp:LaunchFIRMSetParams|LaunchFIRMSetParams]]
+
| [[PMApp:LaunchFIRM|LaunchFIRM]]
 
|-
 
|-
 
| 0x00030080
 
| 0x00030080
| Terminates processes. The input u64 @ cmdbuf+4 is timeout in nanoseconds.
+
| [[PMApp:TerminateApplication|TerminateApplication]]
 
|-
 
|-
 
| 0x00040100
 
| 0x00040100
| [[PMApp:TerminateProcessTID|TerminateProcessTID]]
+
| [[PMApp:TerminateTitle|TerminateTitle]]
 
|-
 
|-
 
| 0x000500C0
 
| 0x000500C0
| Mostly the same as TerminateProcessTID, except this uses an unknown process field instead of the TID.
+
| [[PMApp:TerminateProcess|TerminateProcess]]
 
|-
 
|-
 
| 0x00060082
 
| 0x00060082
| (u64 val, 0x0, processid) Probably used to send the termination signal to the specified process?
+
| [[PMApp:PrepareForReboot|PrepareForReboot]]
 
|-
 
|-
 
| 0x00070042
 
| 0x00070042
Line 33: Line 34:
 
|-
 
|-
 
| 0x000A0140
 
| 0x000A0140
| [[PMApp:SetResourceLimit|SetResourceLimit]]
+
| [[PMApp:SetAppResourceLimit|SetAppResourceLimit]]
 
|-
 
|-
 
| 0x000B0140
 
| 0x000B0140
| Interface for [[SVC|svcGetResourceLimitLimitValues]].
+
| [[PMApp:GetAppResourceLimit|GetAppResourceLimit]]
 
|-
 
|-
 
| 0x000C0080
 
| 0x000C0080
| (u64 programID) Process shutdown related?
+
| [[PMApp:UnregisterProcess|UnregisterProcess]]
 
|-
 
|-
 
| 0x000D0240
 
| 0x000D0240
Line 45: Line 46:
 
|}
 
|}
  
 +
{{Anchor|PMDbg}}{{Anchor|PMDBG}}{{Anchor|pm:dbg}}
 
= Process Manager debug service "pm:dbg" =
 
= Process Manager debug service "pm:dbg" =
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
!  Command Header
 
!  Command Header
!  Available since system version
 
 
!  Description
 
!  Description
 
|-
 
|-
| 0x0001....
+
| 0x00010140
|
+
| [[PMDbg:LaunchAppDebug|LaunchAppDebug]]
| [[PMDbg:LaunchTitleDebug|LaunchTitleDebug]]
 
 
|-
 
|-
| 0x0002....
+
| 0x00020140
|
+
| [[PMDbg:LaunchApp|LaunchApp]]
| [[PMDbg:LaunchTitle|LaunchTitle]]
 
 
|-
 
|-
 
| 0x00030000
 
| 0x00030000
| ?
+
| [[PMDbg:RunQueuedProcess|RunQueuedProcess]]
| ?
 
 
|}
 
|}
  
 
A maximum of three sessions can be open with both of these services combined, therefore only three processes can use either of these services at once.
 
A maximum of three sessions can be open with both of these services combined, therefore only three processes can use either of these services at once.
 +
 +
[[Category:Services]]

Latest revision as of 12:26, 18 September 2024

Process Manager app service "pm:app"[edit]

Command Header Description
0x00010140 LaunchTitle
0x00020082 LaunchFIRM
0x00030080 TerminateApplication
0x00040100 TerminateTitle
0x000500C0 TerminateProcess
0x00060082 PrepareForReboot
0x00070042 GetFIRMLaunchParams
0x00080100 GetTitleExheaderFlags
0x00090042 SetFIRMLaunchParams
0x000A0140 SetAppResourceLimit
0x000B0140 GetAppResourceLimit
0x000C0080 UnregisterProcess
0x000D0240 LaunchTitleUpdate

Process Manager debug service "pm:dbg"[edit]

Command Header Description
0x00010140 LaunchAppDebug
0x00020140 LaunchApp
0x00030000 RunQueuedProcess

A maximum of three sessions can be open with both of these services combined, therefore only three processes can use either of these services at once.