FIRM: Difference between revisions
| No edit summary | |||
| Line 90: | Line 90: | ||
| |- | |- | ||
| | 0x400 | | 0x400 | ||
| | 0x4 | |||
| | Flags | |||
| |- | |||
| | 0x410 | |||
| | 0xC | |||
| | This is used for overriding the FIRM_* fields in [[Configuration_Memory]], when the flag listed below is set, in the following order(basically just data-copy from here to 0x1FF80060): "FIRM_?", FIRM_VERSIONREVISION, FIRM_VERSIONMINOR, FIRM_VERSIONMAJOR, FIRM_SYSCOREVER, and FIRM_CTRSDKVERSION. | |||
| |- | |||
| | 0x438 | |||
| | 0x4 | |||
| | The kernel checks this field for value 0xFFFF, if it matches the kernel uses the rest of these parameter fields, otherwise FIRM-launch parameters fields are ignored by the kernel. | |||
| |} | |||
| Flags from offset 0x400: | |||
| {| class="wikitable" border="1" | |||
| |- | |||
| !  OFFSET | |||
| !  SIZE | |||
| !  DESCRIPTION | |||
| |- | |||
| | 0x0 | |||
| | 0x1 | | 0x1 | ||
| | This can be used for overriding the default FCRAM [[Memory_layout|memory-regions]] allocation sizes(APPLICATION, SYSTEM, and BASE). The values for this is the same as [[Configuration_Memory#APPMEMTYPE|Configmem-APPMEMTYPE]]. Values 0-1 are handled the same way by the kernel. However for NS, 0=titleinfo structure for launching a title isn't set, while non-zero=titleinfo structure is set. | | This can be used for overriding the default FCRAM [[Memory_layout|memory-regions]] allocation sizes(APPLICATION, SYSTEM, and BASE). The values for this is the same as [[Configuration_Memory#APPMEMTYPE|Configmem-APPMEMTYPE]]. Values 0-1 are handled the same way by the kernel. However for NS, 0=titleinfo structure for launching a title isn't set, while non-zero=titleinfo structure is set. | ||
| |- | |- | ||
| |  | | 0x1 | ||
| |  | | 0x3 | ||
| |  | | Setting bit0 here enables overriding the FIRM_* fields in [[Configuration_Memory]]. | ||
| |} | |} | ||