Difference between revisions of "CECDU:OpenAndRead"
Jump to navigation
Jump to search
(Use new template) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
− | { | + | {{IPC/Request}} |
− | + | {{#vardefine:ipc_offset|0}} | |
− | + | {{IPC/RequestEntry|Header code [0x00120104]}} | |
− | + | {{IPC/RequestEntry|buffer size (unused)}} | |
− | + | {{IPC/RequestEntry|NCCH Program ID}} | |
− | | 0 | + | {{IPC/RequestEntry|[[CECD_Services#CecDataPathType|Path type]]}} |
− | | Header code [0x00120104] | + | {{IPC/RequestEntry|file open flag?}} |
− | + | {{IPC/ProcessID}} | |
− | + | {{IPC/MapPointerW|buffer address}} | |
− | | buffer size (unused) | + | {{IPC/RequestEnd}} |
− | |||
− | |||
− | | NCCH Program ID | ||
− | |||
− | |||
− | | [[CECD_Services#CecDataPathType|Path type]] | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | buffer | ||
− | |||
=Response= | =Response= | ||
− | { | + | {{IPC/Request}} |
− | + | {{#vardefine:ipc_offset|0}} | |
− | + | {{IPC/RequestEntry|Header code [0x00120082]}} | |
− | + | {{IPC/RequestEntry|Result code}} | |
− | + | {{IPC/RequestEntry|Total bytes read}} | |
− | | 0 | + | {{IPC/MapPointerW|buffer address}} |
− | | Header code | + | {{IPC/RequestEnd}} |
− | |||
− | |||
− | | Result code | ||
− | |||
− | |||
− | | Total bytes read | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 10:20, 10 September 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00120104] |
1 | buffer size (unused) |
2 | NCCH Program ID |
3 | Path type |
4 | file open flag? |
5 | Descriptor for process ID |
6 | Placeholder for process ID |
7 | Descriptor for mapping a write-only buffer in the target process |
8 | buffer address |
Response[edit]
Index Word | Description |
---|---|
0 | Header code [0x00120082] |
1 | Result code |
2 | Total bytes read |
3 | Descriptor for mapping a write-only buffer in the target process |
4 | buffer address |