Difference between revisions of "CECDU:WriteMessageWithHMAC"

From 3dbrew
Jump to navigation Jump to search
(Use new template)
(Fix request header (still need to figure out the response header))
Line 2: Line 2:
 
{{IPC/Request}}
 
{{IPC/Request}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00060104]}}
+
{{IPC/RequestEntry|Header code [0x00070106]}}
 
{{IPC/RequestEntry|NCCH Program ID}}
 
{{IPC/RequestEntry|NCCH Program ID}}
 
{{IPC/RequestEntry|bool is_out_box?}}
 
{{IPC/RequestEntry|bool is_out_box?}}
Line 15: Line 15:
 
{{IPC/Request}}
 
{{IPC/Request}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00060044]}}
+
{{IPC/RequestEntry|Header code [0x0007????]}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/MapPointerR|buffer address}}
 
{{IPC/MapPointerR|buffer address}}

Revision as of 09:24, 10 September 2016

Request

Index Word Description
0 Header code [0x00070106]
1 NCCH Program ID
2 bool is_out_box?
3 message ID size (unused, always 8)
4 buffer size (unused)
5 Descriptor for mapping a read-only buffer in the target process
6 buffer address
7 Descriptor for mapping a read-only buffer in the target process
8 HMAC key address
9 Descriptor for mapping a read/write buffer in the target process
10 message ID address

Response

Index Word Description
0 Header code [0x0007????]
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 buffer address
4 Descriptor for mapping a read-only buffer in the target process
5 HMAC key address
6 Descriptor for mapping a read/write buffer in the target process
7 message ID address