blob: f2b908e7612e914c8b77605400357df0e8beabc4 [file] [log] [blame]
mdkinney720d3c52009-01-30 00:45:13 +00001#/** @file
2# Base Synchronization Library implementation.
3#
qhuang8f18f2882010-02-23 04:56:55 +00004# Copyright (c) 2007 - 2010, Intel Corporation.<BR>
mdkinneyacbcf042009-08-24 23:39:38 +00005# Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
mdkinney720d3c52009-01-30 00:45:13 +00006#
7# All rights reserved. This program and the accompanying materials
8# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14#
15#**/
16
17[Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = BaseSynchronizationLib
20 FILE_GUID = FC9990DF-C5FF-44cf-8799-CBB45B577F87
21 MODULE_TYPE = BASE
22 VERSION_STRING = 1.0
23 LIBRARY_CLASS = SynchronizationLib
24
25#
mdkinney3c991072009-08-18 21:02:42 +000026# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM
mdkinney720d3c52009-01-30 00:45:13 +000027#
qhuang8bc4eb402009-02-23 07:04:55 +000028[Sources.Common]
29 BaseSynchronizationLibInternals.h
mdkinney720d3c52009-01-30 00:45:13 +000030
mdkinney3c991072009-08-18 21:02:42 +000031[Sources.IA32]
mdkinney720d3c52009-01-30 00:45:13 +000032 Ia32/InterlockedCompareExchange64.c | MSFT
33 Ia32/InterlockedCompareExchange32.c | MSFT
34 Ia32/InterlockedDecrement.c | MSFT
35 Ia32/InterlockedIncrement.c | MSFT
36 SynchronizationMsc.c | MSFT
37
38 Ia32/InterlockedCompareExchange64.asm | INTEL
39 Ia32/InterlockedCompareExchange32.asm | INTEL
40 Ia32/InterlockedDecrement.asm | INTEL
41 Ia32/InterlockedIncrement.asm | INTEL
42 Synchronization.c | INTEL
43
44 Ia32/InterlockedCompareExchange64.S | GCC
45 Ia32/InterlockedCompareExchange32.S | GCC
46 Ia32/InterlockedDecrement.S | GCC
47 Ia32/InterlockedIncrement.S | GCC
48 SynchronizationGcc.c | GCC
49
50[Sources.X64]
qhuang8bc4eb402009-02-23 07:04:55 +000051 X64/InterlockedCompareExchange64.c | MSFT
52 X64/InterlockedCompareExchange32.c | MSFT
53
54 X64/InterlockedCompareExchange64.asm | INTEL
55 X64/InterlockedCompareExchange32.asm | INTEL
56
mdkinney720d3c52009-01-30 00:45:13 +000057 X64/InterlockedDecrement.c | MSFT
58 X64/InterlockedIncrement.c | MSFT
59 SynchronizationMsc.c | MSFT
60
61 X64/InterlockedDecrement.asm | INTEL
62 X64/InterlockedIncrement.asm | INTEL
63 Synchronization.c | INTEL
64
mdkinneyacbcf042009-08-24 23:39:38 +000065
mdkinney720d3c52009-01-30 00:45:13 +000066 X64/InterlockedIncrement.S | GCC
67 X64/InterlockedDecrement.S | GCC
68 X64/InterlockedCompareExchange64.S | GCC
69 X64/InterlockedCompareExchange32.S | GCC
70 SynchronizationGcc.c | GCC
71
72[Sources.IPF]
73 Ipf/Synchronization.c
74 Ipf/InterlockedCompareExchange64.s
75 Ipf/InterlockedCompareExchange32.s
76
77 Synchronization.c | INTEL
78 SynchronizationMsc.c | MSFT
79 SynchronizationGcc.c | GCC
80
81[Sources.EBC]
82 Synchronization.c
83 Ebc/Synchronization.c
84
mdkinney4b5f3712009-08-18 22:14:01 +000085[Sources.ARM]
86 Synchronization.c
87 Arm/Synchronization.c
88
mdkinney720d3c52009-01-30 00:45:13 +000089[Packages]
90 MdePkg/MdePkg.dec
91
92[LibraryClasses]
93 PcdLib
94 TimerLib
95 DebugLib
96 BaseMemoryLib
97
98[Pcd.common]
99 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout