PSC services: Difference between revisions
Line 290: | Line 290: | ||
The mapped TransferMemory buffer is used with <code>nn::srepo::detail::VerifyReport</code>, returning an error on failure. | The mapped TransferMemory buffer is used with <code>nn::srepo::detail::VerifyReport</code>, returning an error on failure. | ||
== Cmd11000 == | |||
Takes a type-0x9 input buffer containing an array of a 0x10-byte struct, no output. | |||
The Sf handler code (func which calls the serv obj vfunc) will throw an error if the buffer size is >0x8F (that is, >8 entries). | |||
This gets data from a state list, then clears the is_initialized flag for each entry. Lastly when the input array count is non-zero, this loops through the input array writing each entry into the aforementioned state list. If this would run out of space, it would skip writing that entry and still continue - however this shouldn't be possible with the above Sf check. Then this returns 0. | |||
== Cmd11001 == | |||
Takes a 0x10-byte input struct, no output. | |||
This calls the same state-reset func as [[#Cmd11000]], except this passes the input struct instead. Then this returns 0. | |||
== Cmd11002 == | |||
Takes a 0x10-byte input struct, no output. | |||
This calls the same state-writing func as [[#Cmd11000]], except this passes the input struct instead. Then this returns 0. | |||
== Cmd11005 == | == Cmd11005 == |