Difference between revisions of "CECDU:ReadRawFile"

From 3dbrew
Jump to navigation Jump to search
(Use new template)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00020042]}}
!  Description
+
{{IPC/RequestEntry|buffer size (unused)}}
|-
+
{{IPC/MapPointerW|buffer address}}
| 0
+
{{IPC/RequestEnd}}
| Header code [0x00020042]
 
|-
 
| 1
 
| buffer size (unused)
 
|-
 
| 2
 
| [[IPC#Buffer_Mapping_Translation|Buffer Mapping Descriptor(W)]] = (buffer_size << 4) | 0xC
 
|-
 
| 3
 
| buffer address
 
|-
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00020082]}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntry|Read size}}
| 0
+
{{IPC/MapPointerW|buffer address}}
| Header code [0x00020082]
+
{{IPC/RequestEnd}}
|-
 
| 1
 
| Result code
 
|-
 
| 2
 
| Read size
 
|-
 
| 3
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(W)]] = (buffer_size << 4) | 0xC
 
|-
 
| 4
 
| buffer address
 
|-
 
|}
 

Latest revision as of 03:23, 10 September 2016

Request[edit]

Index Word Description
0 Header code [0x00020042]
1 buffer size (unused)
2 Descriptor for mapping a write-only buffer in the target process
3 buffer address

Response[edit]

Index Word Description
0 Header code [0x00020082]
1 Result code
2 Read size
3 Descriptor for mapping a write-only buffer in the target process
4 buffer address