Difference between revisions of "AM:GetMetaDataFromCia"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AM:GetCiaMetaSection to AM:GetMetaDataFromCia)
m
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| Value 0x0 for the send-handle translate header for the ARM11 kernel.
+
| 0x0 (Send-handle translate header)
 
|-
 
|-
 
| 3
 
| 3
| File handle
+
| File Handle
 
|-
 
|-
 
| 4
 
| 4
| (Size<<4) <nowiki>|</nowiki> 12
+
| (Size << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 5
 
| 5
| Output buffer pointer
+
| Output Buffer Pointer
 
|}
 
|}
  

Revision as of 06:30, 17 April 2016

Request

Index Word Description
0 Header code [0x04140044]
1 Size
2 0x0 (Send-handle translate header)
3 File Handle
4 (Size << 4) | 0xC
5 Output Buffer Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

This loads the meta section of the specified CIA.

This is used by the DLP-sysmodule for loading the 8-byte meta section of the CVer .cia, which contains a copy of the version.bin.