CECDU:WriteMessageWithHMAC: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Neobrain (talk | contribs)
Fix request header (still need to figure out the response header)
Neobrain (talk | contribs)
No edit summary
 
Line 15: Line 15:
{{IPC/Request}}
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x0007????]}}
{{IPC/RequestEntry|Header code [0x00070046]}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/MapPointerR|buffer address}}
{{IPC/MapPointerR|buffer address}}

Latest revision as of 10:25, 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 [0x00070046]
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