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
887f2402
Unverified
Commit
887f2402
authored
7 years ago
by
davidcunado-arm
Committed by
GitHub
7 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1301 from ldebieve/lde/issue-tf#562
bl2-el3: Fix bl32 lr_svc used for bl33 entry address
parents
f918bca3
a24dbdcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bl2/aarch32/bl2_el3_entrypoint.S
+5
-0
bl2/aarch32/bl2_el3_entrypoint.S
with
5 additions
and
0 deletions
+5
-0
bl2/aarch32/bl2_el3_entrypoint.S
View file @
887f2402
...
...
@@ -78,6 +78,11 @@ func bl2_run_next_image
ldr
r1
,
[
r8
,
#(
ENTRY_POINT_INFO_PC_OFFSET
+
4
)]
msr
spsr
,
r1
/
*
Some
BL32
stages
expect
lr_svc
to
provide
the
BL33
entry
address
*/
cps
#
MODE32_svc
ldr
lr
,
[
r8
,
#
ENTRY_POINT_INFO_LR_SVC_OFFSET
]
cps
#
MODE32_mon
add
r8
,
r8
,
#
ENTRY_POINT_INFO_ARGS_OFFSET
ldm
r8
,
{
r0
,
r1
,
r2
,
r3
}
eret
...
...
This diff is collapsed.
Click to expand it.
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