]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm
ArmPkg/CompilerIntrinsicsLib: replace memcpy and memset with C code
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / memcpy.asm
diff --git a/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm b/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memcpy.asm
deleted file mode 100644 (file)
index ae91197..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-//------------------------------------------------------------------------------\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_memcpy\r
-  cmp     r2, #0\r
-  bxeq    lr\r
-  push    {lr}\r
-  mov     lr, r0\r
-L5\r
-  ldrb  r3, [r1], #1\r
-  strb  r3, [lr], #1\r
-  subs r2, r2, #1\r
-  bne  L5\r
-  pop  {pc}\r
-\r
-  END\r