X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseCpuLib%2FBaseCpuLib.inf;h=f17c6516a97a90eb6fd3876cc3716e09e9920d01;hp=8a9f6fedc9a2ba9969027c9ac27a3add4ed9f5cd;hb=de2d34193ee28e096727845b72edbb1137d408c1;hpb=fa73b3be9179dec03c37761b05958253e7dc1deb diff --git a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf index 8a9f6fedc9..f17c6516a9 100644 --- a/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf +++ b/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf @@ -1,12 +1,13 @@ -#/** @file -# Instance of CPU Library for various architecture. +## @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. +# 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 - 2010, Intel Corporation. All rights reserved.
+# Portions copyright (c) 2008 - 2009, Apple Inc. 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 @@ -14,7 +15,7 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 @@ -23,16 +24,13 @@ MODULE_TYPE = BASE VERSION_STRING = 1.0 LIBRARY_CLASS = CpuLib - EDK_RELEASE_VERSION = 0x00020000 # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM # -[Sources.common] - -[Sources.Ia32] +[Sources.IA32] Ia32/CpuSleep.c | MSFT Ia32/CpuFlushTlb.c | MSFT @@ -56,9 +54,16 @@ [Sources.EBC] Ebc/CpuSleepFlushTlb.c +[Sources.ARM] + Arm/CpuFlushTlb.asm | RVCT + Arm/CpuSleep.asm | RVCT + Arm/CpuFlushTlb.S | GCC + Arm/CpuSleep.S | GCC + [Packages] MdePkg/MdePkg.dec -[LibraryClasses.Ipf] +[LibraryClasses.IPF] PalLib + BaseLib