]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix typo in __switchiu8() to use r0 in place of r3.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jan 2011 21:46:54 +0000 (21:46 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jan 2011 21:46:54 +0000 (21:46 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11234 6f19259b-4bc3-4df7-8a09-765794883524

ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S

index ed0c115817ef5da3ac15f2845fc67b811324d283..753d999b5f0b99c49f720954f2eea1fb2c8c0ea9 100644 (file)
@@ -22,9 +22,9 @@ INTERWORK_FUNC(__switchu8)
 
 ASM_PFX(__switchu8):
     ldrb      ip,[lr,#-1]
 
 ASM_PFX(__switchu8):
     ldrb      ip,[lr,#-1]
-    cmp       r3,ip
-    ldrccb    r3,[lr,r3]
-    ldrcsb    r3,[lr,ip]
-    add       ip,lr,r3,LSL #1
+    cmp       r0,ip
+    ldrccb    r0,[lr,r0]
+    ldrcsb    r0,[lr,ip]
+    add       ip,lr,r0,LSL #1
     bx        ip
 
     bx        ip