]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
MdePkg/BasePeCoff: Add RISC-V PE/Coff related code.
[mirror_edk2.git] / MdePkg / Library / BasePeCoffLib / BasePeCoffLib.inf
index 421047c3e1259aa1f8963492c8aea376825c79fe..110b6d5a090af5d4d6b72db3d0e363ef5b993823 100644 (file)
@@ -3,16 +3,18 @@
 #  The IPF version library supports loading IPF and EBC PE/COFF image.\r
 #  The IA32 version library support loading IA32, X64 and EBC PE/COFF images.\r
 #  The X64 version library support loading IA32, X64 and EBC PE/COFF images.\r
+#  The RISC-V version library support loading RISC-V images.\r
 #\r
-#  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Caution: This module requires additional review when modified.\r
+#  This library will have external input - PE/COFF image.\r
+#  This external input must be validated carefully to avoid security issue like\r
+#  buffer overflow, integer overflow.\r
+#\r
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+#  Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. 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
-#  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
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 #\r
 ##\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = BasePeCoffLib\r
+  MODULE_UNI_FILE                = BasePeCoffLib.uni\r
   FILE_GUID                      = 556f5d10-7309-4af4-b80a-8196bd60946f\r
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = PeCoffLib \r
+  LIBRARY_CLASS                  = PeCoffLib\r
 \r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64\r
 #\r
 \r
 [Sources]\r
   BasePeCoffLibInternals.h\r
   BasePeCoff.c\r
 \r
-[Sources.IA32, Sources.X64, Sources.EBC]\r
+[Sources.IA32, Sources.X64, Sources.EBC, Sources.AARCH64]\r
   PeCoffLoaderEx.c\r
 \r
-[Sources.IPF]\r
-  Ipf/PeCoffLoaderEx.c\r
-\r
 [Sources.ARM]\r
   Arm/PeCoffLoaderEx.c\r
 \r
+[Sources.RISCV64]\r
+  RiscV/PeCoffLoaderEx.c\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r