mirror of https://github.com/acidanthera/audk.git
ArmPkg/ArmSmcLib: fix stack handling in .asm version of SMC wrapper
This fixes a bug in the stack handling in the RVCT .asm version of the SMC wrapper. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16086 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e5367bfb61
commit
432dc3c135
|
@ -18,7 +18,7 @@
|
|||
ArmCallSmc
|
||||
push {r4-r8}
|
||||
// r0 will be popped just after the SMC call
|
||||
pop {r0}
|
||||
push {r0}
|
||||
|
||||
// Load the SMC arguments values into the appropriate registers
|
||||
ldr r7, [r0, #28]
|
||||
|
|
Loading…
Reference in New Issue