summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-02 23:19:30 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-02-02 23:19:30 +0000
commit2ac288f9199196dfc4ab05bee0a7815ca361174a (patch)
tree66ba7102ed0f7e8b6deab5416f868aa43c82ad50 /ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S
parent5d23922674950ec2d2654b4c606692696681b544 (diff)
downloadedk2-platforms-2ac288f9199196dfc4ab05bee0a7815ca361174a.tar.xz
Fix issue with fixing tabs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11297 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S')
-rw-r--r--ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S30
1 files changed, 15 insertions, 15 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S
index 3cd71e9f5f..35783620c7 100644
--- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S
+++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memset.S
@@ -14,25 +14,25 @@
.text
-\s\s.align 2
-\s\sGCC_ASM_EXPORT (memset)
+ .align 2
+ GCC_ASM_EXPORT (memset)
ASM_PFX(memset):
-\s\s@ args = 0, pretend = 0, frame = 0
-\s\s@ frame_needed = 1, uses_anonymous_args = 0
-\s\sstmfd\s\ssp!, {r7, lr}
-\s\smov\s\sip, #0
-\s\sadd\s\sr7, sp, #0
-\s\smov\s\slr, r0
-\s\sb\s\sL9
+ @ args = 0, pretend = 0, frame = 0
+ @ frame_needed = 1, uses_anonymous_args = 0
+ stmfd sp!, {r7, lr}
+ mov ip, #0
+ add r7, sp, #0
+ mov lr, r0
+ b L9
L10:
-\s\sand\s\sr3, r1, #255
-\s\sadd\s\sip, ip, #1
-\s\sstrb\s\sr3, [lr], #1
+ and r3, r1, #255
+ add ip, ip, #1
+ strb r3, [lr], #1
L9:
-\s\scmp\s\sip, r2
-\s\sbne\s\sL10
-\s\sldmfd\s\ssp!, {r7, pc}
+ cmp ip, r2
+ bne L10
+ ldmfd sp!, {r7, pc}