CECDS:SprSetRecvSlotsMetadata: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Sorunome (talk | contribs)
Created page with "= Request = {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code <code>0x04110042</code>}} {{IPC/RequestEntry|buffer size}} {{IPC/MapPointerR|buffer addr..."
 
Sorunome (talk | contribs)
 
Line 2: Line 2:
{{IPC/Request}}
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code <code>0x04110042</code>}}
{{IPC/RequestHeader|0x0411|1|2}}
{{IPC/RequestEntry|buffer size}}
{{IPC/RequestEntry|buffer size}}
{{IPC/MapPointerR|buffer address}}
{{IPC/MapPointerR|buffer address}}

Latest revision as of 20:50, 16 March 2025

Request

Index Word Description
0
Header 0x04110042 Cmd 0x0411 Param 1 Xlat 2
1 buffer size
2 Descriptor for mapping a read-only buffer in the target process
3 buffer address

Response

Index Word Description
0 Header code
1 Result code

Description

This notifies the cec service of the slots that it will receive shortly by sending it metadata objects for each title. Each metadata object consists out of a tuple of three words: send method, title_id, size whereas the size is the size in bytes of the corresponding spr slot.

Requires the Cec Spr Status to be CEC_SPR_RECEIVE_READY.