MdePkg/Library/BaseSynchronizationLib: Enable VS2017/ARM64 builds
[mirror_edk2.git] / MdePkg / Library / BaseSynchronizationLib / BaseSynchronizationLib.inf
CommitLineData
6bfbb5f0 1## @file\r
720d3c5f 2# Base Synchronization Library implementation.\r
3#\r
5f0a17d8 4# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
e2d9bfb2 5# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
720d3c5f 6#\r
e2d9bfb2 7# This program and the accompanying materials\r
720d3c5f 8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
2fc59a00 10# http://opensource.org/licenses/bsd-license.php.\r
720d3c5f 11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#\r
6bfbb5f0 15##\r
720d3c5f 16\r
17[Defines]\r
18 INF_VERSION = 0x00010005\r
19 BASE_NAME = BaseSynchronizationLib\r
c92c1790 20 MODULE_UNI_FILE = BaseSynchronizationLib.uni\r
720d3c5f 21 FILE_GUID = FC9990DF-C5FF-44cf-8799-CBB45B577F87\r
22 MODULE_TYPE = BASE\r
23 VERSION_STRING = 1.0\r
24 LIBRARY_CLASS = SynchronizationLib\r
25\r
26#\r
bf6ee6c7 27# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64\r
720d3c5f 28#\r
6bfbb5f0 29[Sources]\r
bc4eb407 30 BaseSynchronizationLibInternals.h\r
720d3c5f 31\r
3c991078 32[Sources.IA32]\r
5f0a17d8 33 Ia32/InternalGetSpinLockProperties.c | MSFT\r
720d3c5f 34 Ia32/InterlockedCompareExchange64.c | MSFT \r
35 Ia32/InterlockedCompareExchange32.c | MSFT \r
9b89163e 36 Ia32/InterlockedCompareExchange16.c | MSFT\r
720d3c5f 37 Ia32/InterlockedDecrement.c | MSFT \r
38 Ia32/InterlockedIncrement.c | MSFT \r
39 SynchronizationMsc.c | MSFT\r
40\r
5a59c50e 41 Ia32/InterlockedCompareExchange64.nasm| INTEL\r
720d3c5f 42 Ia32/InterlockedCompareExchange64.asm | INTEL \r
20ddf988 43 Ia32/InterlockedCompareExchange32.nasm| INTEL\r
720d3c5f 44 Ia32/InterlockedCompareExchange32.asm | INTEL \r
0b45f691 45 Ia32/InterlockedCompareExchange16.nasm| INTEL\r
9b89163e 46 Ia32/InterlockedCompareExchange16.asm | INTEL\r
8605247f 47 Ia32/InterlockedDecrement.nasm| INTEL\r
720d3c5f 48 Ia32/InterlockedDecrement.asm | INTEL \r
9d720562 49 Ia32/InterlockedIncrement.nasm| INTEL\r
720d3c5f 50 Ia32/InterlockedIncrement.asm | INTEL \r
51 Synchronization.c | INTEL\r
52\r
5f0a17d8 53 Ia32/InternalGetSpinLockProperties.c | GCC\r
cf683fed 54 Ia32/GccInline.c | GCC\r
720d3c5f 55 SynchronizationGcc.c | GCC\r
56\r
57[Sources.X64]\r
5f0a17d8 58 Ia32/InternalGetSpinLockProperties.c | MSFT\r
bc4eb407 59 X64/InterlockedCompareExchange64.c | MSFT\r
60 X64/InterlockedCompareExchange32.c | MSFT\r
9b89163e 61 X64/InterlockedCompareExchange16.c | MSFT\r
bc4eb407 62 \r
e5f458f0 63 X64/InterlockedCompareExchange64.nasm| INTEL\r
bc4eb407 64 X64/InterlockedCompareExchange64.asm | INTEL\r
ad00b0f2 65 X64/InterlockedCompareExchange32.nasm| INTEL\r
bc4eb407 66 X64/InterlockedCompareExchange32.asm | INTEL\r
a04618e6 67 X64/InterlockedCompareExchange16.nasm| INTEL\r
9b89163e 68 X64/InterlockedCompareExchange16.asm | INTEL\r
bc4eb407 69 \r
720d3c5f 70 X64/InterlockedDecrement.c | MSFT \r
71 X64/InterlockedIncrement.c | MSFT \r
72 SynchronizationMsc.c | MSFT \r
73\r
824415d0 74 X64/InterlockedDecrement.nasm| INTEL\r
720d3c5f 75 X64/InterlockedDecrement.asm | INTEL \r
ce61e2a5 76 X64/InterlockedIncrement.nasm| INTEL\r
720d3c5f 77 X64/InterlockedIncrement.asm | INTEL \r
78 Synchronization.c | INTEL \r
79\r
5f0a17d8 80 Ia32/InternalGetSpinLockProperties.c | GCC\r
cf683fed 81 X64/GccInline.c | GCC\r
720d3c5f 82 SynchronizationGcc.c | GCC \r
83\r
84[Sources.IPF]\r
85 Ipf/Synchronization.c\r
86 Ipf/InterlockedCompareExchange64.s\r
87 Ipf/InterlockedCompareExchange32.s\r
9b89163e 88 Ipf/InterlockedCompareExchange16.s\r
720d3c5f 89\r
5f0a17d8
JF
90 Ipf/InternalGetSpinLockProperties.c | MSFT\r
91 Ipf/InternalGetSpinLockProperties.c | GCC\r
92\r
720d3c5f 93 Synchronization.c | INTEL \r
94 SynchronizationMsc.c | MSFT \r
95 SynchronizationGcc.c | GCC \r
96\r
97[Sources.EBC]\r
98 Synchronization.c\r
99 Ebc/Synchronization.c\r
100\r
4b5f371b 101[Sources.ARM]\r
102 Synchronization.c\r
cc310428
OM
103 Arm/Synchronization.asm | RVCT\r
104 Arm/Synchronization.S | GCC\r
4b5f371b 105\r
bf6ee6c7
HL
106[Sources.AARCH64]\r
107 Synchronization.c\r
37db86ae
PB
108 AArch64/Synchronization.S | GCC\r
109 AArch64/Synchronization.asm | MSFT\r
bf6ee6c7 110\r
720d3c5f 111[Packages]\r
112 MdePkg/MdePkg.dec\r
113\r
114[LibraryClasses]\r
115 PcdLib\r
116 TimerLib\r
117 DebugLib\r
118 BaseMemoryLib\r
119\r
6bfbb5f0 120[Pcd]\r
c92c1790
LG
121 gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout ## SOMETIMES_CONSUMES\r
122\r