Applet Manager services: Difference between revisions

Line 20: Line 20:
| 350 || OpenSystemApplicationProxy || Returns an [[#IApplicationProxy]].
| 350 || OpenSystemApplicationProxy || Returns an [[#IApplicationProxy]].
|-
|-
| 400 || CreateSelfLibraryAppletCreatorForDevelop || Takes a PID and an input u64 pid_placeholder, returns an [[#ILibraryAppletCreator]].
| 400 || [[#CreateSelfLibraryAppletCreatorForDevelop]] ||
|-
|-
| 410 || [6.0.0+] [[#GetSystemAppletControllerForDebug]] ||  
| 410 || [6.0.0+] [[#GetSystemAppletControllerForDebug]] ||  
Line 45: Line 45:
Official user-processes use the same retry loop with this as the other Open*Proxy commands.
Official user-processes use the same retry loop with this as the other Open*Proxy commands.


== GetSystemAppletControllerForDebug ==
== CreateSelfLibraryAppletCreatorForDevelop ==
No input, returns an [[#ISystemAppletControllerForDebug]].
Takes a PID and an input u64 pid_placeholder, returns an [[#ILibraryAppletCreator]].


The cached value loaded from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned.
The cached value loaded from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned.


The cached value loaded from [[System_Settings|system-setting]] <code>am.debug!dev_function</code> must be set to 0x1 with size 0x1, otherwise an error is returned.
The cached value loaded from [[System_Settings|system-setting]] <code>am.debug!dev_function</code> must be set to 0x1 with size 0x1, otherwise an error is returned.
== GetSystemAppletControllerForDebug ==
No input, returns an [[#ISystemAppletControllerForDebug]].
The cached value loaded from [[System_Settings|system-setting]] <code>am.debug!dev_function</code> must be set to 0x1 with size 0x1, and various state checks must pass, otherwise 0 is returned with no output interface.


== GetDebugFunctions ==
== GetDebugFunctions ==