Line 1: |
Line 1: |
| =Request= | | =Request= |
− | {| class="wikitable" border="1" | + | {{IPC/Request}} |
− | |-
| + | {{#vardefine:ipc_offset|0}} |
− | ! Index Word
| + | {{IPC/RequestEntry|Header code [0x00120104]}} |
− | ! Description
| + | {{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}} |
− | | 1
| + | {{IPC/MapPointerW|buffer address}} |
− | | buffer size (unused) | + | {{IPC/RequestEnd}} |
− | |-
| |
− | | 2
| |
− | | NCCH Program ID | |
− | |-
| |
− | | 3
| |
− | | [[CECD_Services#CecDataPathType|Path type]] | |
− | |- | |
− | | 4
| |
− | | ?
| |
− | |-
| |
− | | 5
| |
− | | 0x20
| |
− | |-
| |
− | | 7
| |
− | | (buffer size << 4) <nowiki>|</nowiki> 0xC
| |
− | |-
| |
− | | 8
| |
− | | buffer | |
− | |}
| |
| | | |
| =Response= | | =Response= |
− | {| class="wikitable" border="1" | + | {{IPC/Request}} |
− | |-
| + | {{#vardefine:ipc_offset|0}} |
− | ! Index Word
| + | {{IPC/RequestEntry|Header code [0x00120082]}} |
− | ! Description
| + | {{IPC/RequestEntry|Result code}} |
− | |-
| + | {{IPC/RequestEntry|Total bytes read}} |
− | | 0 | + | {{IPC/MapPointerW|buffer address}} |
− | | Header code | + | {{IPC/RequestEnd}} |
− | |-
| |
− | | 1
| |
− | | Result code | |
− | |-
| |
− | | 2
| |
− | | Total bytes read | |
− | |- | |
− | |}
| |