+++ /dev/null
-//------------------------------------------------------------------------------\r
-//\r
-// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-//\r
-// This program and the accompanying materials\r
-// are licensed and made available under the terms and conditions of the BSD License\r
-// which accompanies this distribution. The full text of the license may be found at\r
-// http://opensource.org/licenses/bsd-license.php\r
-//\r
-// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-//\r
-//------------------------------------------------------------------------------\r
-\r
-\r
-\r
- INCLUDE AsmMacroExport.inc\r
-\r
-;\r
-;VOID\r
-;EFIAPI\r
-;__aeabi_memcpy (\r
-; IN VOID *Destination,\r
-; IN VOID *Source,\r
-; IN UINT32 Size\r
-; );\r
-;\r
- RVCT_ASM_EXPORT __aeabi_memcpy4\r
- stmdb sp!, {r4, lr}\r
- subs r2, r2, #32 ; 0x20\r
- bcc memcpy4_label2\r
-memcpy4_label1\r
- ldmcsia r1!, {r3, r4, ip, lr}\r
- stmcsia r0!, {r3, r4, ip, lr}\r
- ldmcsia r1!, {r3, r4, ip, lr}\r
- stmcsia r0!, {r3, r4, ip, lr}\r
- subcss r2, r2, #32 ; 0x20\r
- bcs memcpy4_label1\r
-memcpy4_label2\r
- movs ip, r2, lsl #28\r
- ldmcsia r1!, {r3, r4, ip, lr}\r
- stmcsia r0!, {r3, r4, ip, lr}\r
- ldmmiia r1!, {r3, r4}\r
- stmmiia r0!, {r3, r4}\r
- ldmia sp!, {r4, lr}\r
- movs ip, r2, lsl #30\r
- ldrcs r3, [r1], #4\r
- strcs r3, [r0], #4\r
- bxeq lr\r
-\r
-_memcpy4_lastbytes_aligned\r
- movs r2, r2, lsl #31\r
- ldrcsh r3, [r1], #2\r
- ldrmib r2, [r1], #1\r
- strcsh r3, [r0], #2\r
- strmib r2, [r0], #1\r
- bx lr\r
-\r
- END\r
-\r