Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
90714000
Commit
90714000
authored
Oct 26, 2017
by
davidcunado-arm
Committed by
GitHub
Oct 26, 2017
Browse files
Merge pull request #1143 from etienne-lms/qemu-hpen
qemu: fix holding pen mailbox sequence
parents
cebec742
33dd33f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/qemu/aarch64/plat_helpers.S
View file @
90714000
...
@@ -63,6 +63,7 @@ endfunc plat_is_my_cpu_primary
...
@@ -63,6 +63,7 @@ endfunc plat_is_my_cpu_primary
func
plat_secondary_cold_boot_setup
func
plat_secondary_cold_boot_setup
/
*
Calculate
address
of
our
hold
entry
*/
/
*
Calculate
address
of
our
hold
entry
*/
bl
plat_my_core_pos
bl
plat_my_core_pos
lsl
x0
,
x0
,
#
PLAT_QEMU_HOLD_ENTRY_SHIFT
mov_imm
x2
,
PLAT_QEMU_HOLD_BASE
mov_imm
x2
,
PLAT_QEMU_HOLD_BASE
/
*
Wait
until
we
have
a
go
*/
/
*
Wait
until
we
have
a
go
*/
...
...
plat/qemu/include/platform_def.h
View file @
90714000
...
@@ -90,7 +90,8 @@
...
@@ -90,7 +90,8 @@
#define PLAT_QEMU_HOLD_BASE (PLAT_QEMU_TRUSTED_MAILBOX_BASE + 8)
#define PLAT_QEMU_HOLD_BASE (PLAT_QEMU_TRUSTED_MAILBOX_BASE + 8)
#define PLAT_QEMU_HOLD_SIZE (PLATFORM_CORE_COUNT * \
#define PLAT_QEMU_HOLD_SIZE (PLATFORM_CORE_COUNT * \
PLAT_QEMU_HOLD_ENTRY_SIZE)
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_WAIT 0
#define PLAT_QEMU_HOLD_STATE_GO 1
#define PLAT_QEMU_HOLD_STATE_GO 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment