mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 22:02:15 +00:00
fusee-secondary: add content type to content headers
This commit is contained in:
parent
a38927ec04
commit
e5bedd52ac
1 changed files with 22 additions and 13 deletions
|
@ -85,11 +85,20 @@ _metadata:
|
||||||
#undef TO_WORD_
|
#undef TO_WORD_
|
||||||
#undef TO_WORD
|
#undef TO_WORD
|
||||||
|
|
||||||
|
#define CONTENT_TYPE_FSP 0
|
||||||
|
#define CONTENT_TYPE_EXO 1
|
||||||
|
#define CONTENT_TYPE_WBT 2
|
||||||
|
#define CONTENT_TYPE_RBT 3
|
||||||
|
#define CONTENT_TYPE_SP1 4
|
||||||
|
#define CONTENT_TYPE_SP2 5
|
||||||
|
#define CONTENT_TYPE_KIP 6
|
||||||
|
#define CONTENT_TYPE_BMP 7
|
||||||
|
|
||||||
_content_headers:
|
_content_headers:
|
||||||
/* ams_mitm content header */
|
/* ams_mitm content header */
|
||||||
.word __ams_mitm_kip_start__
|
.word __ams_mitm_kip_start__
|
||||||
.word __ams_mitm_kip_size__
|
.word __ams_mitm_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "ams_mitm"
|
.asciz "ams_mitm"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -97,7 +106,7 @@ _content_headers:
|
||||||
/* boot_100 content header */
|
/* boot_100 content header */
|
||||||
.word __boot_100_kip_start__
|
.word __boot_100_kip_start__
|
||||||
.word __boot_100_kip_size__
|
.word __boot_100_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "boot_100"
|
.asciz "boot_100"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -105,7 +114,7 @@ _content_headers:
|
||||||
/* boot_200 content header */
|
/* boot_200 content header */
|
||||||
.word __boot_200_kip_start__
|
.word __boot_200_kip_start__
|
||||||
.word __boot_200_kip_size__
|
.word __boot_200_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "boot_200"
|
.asciz "boot_200"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -113,7 +122,7 @@ _content_headers:
|
||||||
/* exosphere content header */
|
/* exosphere content header */
|
||||||
.word __exosphere_bin_start__
|
.word __exosphere_bin_start__
|
||||||
.word __exosphere_bin_size__
|
.word __exosphere_bin_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_EXO
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "exosphere"
|
.asciz "exosphere"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -121,7 +130,7 @@ _content_headers:
|
||||||
/* fusee_primary content header */
|
/* fusee_primary content header */
|
||||||
.word __fusee_primary_bin_start__
|
.word __fusee_primary_bin_start__
|
||||||
.word __fusee_primary_bin_size__
|
.word __fusee_primary_bin_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_FSP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "fusee_primary"
|
.asciz "fusee_primary"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -129,7 +138,7 @@ _content_headers:
|
||||||
/* loader content header */
|
/* loader content header */
|
||||||
.word __loader_kip_start__
|
.word __loader_kip_start__
|
||||||
.word __loader_kip_size__
|
.word __loader_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "loader"
|
.asciz "loader"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -137,7 +146,7 @@ _content_headers:
|
||||||
/* lp0fw content header */
|
/* lp0fw content header */
|
||||||
.word __lp0fw_bin_start__
|
.word __lp0fw_bin_start__
|
||||||
.word __lp0fw_bin_size__
|
.word __lp0fw_bin_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_WBT
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "lp0fw"
|
.asciz "lp0fw"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -145,7 +154,7 @@ _content_headers:
|
||||||
/* pm content header */
|
/* pm content header */
|
||||||
.word __pm_kip_start__
|
.word __pm_kip_start__
|
||||||
.word __pm_kip_size__
|
.word __pm_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "pm"
|
.asciz "pm"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -153,7 +162,7 @@ _content_headers:
|
||||||
/* rebootstub content header */
|
/* rebootstub content header */
|
||||||
.word __rebootstub_bin_start__
|
.word __rebootstub_bin_start__
|
||||||
.word __rebootstub_bin_size__
|
.word __rebootstub_bin_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_RBT
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "rebootstub"
|
.asciz "rebootstub"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -161,7 +170,7 @@ _content_headers:
|
||||||
/* sept_primary content header */
|
/* sept_primary content header */
|
||||||
.word __sept_primary_bin_start__
|
.word __sept_primary_bin_start__
|
||||||
.word __sept_primary_bin_size__
|
.word __sept_primary_bin_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_SP1
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "sept_primary"
|
.asciz "sept_primary"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -169,7 +178,7 @@ _content_headers:
|
||||||
/* sept_secondary content header */
|
/* sept_secondary content header */
|
||||||
.word __sept_secondary_enc_start__
|
.word __sept_secondary_enc_start__
|
||||||
.word __sept_secondary_enc_size__
|
.word __sept_secondary_enc_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_SP2
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "sept_secondary"
|
.asciz "sept_secondary"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -177,7 +186,7 @@ _content_headers:
|
||||||
/* sm content header */
|
/* sm content header */
|
||||||
.word __sm_kip_start__
|
.word __sm_kip_start__
|
||||||
.word __sm_kip_size__
|
.word __sm_kip_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_KIP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "sm"
|
.asciz "sm"
|
||||||
.align 5
|
.align 5
|
||||||
|
@ -185,7 +194,7 @@ _content_headers:
|
||||||
/* splash_screen content header */
|
/* splash_screen content header */
|
||||||
.word __splash_screen_bmp_start__
|
.word __splash_screen_bmp_start__
|
||||||
.word __splash_screen_bmp_size__
|
.word __splash_screen_bmp_size__
|
||||||
.word 0xCCCCCCCC
|
.word CONTENT_TYPE_BMP
|
||||||
.word 0xCCCCCCCC
|
.word 0xCCCCCCCC
|
||||||
.asciz "splash_screen"
|
.asciz "splash_screen"
|
||||||
.align 5
|
.align 5
|
||||||
|
|
Loading…
Reference in a new issue