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
34edaed5
Commit
34edaed5
authored
Dec 02, 2013
by
Sandrine Bailleux
Committed by
Dan Handley
Dec 12, 2013
Browse files
BL2: Sanity check value in x0 in the entry point code
Change-Id: Icef68e314e6ba0f3694189b57f4b1dbbea5ba255
parent
ba6980a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
bl2/aarch64/bl2_entrypoint.S
View file @
34edaed5
...
...
@@ -77,6 +77,14 @@ bl2_entrypoint:; .type bl2_entrypoint, %function
isb
/
*
---------------------------------------------
*
Check
the
opcodes
out
of
paranoia
.
*
---------------------------------------------
*/
mov
x0
,
#
RUN_IMAGE
cmp
x0
,
x20
b.ne
_panic
/
*
---------------------------------------------
*
Zero
out
NOBITS
sections
.
There
are
2
of
them
:
*
-
the
.
bss
section
;
...
...
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