]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / Common / CommonLib.h
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h b/EdkCompatibilityPkg/Sample/Tools/Source/Common/CommonLib.h
deleted file mode 100644 (file)
index ba7cf2d..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/*++\r
-\r
-Copyright (c) 2004, 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
-\r
-  CommonLib.h\r
-\r
-Abstract:\r
-\r
-  Common library assistance routines.\r
-\r
---*/\r
-\r
-#ifndef _EFI_COMMON_LIB_H\r
-#define _EFI_COMMON_LIB_H\r
-\r
-#include "TianoCommon.h"\r
-\r
-#define PRINTED_GUID_BUFFER_SIZE  37  // including null-termination\r
-//\r
-// Function declarations\r
-//\r
-VOID\r
-PeiZeroMem (\r
-  IN VOID   *Buffer,\r
-  IN UINTN  Size\r
-  );\r
-\r
-VOID\r
-PeiCopyMem (\r
-  IN VOID   *Destination,\r
-  IN VOID   *Source,\r
-  IN UINTN  Length\r
-  );\r
-\r
-VOID\r
-ZeroMem (\r
-  IN VOID   *Buffer,\r
-  IN UINTN  Size\r
-  );\r
-\r
-VOID\r
-CopyMem (\r
-  IN VOID   *Destination,\r
-  IN VOID   *Source,\r
-  IN UINTN  Length\r
-  );\r
-\r
-INTN\r
-CompareGuid (\r
-  IN EFI_GUID     *Guid1,\r
-  IN EFI_GUID     *Guid2\r
-  );\r
-\r
-EFI_STATUS\r
-GetFileImage (\r
-  IN CHAR8    *InputFileName,\r
-  OUT CHAR8   **InputFileImage,\r
-  OUT UINT32  *BytesRead\r
-  );\r
-\r
-UINT8\r
-CalculateChecksum8 (\r
-  IN UINT8        *Buffer,\r
-  IN UINTN        Size\r
-  );\r
-\r
-UINT8\r
-CalculateSum8 (\r
-  IN UINT8        *Buffer,\r
-  IN UINTN        Size\r
-  );\r
-\r
-UINT16\r
-CalculateChecksum16 (\r
-  IN UINT16       *Buffer,\r
-  IN UINTN        Size\r
-  );\r
-\r
-UINT16\r
-CalculateSum16 (\r
-  IN UINT16       *Buffer,\r
-  IN UINTN        Size\r
-  );\r
-\r
-EFI_STATUS\r
-PrintGuid (\r
-  IN EFI_GUID                     *Guid\r
-  );\r
-\r
-#define PRINTED_GUID_BUFFER_SIZE  37  // including null-termination\r
-EFI_STATUS\r
-PrintGuidToBuffer (\r
-  IN EFI_GUID     *Guid,\r
-  IN OUT UINT8    *Buffer,\r
-  IN UINT32       BufferLen,\r
-  IN BOOLEAN      Uppercase\r
-  );\r
-\r
-#endif\r