]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg/AArch64: use GCC_ASM_EXPORT to export functions
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / BaseCpuLib.inf
index 3a0f1acb2158265ede69a13e6c84f180f893e85b..4e0f0a1103ffd50f99294d7038ca6dd6a70a9b10 100644 (file)
@@ -1,24 +1,27 @@
-#/** @file\r
+## @file\r
 #  Instance of CPU Library for various architecture.\r
 #\r
 #  CPU Library implemented using ASM functions for IA-32 and X64,\r
 #  PAL CALLs for IPF, and empty functions for EBC.\r
 #\r
-#  Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+#  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+#  Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+#  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
+#  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
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = BaseCpuLib\r
+  MODULE_UNI_FILE                = BaseCpuLib.uni\r
   FILE_GUID                      = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6\r
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
 \r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM AARCH64\r
 #\r
 \r
-[Sources.common]\r
-\r
-[Sources.Ia32]\r
+[Sources.IA32]\r
   Ia32/CpuSleep.c | MSFT \r
   Ia32/CpuFlushTlb.c | MSFT \r
 \r
   Ia32/CpuSleep.asm | INTEL \r
   Ia32/CpuFlushTlb.asm | INTEL \r
 \r
-  Ia32/CpuSleep.S | GCC \r
-  Ia32/CpuFlushTlb.S | GCC \r
+  Ia32/CpuSleepGcc.c | GCC \r
+  Ia32/CpuFlushTlbGcc.c | GCC \r
 \r
 [Sources.X64]\r
   X64/CpuFlushTlb.asm \r
 [Sources.EBC]\r
   Ebc/CpuSleepFlushTlb.c\r
 \r
+[Sources.ARM]\r
+  Arm/CpuFlushTlb.asm | RVCT\r
+  Arm/CpuSleep.asm    | RVCT  \r
+  Arm/CpuFlushTlb.S   | GCC\r
+  Arm/CpuSleep.S      | GCC  \r
+\r
+[Sources.AARCH64]\r
+  AArch64/CpuFlushTlb.S | GCC\r
+  AArch64/CpuSleep.S    | GCC\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-[LibraryClasses.Ipf]\r
+[LibraryClasses.IPF]\r
   PalLib\r
+  BaseLib\r
+\r