Difference between revisions of "AM:GetMetaDataFromCia"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AM:GetCiaMetaSection to AM:GetMetaDataFromCia)
 
(One intermediate revision by one other user not shown)
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
 
|}
 
|}
  
Line 35: Line 35:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| Size of read data
 +
|-
 
|}
 
|}
  

Latest revision as of 19:48, 14 August 2022

Request[edit]

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[edit]

Index Word Description
0 Header code
1 Result code
2 Size of read data

Description[edit]

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.