mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-23 07:21:16 +02:00
Merge pull request #1048 from douglas-raillard-arm/dr/fix_bl2u_entrypoint
Fix BL2U entrypoint possible parameter corruption
This commit is contained in:
commit
96ef670aeb
@ -32,7 +32,7 @@ func bl2u_entrypoint
|
|||||||
* ---------------------------------------------
|
* ---------------------------------------------
|
||||||
*/
|
*/
|
||||||
mov r11, r1
|
mov r11, r1
|
||||||
mov r12, r2
|
mov r10, r2
|
||||||
|
|
||||||
/* ---------------------------------------------
|
/* ---------------------------------------------
|
||||||
* Set the exception vector to something sane.
|
* Set the exception vector to something sane.
|
||||||
@ -107,7 +107,7 @@ func bl2u_entrypoint
|
|||||||
* ---------------------------------------------
|
* ---------------------------------------------
|
||||||
*/
|
*/
|
||||||
mov r0, r11
|
mov r0, r11
|
||||||
mov r1, r12
|
mov r1, r10
|
||||||
bl bl2u_early_platform_setup
|
bl bl2u_early_platform_setup
|
||||||
bl bl2u_plat_arch_setup
|
bl bl2u_plat_arch_setup
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user