Exosphere: Fix relocation bug (warmboot relocs currently broken in edge case)

This commit is contained in:
Michael Scire 2018-05-18 03:10:06 -06:00
parent e0a5acd0ba
commit 1a9f095463
3 changed files with 9 additions and 6 deletions

View file

@ -122,6 +122,7 @@ uintptr_t get_coldboot_crt0_stack_address(void) {
void coldboot_init(coldboot_crt0_reloc_list_t *reloc_list, uintptr_t start_cold) {
//MAILBOX_NX_SECMON_BOOT_TIME = TIMERUS_CNTR_1US_0;
//MAKE_REG32(0x7000E400ULL) = 0x10;
/* Custom approach */
reloc_list->reloc_base = start_cold;