+++ /dev/null
-/** @file\r
- Base Memory Library.\r
-\r
- Copyright (c) 2006, Intel Corporation<BR>\r
- All rights reserved. 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: MemLib.c\r
-\r
-**/\r
-\r
-#include "MemLibInternals.h"\r
-\r
-VOID *\r
-EFIAPI\r
-InternalMemCopyMem (\r
- OUT VOID *Destination,\r
- IN CONST VOID *Source,\r
- IN UINTN Length\r
- )\r
-{\r
- (*GetPeiServicesTablePointer ())->CopyMem (\r
- Destination,\r
- (VOID*)Source,\r
- Length\r
- );\r
- return Destination;\r
-}\r
-\r
-VOID *\r
-EFIAPI\r
-InternalMemSetMem (\r
- OUT VOID *Buffer,\r
- IN UINTN Size,\r
- IN UINT8 Value\r
- )\r
-{\r
- (*GetPeiServicesTablePointer ())->SetMem (\r
- Buffer,\r
- Size,\r
- Value\r
- );\r
- return Buffer;\r
-}\r