summaryrefslogtreecommitdiff
path: root/ArmPkg/Library
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-27 18:13:26 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-27 18:13:26 +0000
commitae7f81cba3b9c8d54a7c55391f2eafdc28a9f92e (patch)
tree00a889166f02ddc04880efd700be6109804e6e26 /ArmPkg/Library
parent886f97c86b75ea96ac0a303c5e1f5a48452dd9b4 (diff)
downloadedk2-platforms-ae7f81cba3b9c8d54a7c55391f2eafdc28a9f92e.tar.xz
ArmPkg/CompilerIntrinsicsLib: Fix __aeabi_memclr and __aeabi_memclr4
The passed arguments did not match the __aeabi_memset prototype. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12459 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library')
-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