mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 12:22:08 +00:00
Change 'success' panic location to end of coldboot_main()
This commit is contained in:
parent
102fb5004f
commit
661bcaa3ec
2 changed files with 2 additions and 4 deletions
|
@ -24,5 +24,7 @@ void coldboot_main(void) {
|
||||||
use_core_entrypoint_and_argument(get_core_id(), &ep, &arg);
|
use_core_entrypoint_and_argument(get_core_id(), &ep, &arg);
|
||||||
|
|
||||||
/* Nintendo jumps to EL1, we jump to EL2. Both are supported with all current packages2. */
|
/* Nintendo jumps to EL1, we jump to EL2. Both are supported with all current packages2. */
|
||||||
|
/* TODO: Remove this panic() when we're ready to test Kernel handoff. */
|
||||||
|
panic(0x7A700001);
|
||||||
__jump_to_lower_el(arg, ep, 2);
|
__jump_to_lower_el(arg, ep, 2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -463,8 +463,4 @@ void load_package2(coldboot_crt0_reloc_list_t *reloc_list) {
|
||||||
|
|
||||||
__asm__ __volatile__("isb");
|
__asm__ __volatile__("isb");
|
||||||
} while(false);
|
} while(false);
|
||||||
|
|
||||||
if (MAILBOX_NX_BOOTLOADER_IS_SECMON_AWAKE) {
|
|
||||||
panic(0x7A700001);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue