Applet Manager services: Difference between revisions
(9 intermediate revisions by 3 users not shown) | |||
Line 1,247: | Line 1,247: | ||
|- | |- | ||
| 320 || [20.0.0+] | | 320 || [20.0.0+] | ||
|- | |||
| 330 || [20.2.0+] | |||
|- | |- | ||
| 500 || [5.0.0+] [[#StartContinuousRecordingFlushForDebug]] | | 500 || [5.0.0+] [[#StartContinuousRecordingFlushForDebug]] | ||
Line 1,515: | Line 1,517: | ||
==== GetLastApplicationExitReason ==== | ==== GetLastApplicationExitReason ==== | ||
No input, returns an output s32. | No input, returns an output s32. | ||
==== Cmd220 ==== | |||
Takes an input u8, no output. | |||
The input must be <=1. | |||
==== CreateMovieWriter ==== | ==== CreateMovieWriter ==== | ||
Line 1,520: | Line 1,527: | ||
This internally uses the GRC cmd to open an [[GRC_services|IMovieWriter]]. This is therefore not usable on NX since that cmd is stubbed. | This internally uses the GRC cmd to open an [[GRC_services|IMovieWriter]]. This is therefore not usable on NX since that cmd is stubbed. | ||
==== Cmd330 ==== | |||
No input, returns 1-byte of output. | |||
On NX this just writes 0 to output and returns 0. | |||
==== StartContinuousRecordingFlushForDebug ==== | ==== StartContinuousRecordingFlushForDebug ==== | ||
Line 3,114: | Line 3,126: | ||
! Cmd || Name || Notes | ! Cmd || Name || Notes | ||
|- | |- | ||
| 2000 || || | | 2000 || GetTipcCompatInterface? || Returns a TIPC handle to [[#TipcCompatInterface]]. | ||
|- | |- | ||
| 2001 || || | | 2001 || || | ||
Line 3,120: | Line 3,132: | ||
| 2002 || || | | 2002 || || | ||
|- | |- | ||
| 2003 || || | | 2003 || || Called directly after "nn::vi::WriteToCopyrightFramebuffer". | ||
|- | |- | ||
| 2004 || || | | 2004 || || | ||
Line 3,128: | Line 3,140: | ||
| 2020 || Initialize? || Called during init. Takes no args. | | 2020 || Initialize? || Called during init. Takes no args. | ||
|- | |- | ||
| 2030 || | | 2030 || GetVsyncEvent? || Takes no args. Returns a event handle. | ||
|- | |- | ||
| 2040 || || | | 2040 || GetVsyncTimestamp? || When above event triggers, this returns a timestamp. | ||
|- | |- | ||
| 2050 || || | | 2050 || || | ||
Line 3,137: | Line 3,149: | ||
|- | |- | ||
| 2070 || CreateMovieMaker || Same args as [[#CreateMovieMaker]]. Returns an [[#IMovieMaker]]. | | 2070 || CreateMovieMaker || Same args as [[#CreateMovieMaker]]. Returns an [[#IMovieMaker]]. | ||
|} | |||
== (Switch 2) TipcCompatInterface == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd (adjusted - 16) || Name || Notes | |||
|- | |||
| 4 || InitializeA || Sends current process handle, and struct { u64 aruid; u64 always_0x8000000000000005; u64 always_0; u64 always_0; u64 always_0; u64 svc_get_info_31_or_32_output; }. | |||
|- | |||
| 11 || InitializeB || Sends current process handle. No args. Sent directly after cmd4. | |||
|- | |||
| 101 || InitializeC || Sent directly after cmd11. | |||
|- | |||
| 111 || || | |||
|- | |||
| 112 || || | |||
|- | |||
| 114 || || | |||
|- | |||
| 115 || || | |||
|- | |||
| 187 || || | |||
|- | |||
| 201 || || | |||
|- | |||
| 301 || || | |||
|- | |||
| 327 || || | |||
|- | |||
| 303 || || | |||
|- | |||
| 311 || || | |||
|- | |||
| 312 || || | |||
|- | |||
| 314 || || | |||
|- | |||
| 315 || || | |||
|- | |||
| 321 || || | |||
|- | |||
| 391 || || | |||
|- | |||
| 401 || || | |||
|- | |||
| 402 || || | |||
|- | |||
| 423 || || | |||
|- | |||
| 434 || || | |||
|- | |||
| 497 || || | |||
|- | |||
| 901 || || | |||
|- | |||
| 902 || || | |||
|- | |||
| 903 || || | |||
|- | |||
| 905 || || | |||
|- | |||
| 911 || || | |||
|- | |||
| 912 || || | |||
|- | |||
| 922 || || | |||
|- | |||
| 961 || || | |||
|- | |||
| 991 || || | |||
|- | |||
| 1001 || || | |||
|- | |||
| 1002 || || | |||
|- | |||
| 1003 || || | |||
|- | |||
| 1101 || || | |||
|- | |||
| 1102 || || | |||
|- | |||
| 1401 || InitializeNvdrv2WithTransferMemory || Takes a TransferMemory handle, and u64 size. Returns an [[#INvDrv2User]]. | |||
|- | |||
| 1402 || InitializeNvdrv2 || Returns an [[#INvDrv2User]]. | |||
|- | |||
| 1501 || || | |||
|- | |||
| 1502 || || | |||
|- | |||
| 1601 || || | |||
|- | |||
| 1602 || || | |||
|- | |||
| 1603 || || | |||
|- | |||
| 1611 || || | |||
|- | |||
| 1612 || || | |||
|- | |||
| 1691 || || | |||
|} | |||
== (Switch 2) INvDrv2User == | |||
This is "nn::nvdrv::INvDrv2User". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || Open | |||
|- | |||
| 1 || Ioctl | |||
|- | |||
| 2 || Close | |||
|- | |||
| 4 || QueryEvent | |||
|- | |||
| 9 || DumpStatus | |||
|- | |||
| 10 || InitializeDevtools | |||
|- | |||
| 11 || Ioctl2 | |||
|- | |||
| 12 || Ioctl3 | |||
|- | |||
| 13 || SetGraphicsFirmwareMemoryMarginEnabled | |||
|} | |} | ||
Line 3,513: | Line 3,651: | ||
| 0x17 | | 0x17 | ||
| 010000000000100F | | 010000000000100F | ||
| [[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] | | [[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] (LibraryAppletOfflineWebApp_0 in Ounce) | ||
|- | |- | ||
| 0x18 | | 0x18 | ||
Line 3,561: | Line 3,699: | ||
| 0x32 | | 0x32 | ||
| 010000000000100F | | 010000000000100F | ||
| [17.0.0+] [[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] | | [17.0.0+] LibraryAppletOfflineWebApp_3 ([[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] in NX) | ||
|- | |- | ||
| 0x33 | | 0x33 | ||
| 010000000000100F | | 010000000000100F | ||
| [17.0.0+] [[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] | | [17.0.0+] LibraryAppletOfflineWebSystem ([[Internet_Browser#Offline_Applet|LibraryAppletOfflineWeb (offlineWeb)]] in NX) | ||
|- | |- | ||
| 0x35 | | 0x35 | ||
| [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | | [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | ||
| [17.0.0+] | | [17.0.0+] LibraryAppletLhub ([16.0.0-16.1.0] ) ([[Internet_Browser#Whitelisted_Applets|LibraryAppletLoginShare (loginShare)]] in NX) | ||
|- | |- | ||
| 0x36 | | 0x36 | ||
| [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | | [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | ||
| [17.0.0+] | | [17.0.0+] LibraryAppletLogin ([16.0.0-16.1.0] ) ([[Internet_Browser#Whitelisted_Applets|LibraryAppletLoginShare (loginShare)]] in NX) | ||
|- | |- | ||
| 0x37 | | 0x37 | ||
| [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | | [17.0.0+] 0100000000001010 ([16.0.0-16.1.0] 0100000000001042) | ||
| [17.0.0+] | | [17.0.0+] LibraryAppletShare ([16.0.0-16.1.0] ) ([[Internet_Browser#Whitelisted_Applets|LibraryAppletLoginShare (loginShare)]] in NX) | ||
|- | |- | ||
| 0x38 | | 0x38 |