mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
最新SDK対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@276 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
042bbc08d3
commit
ba33ee2fbf
@ -42,9 +42,9 @@ void OS_BootWithRomHeaderFromFIRM( ROM_Header* rom_header )
|
|||||||
void *stack_top = (void*)(HW_WRAM_AREA_END - HW_PRV_WRAM_SYSRV_SIZE - HW_SVC_STACK_SIZE - (u32)SDK_IRQ_STACKSIZE);
|
void *stack_top = (void*)(HW_WRAM_AREA_END - HW_PRV_WRAM_SYSRV_SIZE - HW_SVC_STACK_SIZE - (u32)SDK_IRQ_STACKSIZE);
|
||||||
#endif
|
#endif
|
||||||
void *wram_reg = rom_header->s.main_wram_config_data;
|
void *wram_reg = rom_header->s.main_wram_config_data;
|
||||||
|
REBOOTTarget target = REBOOT_TARGET_NAND_MENU;
|
||||||
BOOL scfg = TRUE; // no touch
|
BOOL scfg = TRUE; // no touch
|
||||||
BOOL jtag = FALSE; // no touch
|
BOOL jtag = FALSE; // no touch
|
||||||
BOOL ds = FALSE; // TWL mode
|
|
||||||
static u32 clr_list[32];
|
static u32 clr_list[32];
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ void OS_BootWithRomHeaderFromFIRM( ROM_Header* rom_header )
|
|||||||
}
|
}
|
||||||
#endif // SDK_ARM7
|
#endif // SDK_ARM7
|
||||||
clr_list[i++] = NULL;
|
clr_list[i++] = NULL;
|
||||||
REBOOT_Execute(entry, wram_reg, clr_list, code_buf, stack_top, scfg, jtag, ds);
|
REBOOT_Execute(entry, wram_reg, clr_list, code_buf, stack_top, target, scfg, jtag);
|
||||||
OS_Terminate();
|
OS_Terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user