PMApp:SetFIRMLaunchParams: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00090042] |- | 1 | Size |- | 2 | <nowiki>(Size<<4) | 10</nowiki> |- | 3 | Input ..."
 
Steveice10 (talk | contribs)
 
Line 12: Line 12:
|-
|-
| 2
| 2
| <nowiki>(Size<<4) | 10</nowiki>
| (Size << 4) <nowiki>|</nowiki> 0xA
|-
|-
| 3
| 3
| Input buffer ptr
| FIRM Parameters Pointer
|}
|}



Latest revision as of 04:45, 20 January 2016

Request

Index Word Description
0 Header code [0x00090042]
1 Size
2 (Size << 4) | 0xA
3 FIRM Parameters Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

The size is clamped to 0x1000-bytes, then the input buffer is copied to the mapped buffer for FIRM launch parameters. When the size is less than 0x1000-bytes, then the remainder of the mapped buffer which was not copied to is cleared.