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
e082009e
Unverified
Commit
e082009e
authored
Mar 13, 2019
by
Dimitris Papastamos
Committed by
GitHub
Mar 13, 2019
Browse files
Merge pull request #1877 from bryanodonoghue/integration+bl2-el3-eret-fix-v2
bl2-el3: Fix exit to bl32 by ensuring full write to SPSR
parents
36a540d6
520f864e
Changes
2
Hide whitespace changes
Inline
Side-by-side
bl1/aarch32/bl1_exceptions.S
View file @
e082009e
...
...
@@ -71,7 +71,7 @@ debug_loop:
*/
ldr
lr
,
[
r8
,
#
ENTRY_POINT_INFO_PC_OFFSET
]
ldr
r1
,
[
r8
,
#(
ENTRY_POINT_INFO_PC_OFFSET
+
4
)]
msr
spsr
,
r1
msr
spsr
_xc
,
r1
/
*
Some
BL32
stages
expect
lr_svc
to
provide
the
BL33
entry
address
*/
cps
#
MODE32_svc
...
...
bl2/aarch32/bl2_el3_entrypoint.S
View file @
e082009e
...
...
@@ -78,7 +78,7 @@ func bl2_run_next_image
*/
ldr
lr
,
[
r8
,
#
ENTRY_POINT_INFO_PC_OFFSET
]
ldr
r1
,
[
r8
,
#(
ENTRY_POINT_INFO_PC_OFFSET
+
4
)]
msr
spsr
,
r1
msr
spsr
_xc
,
r1
/
*
Some
BL32
stages
expect
lr_svc
to
provide
the
BL33
entry
address
*/
cps
#
MODE32_svc
...
...
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