mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-06 01:21:18 -04:00
Update pk2ldr outline, prepare for bootup_misc_mmio() impl
This commit is contained in:
parent
303e189559
commit
b3dbfd8ee0
4 changed files with 49 additions and 8 deletions
|
@ -18,9 +18,14 @@ static inline uintptr_t get_nx_bootloader_mailbox_base(void) {
|
|||
|
||||
#define NX_BOOTLOADER_STATE_INIT 0
|
||||
#define NX_BOOTLOADER_STATE_MOVED_BOOTCONFIG 1
|
||||
|
||||
#define NX_BOOTLOADER_STATE_LOADED_PACKAGE2 2
|
||||
#define NX_BOOTLOADER_STATE_FINISHED 3
|
||||
|
||||
#define NX_BOOTLOADER_STATE_DRAM_INITIALIZED_4X 2
|
||||
#define NX_BOOTLOADER_STATE_LOADED_PACKAGE2_4X 3
|
||||
#define NX_BOOTLOADER_STATE_FINISHED_4X 4
|
||||
|
||||
/* Physaddr 0x40002EFC */
|
||||
#define MAILBOX_NX_BOOTLOADER_IS_SECMON_AWAKE (*((volatile uint32_t *)(MAILBOX_NX_BOOTLOADER_BASE + 0xEFCULL)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue