diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-06 21:46:54 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-01-06 21:46:54 +0000 |
commit | 98fc7c77ac8cc8cf23a85059d217093c9ddef7cb (patch) | |
tree | 7c48f7ea9d290cabe1ead573a4140a4d483c4b33 /ArmPkg | |
parent | b1620d0beecd3bd947e1d81150454d0d57b76dc2 (diff) | |
download | edk2-platforms-98fc7c77ac8cc8cf23a85059d217093c9ddef7cb.tar.xz |
Fix typo in __switchiu8() to use r0 in place of r3.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11234 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S index ed0c115817..753d999b5f 100644 --- a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S +++ b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/switchu8.S @@ -22,9 +22,9 @@ INTERWORK_FUNC(__switchu8) 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 |