mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
REBOOT_Execute仕様変更に対応。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@983 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
8f40e9bb55
commit
0460e64d9b
@ -44,8 +44,9 @@ void OS_BootWithRomHeaderFromFIRM( ROM_Header* rom_header )
|
|||||||
#endif
|
#endif
|
||||||
void *const wram_reg = rom_header->s.main_wram_config_data;
|
void *const wram_reg = rom_header->s.main_wram_config_data;
|
||||||
REBOOTTarget target = rom_header->s.titleID_Hi & TITLE_ID_HI_SECURE_FLAG_MASK ? REBOOT_TARGET_TWL_SECURE : (rom_header->s.titleID_Hi & TITLE_ID_HI_APP_TYPE_MASK ? REBOOT_TARGET_TWL_SYSTEM : REBOOT_TARGET_TWL_APP);
|
REBOOTTarget target = rom_header->s.titleID_Hi & TITLE_ID_HI_SECURE_FLAG_MASK ? REBOOT_TARGET_TWL_SECURE : (rom_header->s.titleID_Hi & TITLE_ID_HI_APP_TYPE_MASK ? REBOOT_TARGET_TWL_SYSTEM : REBOOT_TARGET_TWL_APP);
|
||||||
BOOL scfg = TRUE; // no touch
|
BOOL scfg = TRUE; // no touch
|
||||||
BOOL jtag = FALSE; // no touch
|
BOOL set_jtag = FALSE; // no touch
|
||||||
|
BOOL forbid_jtag = FALSE; // no touch
|
||||||
static u32 mem_list[32];
|
static u32 mem_list[32];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
@ -116,7 +117,7 @@ void OS_BootWithRomHeaderFromFIRM( ROM_Header* rom_header )
|
|||||||
OS_Terminate();
|
OS_Terminate();
|
||||||
}
|
}
|
||||||
#endif // FIRM_USE_SDK_KEYS
|
#endif // FIRM_USE_SDK_KEYS
|
||||||
REBOOT_Execute(entry, wram_reg, mem_list, code_buf, stack_top, target, scfg, jtag);
|
REBOOT_Execute(entry, wram_reg, mem_list, code_buf, stack_top, target, scfg, set_jtag, forbid_jtag);
|
||||||
OS_Terminate();
|
OS_Terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user