The interface snx::ctr::file_wire of file.swipc, a session a service opens (no port of its own). 2 commands; the handlers are in src/3ds/services.
Read (0x802) uses a separately checked CTR mapped output buffer.
command 0x804: request 0x08040000, response 0x080400c0
| Word | Contents |
|---|---|
| 0 | header 0x08040000: command 0x804, 0 normal words, 0 translated |
| Word | Contents |
|---|---|
| 0 | header 0x080400c0: command 0x804, 3 normal words, 0 translated |
| 1 | the result: 0 for success. A failed command's response is the header and the result alone |
| 2 | size, low word: u64 |
| 3 | size, high word: u64 |
uint32_t snx_ctr_file_wire_GetSize(SnxCtrIpc* c, uint64_t* a_size)
command 0x808: request 0x08080000, response 0x08080040
| Word | Contents |
|---|---|
| 0 | header 0x08080000: command 0x808, 0 normal words, 0 translated |
| Word | Contents |
|---|---|
| 0 | header 0x08080040: command 0x808, 1 normal word, 0 translated |
| 1 | the result: 0 for success. A failed command's response is the header and the result alone |
uint32_t snx_ctr_file_wire_Close(SnxCtrIpc* c)
Made from ScarletNX's Sail at 166ad3910f80. The schemas and the handlers are ScarletNX's (GPL-3.0-or-later).