X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseCpuLib%2FBaseCpuLib.inf;h=4e0f0a1103ffd50f99294d7038ca6dd6a70a9b10;hb=0f895683da0613f27ac460a69745a15571d2a2a9;hp=274722408369e3b811b584713ce080f2dfd01b10;hpb=99ade971a1a642d7e2e061d42a5fb50d8a2df343;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf index 2747224083..4e0f0a1103 100644 --- a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf +++ b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf @@ -1,24 +1,27 @@ -#/** @file +## @file # Instance of CPU Library for various architecture. # # CPU Library implemented using ASM functions for IA-32 and X64, # PAL CALLs for IPF, and empty functions for EBC. # -# Copyright (c) 2007 - 2008, Intel Corporation. +# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.
+# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.
# -# All rights reserved. This program and the accompanying materials +# 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] INF_VERSION = 0x00010005 BASE_NAME = BaseCpuLib + MODULE_UNI_FILE = BaseCpuLib.uni FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6 MODULE_TYPE = BASE VERSION_STRING = 1.0 @@ -26,20 +29,18 @@ # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64 # -[Sources.common] - -[Sources.Ia32] +[Sources.IA32] Ia32/CpuSleep.c | MSFT Ia32/CpuFlushTlb.c | MSFT Ia32/CpuSleep.asm | INTEL Ia32/CpuFlushTlb.asm | INTEL - Ia32/CpuSleep.S | GCC - Ia32/CpuFlushTlb.S | GCC + Ia32/CpuSleepGcc.c | GCC + Ia32/CpuFlushTlbGcc.c | GCC [Sources.X64] X64/CpuFlushTlb.asm @@ -55,10 +56,21 @@ [Sources.EBC] Ebc/CpuSleepFlushTlb.c +[Sources.ARM] + Arm/CpuFlushTlb.asm | RVCT + Arm/CpuSleep.asm | RVCT + Arm/CpuFlushTlb.S | GCC + Arm/CpuSleep.S | GCC + +[Sources.AARCH64] + AArch64/CpuFlushTlb.S | GCC + AArch64/CpuSleep.S | GCC + [Packages] MdePkg/MdePkg.dec -[LibraryClasses.Ipf] +[LibraryClasses.IPF] PalLib - BaseLib \ No newline at end of file + BaseLib +