PSC services: Difference between revisions
No edit summary |
|||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 262: | Line 262: | ||
== SaveReport == | == SaveReport == | ||
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''' and a type-0x5 input buffer containing the [[#SystemReport]]. No output. | Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''' and a type-0x5 input buffer containing the [[#SystemReport]]. No output. | ||
[21.0.0+] Now takes an additional 8-bytes of input. | |||
<code>nn::srepo::detail::VerifyEventId</code> is then used with the [[#EventId]], throwing error on failure. | <code>nn::srepo::detail::VerifyEventId</code> is then used with the [[#EventId]], throwing error on failure. | ||
| Line 271: | Line 273: | ||
== SaveReportWithUser == | == SaveReportWithUser == | ||
Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''', a type-0x5 input buffer containing the [[#SystemReport]] and an input [[Account_services#Uid|Uid]]. No output. | Takes a type-0x9 input buffer containing the [[#EventId]], an input u64 '''ApplicationId''', a type-0x5 input buffer containing the [[#SystemReport]] and an input [[Account_services#Uid|Uid]]. No output. | ||
[21.0.0+] Now takes an additional 8-bytes of input. | |||
Same as [[#SaveReport]] except instead of calling the processing func with Uid=all-zero, the input Uid is passed instead (which must be non-zero). | Same as [[#SaveReport]] except instead of calling the processing func with Uid=all-zero, the input Uid is passed instead (which must be non-zero). | ||
| Line 356: | Line 360: | ||
== NotifyApplicationRightsInfo == | == NotifyApplicationRightsInfo == | ||
Takes an input u64 '''ApplicationId''' and an input u32 (padded to u64). No output. | Takes an input u64 '''ApplicationId''' and an input u32 (padded to u64). No output. | ||
If the input u32 is 0 or none of the bits are recognized, this just returns 0. Otherwise the lowest set bit is used to determine a value to write to stack (the ApplicationId is also written afterwards), for passing to a func. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Bit || Write value | |||
|- | |||
| 0 || 0x2 | |||
|- | |||
| 3 || 0x3 | |||
|- | |||
| 4 || 0x4 | |||
|- | |||
| 5 || [20.1.0+] 0x5 | |||
|- | |||
| 6 || [20.1.0+] 0x6 | |||
|} | |||
== RegisterWatchdog == | == RegisterWatchdog == | ||
| Line 545: | Line 566: | ||
|- | |- | ||
| 20 || [19.0.0+] GetStandardSteadyClockCurrentTimePoint | | 20 || [19.0.0+] GetStandardSteadyClockCurrentTimePoint | ||
|- | |||
| 21 || [22.0.0+] | |||
|- | |- | ||
| 50 || GetStandardLocalClockOperationEvent | | 50 || GetStandardLocalClockOperationEvent | ||
| Line 745: | Line 768: | ||
|- | |- | ||
| 501 || [4.0.0+] CalculateSpanBetween || | | 501 || [4.0.0+] CalculateSpanBetween || | ||
|- | |||
| 600 || [19.0.0+] GetInitialLaunchEndTime || | |||
|- | |||
| 601 || [22.0.0+] || | |||
|} | |} | ||