Configuration Memory: Difference between revisions

No edit summary
No edit summary
Line 9: Line 9:
| 1
| 1
|-
|-
| KERNEL_VERSIONMINOR
| KERNEL_VERSIONREVISION
| 0x1FF80001
| 0x1FF80001
| 1
| 1
|-
|-
| KERNEL_VERSIONMAJOR
| KERNEL_VERSIONMINOR
| 0x1FF80002
| 0x1FF80002
| 1
| 1
|-
|-
| ?
| KERNEL_VERSIONMAJOR
| 0x1FF80003
| 0x1FF80003
| 1
| 1
Line 49: Line 49:
| 1
| 1
|-
|-
| FIRM_VERSIONMINOR
| FIRM_VERSIONREVISION
| 0x1FF80061
| 0x1FF80061
| 1
| 1
|-
|-
| FIRM_VERSIONMAJOR
| FIRM_VERSIONMINOR
| 0x1FF80062
| 0x1FF80062
| 1
| 1
|-
|-
| ?
| FIRM_VERSIONMAJOR
| 0x1FF80063
| 0x1FF80063
| 1
| 1
Line 83: Line 83:
Unknown, this is normally value 0.
Unknown, this is normally value 0.


=== KERNEL_VERSIONMINOR / FIRM_VERSIONMINOR ===
=== KERNEL_VERSIONREVISION / FIRM_VERSIONREVISION ===
This is the [[FIRM]] version-minor, this likely isn't obtained from the [[FIRM]] title-version.
This is the version-revision for the currently running [[FIRM]].


=== KERNEL_VERSIONMAJOR ===
=== KERNEL_VERSIONMINOR ===
This is the ((title-version & 0x3FF) >> 4), for the currently running [[FIRM]].
This is the version-minor from ((title-version & 0x3FF) >> 4), for the currently running [[FIRM]]. The values from KERNEL_VERSIONMINOR and KERNEL_VERSIONMAJOR can be stored in applications' [[NCCH#CXI|CXI]] exheader.


=== FIRM_VERSIONMAJOR ===
=== FIRM_VERSIONMINOR ===
This is the same as KERNEL_VERSIONMAJOR. After [[AM:InstallNATIVEFIRM]] checks FIRM_SYSCOREVER, [[AM:InstallNATIVEFIRM]] then compares FIRM_VERSIONMAJOR with the NATIVE_FIRM ((title-version & 0x3FF) >> 4), when the latter is larger than FIRM_VERSIONMAJOR [[AM:InstallNATIVEFIRM]] will trigger a [[FIRM]] install.
This is the same as KERNEL_VERSIONMINOR. After [[AM:InstallNATIVEFIRM]] checks FIRM_SYSCOREVER, [[AM:InstallNATIVEFIRM]] then compares FIRM_VERSIONMINOR with the NATIVE_FIRM ((title-version & 0x3FF) >> 4), when the latter is larger than FIRM_VERSIONMINOR [[AM:InstallNATIVEFIRM]] will trigger a [[FIRM]] install.


=== 0x1FF80003 / 0x1FF80063 ===
=== KERNEL_VERSIONMAJOR / FIRM_VERSIONMAJOR ===
Unknown, this is normally value 2.
This is the version-major for the currently running [[FIRM]].


=== UPDATEFLAG ===
=== UPDATEFLAG ===