Difference between revisions of "CECDU:WriteMessage"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060104] |- | 1 | NCCH Program ID |- | 2 | bool is_out_box? |- | 3 | message...")
 
(oops)
Line 41: Line 41:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x00060084]
+
| Header code [0x00060044]
 
|-
 
|-
 
| 1
 
| 1
Line 47: Line 47:
 
|-
 
|-
 
| 2
 
| 2
| Read size
 
|-
 
| 5
 
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(R)]] = (buffer_size << 4) | 0xA
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(R)]] = (buffer_size << 4) | 0xA
 
|-
 
|-
| 6
+
| 3
 
| buffer address
 
| buffer address
 
|-
 
|-
| 7
+
| 4
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(RW)]] = (message_ID_size << 4) | 0xE
 
| [[IPC#Buffer_Mapping_Translation|Buffer Unmapping Descriptor(RW)]] = (message_ID_size << 4) | 0xE
 
|-
 
|-
| 8
+
| 5
 
| message ID address
 
| message ID address
 
|-
 
|-
 
|}
 
|}

Revision as of 04:42, 9 September 2016

Request

Index Word Description
0 Header code [0x00060104]
1 NCCH Program ID
2 bool is_out_box?
3 message ID size (unused, always 8)
4 buffer size (unused)
5 Buffer Mapping Descriptor(R) = (buffer_size << 4) | 0xA
6 buffer address
7 Buffer Mapping Descriptor(RW) = (message_ID_size << 4) | 0xE
8 message ID address

Response

Index Word Description
0 Header code [0x00060044]
1 Result code
2 Buffer Unmapping Descriptor(R) = (buffer_size << 4) | 0xA
3 buffer address
4 Buffer Unmapping Descriptor(RW) = (message_ID_size << 4) | 0xE
5 message ID address