Applet Manager services: Difference between revisions

No edit summary
No edit summary
Line 483: Line 483:
| 90 || [7.0.0+] SetRequiresGpuResourceUse
| 90 || [7.0.0+] SetRequiresGpuResourceUse
|-
|-
| 101 || [?+] BeginToObserveHidInputForDevelop
| 101 || [5.0.0+] BeginToObserveHidInputForDevelop
|}
|}


Line 877: Line 877:
| 31 || [2.0.0+] [[#GetReaderLockAccessorEx]] ||  
| 31 || [2.0.0+] [[#GetReaderLockAccessorEx]] ||  
|-
|-
| 32 || [7.0.0+] GetWriterLockAccessorEx || Takes a total of 4-bytes of input, returns an output [[#ILockAccessor]].
| 32 || [7.0.0+] [[#GetWriterLockAccessorEx]] ||
|-
|-
| 40 || [2.0.0+] GetCradleFwVersion ||
| 40 || [2.0.0+] GetCradleFwVersion ||
Line 905: Line 905:
| 65 || [5.1.0+] GetApplicationIdByContentActionName ||
| 65 || [5.1.0+] GetApplicationIdByContentActionName ||
|-
|-
| 66 || [6.0.0+] SetCpuBoostMode ||
| 66 || [6.0.0+] [[#SetCpuBoostMode]] ||
|-
|-
| 80 || [6.0.0+] PerformSystemButtonPressingIfInFocus ||
| 80 || [6.0.0+] PerformSystemButtonPressingIfInFocus ||
|-
|-
| 90 || [7.0.0+] SetPerformanceConfigurationChangedNotification || Takes an input u8, no output.
| 90 || [7.0.0+] SetPerformanceConfigurationChangedNotification ||
|-
|-
| 91 || [7.0.0+] GetCurrentPerformanceConfiguration || No input, returns a total of 4-bytes of output.
| 91 || [7.0.0+] GetCurrentPerformanceConfiguration ||
|-
|-
| 200 || [7.0.0+] GetOperationModeSystemInfo || No input, returns a total of 4-bytes of output.
| 200 || [7.0.0+] GetOperationModeSystemInfo ||
|}
|}


Line 961: Line 961:


=== GetReaderLockAccessorEx ===
=== GetReaderLockAccessorEx ===
Takes an input u32, returns an output [[#ILockAccessor]].
=== GetWriterLockAccessorEx ===
Takes an input u32, returns an output [[#ILockAccessor]].
Takes an input u32, returns an output [[#ILockAccessor]].


Line 978: Line 981:
=== GetDefaultDisplayResolutionChangeEvent ===
=== GetDefaultDisplayResolutionChangeEvent ===
No input, returns an output handle.
No input, returns an output handle.
=== SetCpuBoostMode ===
Takes an input u32 '''CpuBoostMode''' (only modes 0 and 1 are valid) and passes it to [[PPC_services#apm:sys|SetCpuBoostMode]].
=== SetPerformanceConfigurationChangedNotification ===
Takes an input u8, no output.
=== GetCurrentPerformanceConfiguration ===
No input, returns the result of calling [[PPC_services#apm:sys|GetCurrentPerformanceConfiguration]].
=== GetOperationModeSystemInfo ===
No input, returns a total of 4-bytes of output.


== ISelfController ==
== ISelfController ==
Line 1,332: Line 1,347:
|-
|-
| 40 || [6.0.0+] GetAppletResourceUsageInfo ||
| 40 || [6.0.0+] GetAppletResourceUsageInfo ||
|-
| 100 || [7.0.0+] [[#SetCpuBoostModeForApplet]] ||
|}
|}


=== OpenMainApplication ===
=== OpenMainApplication ===
No input, returns an output [[#IApplicationAccessor]].
No input, returns an output [[#IApplicationAccessor]].
=== SetCpuBoostModeForApplet ===
Takes an input u32 '''CpuBoostMode''' (only modes 0 and 1 are valid) and passes it to [[PPC_services#apm:sys|SetCpuBoostMode]].


== IStorage ==
== IStorage ==
Line 1,390: Line 1,410:
Returns an [[#IApplicationProxy]]. See [[#appletAE]].
Returns an [[#IApplicationProxy]]. See [[#appletAE]].


Takes a [[IPC_Marshalling|reserved]] input u64(official user-processes use hard-coded value 0), a PID, and a process copy-handle(cur-proc handle alias).
Takes a [[IPC_Marshalling|reserved]] input u64 (official user-processes use hard-coded value 0), a PID, and a process copy-handle (cur-proc handle alias).


On failure, official user-processes will retry using this command in a loop while the retval is 0x19280, with svcSleepThread(10000000) being called first.
On failure, official user-processes will retry using this command in a loop while the retval is 0x19280, with svcSleepThread(10000000) being called first.