]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
MdePkg/IoLib: Filter/trace port IO/MMIO access
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / BaseIoLibIntrinsic.inf
index e082695923a99c1df7f266837229fa290dd28eae..97eeada0656e9a033f00c698d341459b50f3c6eb 100644 (file)
@@ -1,54 +1,64 @@
-#/** @file\r
-# Component description file for Intrinsic Base Io Library\r
+## @file\r
+#  Instance of I/O Library using compiler intrinsics.\r
 #\r
-# I/O Library that uses compiler intrinsics to perform IN and OUT instructions\r
-#  for IA-32 and x64. It also performs direct memory access for MMIO services.\r
-# Copyright (c) 2007, Intel Corporation.\r
+#  I/O Library that uses compiler intrinsics to perform IN and OUT instructions\r
+#  for IA-32 and x64.  On IPF, I/O port requests are translated into MMIO requests.\r
+#  MMIO requests are forwarded directly to memory.  For EBC, I/O port requests\r
+#  ASSERT(). For ARM, AARCH64 and RISCV64, this I/O library only provides non I/O\r
+#  read and write.\r
 #\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
-#  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
+#  Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
+#  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+#  Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
+#  Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
 #\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = BaseIoLibIntrinsic\r
+  MODULE_UNI_FILE                = BaseIoLibIntrinsic.uni\r
   FILE_GUID                      = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307\r
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = IoLib \r
-  EDK_RELEASE_VERSION            = 0x00020000\r
-  EFI_SPECIFICATION_VERSION      = 0x00020000\r
+  LIBRARY_CLASS                  = IoLib\r
 \r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64 RISCV64\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   IoLibMmioBuffer.c\r
   BaseIoLibIntrinsicInternal.h\r
-\r
-[Sources.Ia32]\r
   IoHighLevel.c\r
+\r
+[Sources.IA32]\r
   IoLibGcc.c    | GCC\r
   IoLibMsc.c    | MSFT\r
   IoLib.c\r
+  Ia32/IoFifo.nasm\r
 \r
 [Sources.X64]\r
-  IoHighLevel.c\r
   IoLibGcc.c    | GCC\r
   IoLibMsc.c    | MSFT\r
   IoLib.c\r
+  X64/IoFifo.nasm\r
 \r
-[Sources.IPF]\r
-  IoHighLevel.c\r
-  IoLibIpf.c\r
+[Sources.EBC]\r
+  IoLibEbc.c\r
+  IoLib.c\r
+\r
+[Sources.ARM]\r
+  IoLibNoIo.c\r
+\r
+[Sources.AARCH64]\r
+  IoLibNoIo.c\r
+\r
+[Sources.RISCV64]\r
+  IoLibNoIo.c\r
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 [LibraryClasses]\r
   DebugLib\r
   BaseLib\r
-\r
-[LibraryClasses.IPF]\r
-  PcdLib\r
-\r
-[FixedPcd.IPF]\r
-  gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf\r
+  RegisterFilterLib\r
 \r