Difference between revisions of "RO:LoadCRR"

From 3dbrew
Jump to navigation Jump to search
 
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| [[CRR0|CRR]] buffer pointer
+
| [[CRR0|CRR]] buffer pointer, in the specified(with the below handle) process' memory.
 
|-
 
|-
 
| 2
 
| 2

Latest revision as of 06:09, 19 January 2014

Request[edit]

Index Word Description
0 Header code [0x00020082]
1 CRR buffer pointer, in the specified(with the below handle) process' memory.
2 CRR size
3 Must be zero
4 KProcess handle

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This loads a CRR for the RO module, only one CRR can be loaded at a time. Before RO verifies the input CRR, RO uses ControlProcessMemory to set the memory permissions of the input buffer in the process to R--. If verification of the CRR fails, the permissions are set to RW-.