]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Library/CompilerIntrinsicsLib/Arm/uread.asm
ArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions in __aeabi...
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 29 Sep 2011 20:55:10 +0000 (20:55 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 29 Sep 2011 20:55:10 +0000 (20:55 +0000)
commit68085d37f88aaaaad97f071e2d0e60b276592cc5
tree713afab1a37e0ac334e5e540f8b9dc36b12f772f
parentfa16d12dcc97c20cb4cde053e3e280892d0ccd13
ArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions in __aeabi_uread4

Change __aeabi_uread4 from:
    ldrb    r2, [r0, #1]
    ldrb    r1, [r0]
    (...)
to:
    ldrb    r1, [r0]
    ldrb    r2, [r0, #1]
    (...)

This change is a workaround to handle correctly __aeabi_uread4 on ARM
Versatile Express RTSM.
It should not have any major consequence on the other ARM platforms.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12481 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/CompilerIntrinsicsLib/Arm/uread.asm