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