1//------------------------------------------------------------------------------ 2// 3// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> 4// 5// This program and the accompanying materials 6// are licensed and made available under the terms and conditions of the BSD License 7// which accompanies this distribution. The full text of the license may be found at 8// http://opensource.org/licenses/bsd-license.php 9// 10// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12// 13//------------------------------------------------------------------------------ 14 15 16 17 INCLUDE AsmMacroExport.inc 18 19; 20;VOID 21;EFIAPI 22;__aeabi_memcpy ( 23; IN VOID *Destination, 24; IN VOID *Source, 25; IN UINT32 Size 26; ); 27; 28 RVCT_ASM_EXPORT __aeabi_memcpy 29 cmp r2, #0 30 bxeq lr 31 push {lr} 32 mov lr, r0 33L5 34 ldrb r3, [r1], #1 35 strb r3, [lr], #1 36 subs r2, r2, #1 37 bne L5 38 pop {pc} 39 40 END 41