Difference between revisions of "CECDU:WriteRawFile"

From 3dbrew
Jump to navigation Jump to search
(oops)
(oops)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00050042]}}
!  Description
+
{{IPC/RequestEntry|buffer size (unused)}}
|-
+
{{IPC/MapPointerR|buffer address}}
| 0
+
{{IPC/RequestEnd}}
| Header code [0x00050042]
 
|-
 
| 1
 
| buffer size (unused)
 
|-
 
| 2
 
| [[IPC#Buffer_Mapping_Translation|Buffer Mapping Descriptor(R)]] = (buffer_size << 4) | 0xA
 
|-
 
| 3
 
| buffer address
 
|-
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00050042]}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/MapPointerR|buffer address}}
| 0
+
{{IPC/RequestEnd}}
| Header code [0x00050042]
 
|-
 
| 1
 
| Result code
 
|-
 
| 2
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(R)]] = (buffer_size << 4) | 0xA
 
|-
 
| 3
 
| buffer address
 
|-
 
|}
 

Latest revision as of 03:32, 10 September 2016

Request[edit]

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

Response[edit]

Index Word Description
0 Header code [0x00050042]
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 buffer address