X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseIoLibIntrinsic%2FBaseIoLibIntrinsic.inf;h=97eeada0656e9a033f00c698d341459b50f3c6eb;hb=38c8be123aced4cc8ad5c7e0da9121a181b94251;hp=e082695923a99c1df7f266837229fa290dd28eae;hpb=b3af5df67b0cf0cfd6e11a8fa4b2424e2c7f7c83;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf index e082695923..97eeada065 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf +++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf @@ -1,54 +1,64 @@ -#/** @file -# Component description file for Intrinsic Base Io Library +## @file +# Instance of I/O Library using compiler intrinsics. # -# I/O Library that uses compiler intrinsics to perform IN and OUT instructions -# for IA-32 and x64. It also performs direct memory access for MMIO services. -# Copyright (c) 2007, Intel Corporation. +# I/O Library that uses compiler intrinsics to perform IN and OUT instructions +# for IA-32 and x64. On IPF, I/O port requests are translated into MMIO requests. +# MMIO requests are forwarded directly to memory. For EBC, I/O port requests +# ASSERT(). For ARM, AARCH64 and RISCV64, this I/O library only provides non I/O +# read and write. # -# All rights reserved. This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+# Copyright (c) 2017, AMD Incorporated. All rights reserved.
+# Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.
# +# SPDX-License-Identifier: BSD-2-Clause-Patent # -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = BaseIoLibIntrinsic + MODULE_UNI_FILE = BaseIoLibIntrinsic.uni FILE_GUID = 926c9cd0-4bb8-479b-9ac4-8a2a23f85307 MODULE_TYPE = BASE VERSION_STRING = 1.0 - LIBRARY_CLASS = IoLib - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 + LIBRARY_CLASS = IoLib # -# VALID_ARCHITECTURES = IA32 X64 IPF +# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 # -[Sources.common] +[Sources] IoLibMmioBuffer.c BaseIoLibIntrinsicInternal.h - -[Sources.Ia32] IoHighLevel.c + +[Sources.IA32] IoLibGcc.c | GCC IoLibMsc.c | MSFT IoLib.c + Ia32/IoFifo.nasm [Sources.X64] - IoHighLevel.c IoLibGcc.c | GCC IoLibMsc.c | MSFT IoLib.c + X64/IoFifo.nasm -[Sources.IPF] - IoHighLevel.c - IoLibIpf.c +[Sources.EBC] + IoLibEbc.c + IoLib.c + +[Sources.ARM] + IoLibNoIo.c + +[Sources.AARCH64] + IoLibNoIo.c + +[Sources.RISCV64] + IoLibNoIo.c [Packages] MdePkg/MdePkg.dec @@ -56,10 +66,5 @@ [LibraryClasses] DebugLib BaseLib - -[LibraryClasses.IPF] - PcdLib - -[FixedPcd.IPF] - gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf + RegisterFilterLib