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
4c0b164e
Unverified
Commit
4c0b164e
authored
Aug 20, 2018
by
Dimitris Papastamos
Committed by
GitHub
Aug 20, 2018
Browse files
Merge pull request #1524 from danielboulby-arm/db/ReclaimInit
rockchip: Add plat_is_my_cpu_primary function
parents
f147a8f8
5eddd22e
Changes
1
Show whitespace changes
Inline
Side-by-side
plat/rockchip/common/aarch64/plat_helpers.S
View file @
4c0b164e
...
...
@@ -18,7 +18,7 @@
.
globl
platform_cpu_warmboot
.
globl
plat_secondary_cold_boot_setup
.
globl
plat_report_exception
.
globl
plat
form_is
_primary
_cpu
.
globl
plat
_is_my_cpu
_primary
.
globl
plat_my_core_pos
.
globl
plat_reset_handler
.
globl
plat_panic_handler
...
...
@@ -73,12 +73,13 @@ cb_panic:
b
cb_panic
endfunc
plat_secondary_cold_boot_setup
func
platform_is_primary_cpu
func
plat_is_my_cpu_primary
mrs
x0
,
mpidr_el1
and
x0
,
x0
,
#(
MPIDR_CLUSTER_MASK
|
MPIDR_CPU_MASK
)
cmp
x0
,
#
PLAT_RK_PRIMARY_CPU
cset
x0
,
eq
ret
endfunc
plat
form_is
_primary
_cpu
endfunc
plat
_is_my_cpu
_primary
/
*
--------------------------------------------------------------------
*
void
plat_panic_handler
(
void
)
...
...
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