]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
Add new API GetTimeInNanoSecond() to TimerLib to convert elapsed ticks to time in...
[mirror_edk2.git] / MdePkg / Library / BaseSynchronizationLib / BaseSynchronizationLib.inf
index 66a74e37a2f0909bd53d1b9470ea22d54925e301..4c5396170459046c6275299d6c9377e6966130eb 100644 (file)
@@ -1,17 +1,18 @@
-#/** @file\r
+## @file\r
 #  Base Synchronization Library implementation.\r
 #\r
-#  Copyright (c) 2007 - 2008, Intel Corporation.\r
+#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Portions copyright (c) 2008 - 2009, Apple Inc. 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
   LIBRARY_CLASS                  = SynchronizationLib\r
 \r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC ARM\r
 #\r
+[Sources]\r
+  BaseSynchronizationLibInternals.h\r
 \r
-[Sources.Ia32]\r
+[Sources.IA32]\r
   Ia32/InterlockedCompareExchange64.c | MSFT \r
   Ia32/InterlockedCompareExchange32.c | MSFT \r
   Ia32/InterlockedDecrement.c | MSFT \r
   Ia32/InterlockedIncrement.asm | INTEL \r
   Synchronization.c | INTEL\r
 \r
-  Ia32/InterlockedCompareExchange64.S | GCC \r
-  Ia32/InterlockedCompareExchange32.S | GCC \r
-  Ia32/InterlockedDecrement.S | GCC \r
-  Ia32/InterlockedIncrement.S | GCC \r
+  Ia32/GccInline.c | GCC\r
   SynchronizationGcc.c  | GCC\r
 \r
 [Sources.X64]\r
-  X64/InterlockedCompareExchange64.asm \r
-  X64/InterlockedCompareExchange32.asm \r
-\r
+  X64/InterlockedCompareExchange64.c | MSFT\r
+  X64/InterlockedCompareExchange32.c | MSFT\r
+  \r
+  X64/InterlockedCompareExchange64.asm | INTEL\r
+  X64/InterlockedCompareExchange32.asm | INTEL\r
+  \r
   X64/InterlockedDecrement.c | MSFT \r
   X64/InterlockedIncrement.c | MSFT \r
   SynchronizationMsc.c | MSFT \r
   X64/InterlockedIncrement.asm | INTEL \r
   Synchronization.c | INTEL \r
 \r
-  X64/InterlockedIncrement.S | GCC \r
-  X64/InterlockedDecrement.S | GCC \r
-  X64/InterlockedCompareExchange64.S | GCC \r
-  X64/InterlockedCompareExchange32.S | GCC \r
+  X64/GccInline.c | GCC\r
   SynchronizationGcc.c  | GCC \r
 \r
 [Sources.IPF]\r
   Synchronization.c\r
   Ebc/Synchronization.c\r
 \r
+[Sources.ARM]\r
+  Synchronization.c\r
+  Arm/Synchronization.c\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
@@ -84,5 +88,5 @@
   DebugLib\r
   BaseMemoryLib\r
 \r
-[Pcd.common]\r
+[Pcd]\r
   gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout\r