PSC services: Difference between revisions

Line 180: Line 180:


These were added with [5.0.0+].
These were added with [5.0.0+].
Some commands are only accessible by srepo:a. srepo:a is only accessible by [[BCAT_services|bcat]] on retail.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 259: Line 261:
| 20600 || [15.0.0+]
| 20600 || [15.0.0+]
|}
|}
[10.0.0+] Cmd20100 now takes an additional 0x10-bytes of input.


== Cmd10300 ==
== Cmd10300 ==
Line 281: Line 281:


The SharedMemory is mapped with the returned size and with permissions=RW.
The SharedMemory is mapped with the returned size and with permissions=RW.
== Cmd20100 ==
Takes a type-0x16 output buffer and a type-0x6 output buffer, returns a total of 0x28-bytes of output.
[10.0.0+] This now takes an additional 0x10-bytes of input.
This is only usable with srepo:a.
== Cmd20200 ==
No input, returns an output handle.
This is only usable with srepo:a.
== Cmd20400 ==
Takes an input u32 index, returns two output u64s.
The input index must be <=1. This gets data from a state array with the specified index.
== Cmd20401 ==
No input, returns two output u64s.
The first u64 is a constant value, while the second u64 is from state.
== Cmd20402 ==
Takes an input s64 and u64, no output.
The input s64 must be >=1. The two input fields are written into global state, and various state is also cleared.
== Cmd20500 ==
No input, returns two output u64s.
This gets two u64s from global state.
== Cmd20600 ==
Takes a 0x10-byte input struct and an u32, no output.
This goes through a list looking for an entry with data matching the input struct, then writes the input u32 into that entry.
This always returns 0.


== ISyslogLogger ==
== ISyslogLogger ==