]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/CompilerStub/memcpy.c
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / CompilerStub / memcpy.c
diff --git a/EdkCompatibilityPkg/Foundation/Library/CompilerStub/memcpy.c b/EdkCompatibilityPkg/Foundation/Library/CompilerStub/memcpy.c
deleted file mode 100644 (file)
index 1ae4079..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\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
-Module Name:\r
-  memcpy.c\r
-\r
-Abstract:\r
-\r
-  The Microsoft compiler inlines memcpy and we can not stop it.\r
-  These routines allow the code to link!\r
-\r
-  There is no *.h definition of these modules as they are well known by the \r
-  compiler. See Microsoft documentation for more details!\r
-\r
-  volatile is used to prevent the compiler from trying to implement these\r
-  C functions as inline functions. \r
-\r
---*/\r
-\r
-#include "Tiano.h"\r
-\r
-VOID *\r
-memcpy (\r
-  OUT VOID        *Dest,\r
-  IN  const VOID  *Src,\r
-  IN  UINTN       Count\r
-  )\r
-{\r
-  volatile UINT8  *Ptr;\r
-  const    UINT8  *Source;\r
-  \r
-  for (Ptr = Dest, Source = Src; Count > 0; Count--, Source++, Ptr++) {\r
-    *Ptr = *Source;\r
-  }\r
-\r
-  return Dest;\r
-}\r
-\r