]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg: Remove X86 ASM and S files
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / BaseCpuLib.inf
index 51f4791643099305534f26ea5a18716845f9dbf7..84564e00d727dd672392128006c7d1f16b8673e3 100644 (file)
@@ -1,52 +1,54 @@
-#/** @file\r
-# Instance of CPU Library for various architecture.\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
+#  CPU Library implemented using ASM functions for IA32, X64, ARM, AARCH64,\r
+#  PAL CALLs for IPF, and empty functions for EBC.\r
 #\r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2018, 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
   LIBRARY_CLASS                  = CpuLib \r
-  EDK_RELEASE_VERSION            = 0x00020000\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
+  Ia32/CpuSleep.nasm| INTEL\r
+  Ia32/CpuFlushTlb.nasm| 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
-  X64/CpuSleep.asm\r
+  X64/CpuFlushTlb.nasm\r
+  X64/CpuSleep.nasm\r
 \r
+  X64/CpuSleep.nasm| GCC\r
   X64/CpuSleep.S | GCC \r
+  X64/CpuFlushTlb.nasm| GCC\r
   X64/CpuFlushTlb.S | GCC \r
 \r
 [Sources.IPF]\r
 [Sources.EBC]\r
   Ebc/CpuSleepFlushTlb.c\r
 \r
+[Sources.ARM]\r
+  Arm/CpuFlushTlb.asm | RVCT\r
+  Arm/CpuSleep.asm    | RVCT  \r
+  Arm/CpuFlushTlb.asm | MSFT\r
+  Arm/CpuSleep.asm    | MSFT\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
+  AArch64/CpuFlushTlb.asm | MSFT\r
+  AArch64/CpuSleep.asm    | MSFT\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 \r
-[LibraryClasses.Ipf]\r
-PalCallLib\r
+[LibraryClasses.IPF]\r
+  PalLib\r
+  BaseLib\r
+\r