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
This commit is contained in:
andrewfish 2011-01-06 21:46:54 +00:00
parent b1620d0bee
commit 98fc7c77ac
1 changed files with 4 additions and 4 deletions

View File

@ -22,9 +22,9 @@ INTERWORK_FUNC(__switchu8)
ASM_PFX(__switchu8): ASM_PFX(__switchu8):
ldrb ip,[lr,#-1] ldrb ip,[lr,#-1]
cmp r3,ip cmp r0,ip
ldrccb r3,[lr,r3] ldrccb r0,[lr,r0]
ldrcsb r3,[lr,ip] ldrcsb r0,[lr,ip]
add ip,lr,r3,LSL #1 add ip,lr,r0,LSL #1
bx ip bx ip