summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm
index 5c6b808f1e..2d901c3a6b 100755
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.asm
@@ -47,9 +47,11 @@ L9
ldmfd sp!, {r7, pc}
__aeabi_memclr
+ mov r2, r1
mov r1, #0
b __aeabi_memset
__aeabi_memclr4
+ mov r2, r1
mov r1, #0
b __aeabi_memset