X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseIoLibIntrinsic%2FBaseIoLibIntrinsic.inf;h=8844b1ce4c2bb249c2bc7ce188ef6c86c42fd1e0;hb=19c6d9feaaf83c87908f8a4003f7b6d9b5cb4377;hp=388c3d4428864c96c81dfb33affa820aaec1624f;hpb=3a9d76242b918b00bdb0320b8d33d34e219d5d83;p=mirror_edk2.git
diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
index 388c3d4428..8844b1ce4c 100644
--- a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
+++ b/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
@@ -1,87 +1,75 @@
-#/** @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 - 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().
#
-# All rights reserved. This program and the accompanying materials
+# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+# Copyright (c) 2017, AMD Incorporated. 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
+# 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.
#
-#
-#**/
+##
-################################################################################
-#
-# Defines Section - statements that will be processed to create a Makefile.
-#
-################################################################################
[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
-
-#
-# The following information is for reference only and not required by the build tools.
-#
-# VALID_ARCHITECTURES = IA32 X64 IPF
-#
-################################################################################
#
-# Sources Section - list of files that are required for the build to succeed.
+# VALID_ARCHITECTURES = IA32 X64 EBC IPF ARM AARCH64
#
-################################################################################
-[Sources.common]
+[Sources]
IoLibMmioBuffer.c
BaseIoLibIntrinsicInternal.h
-
-[Sources.Ia32]
IoHighLevel.c
- IoLibGcc.c || GCC |||
- IoLibMsc.c || MSFT |||
+
+[Sources.IA32]
+ IoLibGcc.c | GCC
+ IoLibMsc.c | MSFT
+ IoLibIcc.c | INTEL
IoLib.c
+ Ia32/IoFifo.nasm
+ Ia32/IoFifo.asm
[Sources.X64]
- IoHighLevel.c
- IoLibGcc.c || GCC |||
- IoLibMsc.c || MSFT |||
+ IoLibGcc.c | GCC
+ IoLibMsc.c | MSFT
+ IoLibIcc.c | INTEL
+ IoLib.c
+ X64/IoFifo.nasm
+ X64/IoFifo.asm
+
+[Sources.EBC]
+ IoLibEbc.c
IoLib.c
[Sources.IPF]
- IoHighLevel.c
IoLibIpf.c
+[Sources.ARM]
+ IoLibArm.c
-################################################################################
-#
-# Package Dependency Section - list of Package files that are required for
-# this module.
-#
-################################################################################
+[Sources.AARCH64]
+ IoLibArm.c
[Packages]
MdePkg/MdePkg.dec
-
-################################################################################
-#
-# Library Class Section - list of Library Classes that are required for
-# this module.
-#
-################################################################################
-
[LibraryClasses]
DebugLib
BaseLib
@@ -89,13 +77,6 @@
[LibraryClasses.IPF]
PcdLib
-
-################################################################################
-#
-# Pcd FIXED_AT_BUILD - list of PCDs that this module is coded for.
-#
-################################################################################
-
-[PcdsFixedAtBuild.IPF]
- PcdIoBlockBaseAddressForIpf|gEfiMdePkgTokenSpaceGuid
+[Pcd.IPF]
+ gEfiMdePkgTokenSpaceGuid.PcdIoBlockBaseAddressForIpf ## SOMETIMES_CONSUMES