mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 02:54:24 +00:00
Merge pull request #1143 from etienne-lms/qemu-hpen
qemu: fix holding pen mailbox sequence
This commit is contained in:
commit
907140002e
2 changed files with 3 additions and 1 deletions
|
@ -63,6 +63,7 @@ endfunc plat_is_my_cpu_primary
|
|||
func plat_secondary_cold_boot_setup
|
||||
/* Calculate address of our hold entry */
|
||||
bl plat_my_core_pos
|
||||
lsl x0, x0, #PLAT_QEMU_HOLD_ENTRY_SHIFT
|
||||
mov_imm x2, PLAT_QEMU_HOLD_BASE
|
||||
|
||||
/* Wait until we have a go */
|
||||
|
|
|
@ -90,7 +90,8 @@
|
|||
#define PLAT_QEMU_HOLD_BASE (PLAT_QEMU_TRUSTED_MAILBOX_BASE + 8)
|
||||
#define PLAT_QEMU_HOLD_SIZE (PLATFORM_CORE_COUNT * \
|
||||
PLAT_QEMU_HOLD_ENTRY_SIZE)
|
||||
#define PLAT_QEMU_HOLD_ENTRY_SIZE 8
|
||||
#define PLAT_QEMU_HOLD_ENTRY_SHIFT 3
|
||||
#define PLAT_QEMU_HOLD_ENTRY_SIZE (1 << PLAT_QEMU_HOLD_ENTRY_SHIFT)
|
||||
#define PLAT_QEMU_HOLD_STATE_WAIT 0
|
||||
#define PLAT_QEMU_HOLD_STATE_GO 1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue