2010-02-24 01:21:16 +01:00
|
|
|
## @file
|
2009-01-30 01:45:13 +01:00
|
|
|
# Base Synchronization Library implementation.
|
|
|
|
#
|
2018-06-04 07:26:22 +02:00
|
|
|
# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-04-23 18:26:26 +02:00
|
|
|
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2009-01-30 01:45:13 +01:00
|
|
|
#
|
2010-04-23 18:26:26 +02:00
|
|
|
# This program and the accompanying materials
|
2009-01-30 01:45:13 +01:00
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
2010-06-25 23:56:02 +02:00
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
2009-01-30 01:45:13 +01:00
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
##
|
2009-01-30 01:45:13 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = BaseSynchronizationLib
|
2014-08-27 11:33:09 +02:00
|
|
|
MODULE_UNI_FILE = BaseSynchronizationLib.uni
|
2009-01-30 01:45:13 +01:00
|
|
|
FILE_GUID = FC9990DF-C5FF-44cf-8799-CBB45B577F87
|
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = SynchronizationLib
|
|
|
|
|
|
|
|
#
|
2013-07-29 11:57:43 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64
|
2009-01-30 01:45:13 +01:00
|
|
|
#
|
2010-02-24 01:21:16 +01:00
|
|
|
[Sources]
|
2009-02-23 08:04:55 +01:00
|
|
|
BaseSynchronizationLibInternals.h
|
2009-01-30 01:45:13 +01:00
|
|
|
|
2009-08-18 23:02:42 +02:00
|
|
|
[Sources.IA32]
|
2016-03-21 06:36:50 +01:00
|
|
|
Ia32/InternalGetSpinLockProperties.c | MSFT
|
2018-06-27 15:11:33 +02:00
|
|
|
Ia32/InterlockedCompareExchange64.c | MSFT
|
|
|
|
Ia32/InterlockedCompareExchange32.c | MSFT
|
2015-02-28 21:31:54 +01:00
|
|
|
Ia32/InterlockedCompareExchange16.c | MSFT
|
2018-06-27 15:11:33 +02:00
|
|
|
Ia32/InterlockedDecrement.c | MSFT
|
|
|
|
Ia32/InterlockedIncrement.c | MSFT
|
2009-01-30 01:45:13 +01:00
|
|
|
SynchronizationMsc.c | MSFT
|
|
|
|
|
2016-05-31 03:52:13 +02:00
|
|
|
Ia32/InterlockedCompareExchange64.nasm| INTEL
|
2016-05-31 03:52:13 +02:00
|
|
|
Ia32/InterlockedCompareExchange32.nasm| INTEL
|
2016-05-31 03:52:13 +02:00
|
|
|
Ia32/InterlockedCompareExchange16.nasm| INTEL
|
2016-05-31 03:52:13 +02:00
|
|
|
Ia32/InterlockedDecrement.nasm| INTEL
|
2016-05-31 03:52:14 +02:00
|
|
|
Ia32/InterlockedIncrement.nasm| INTEL
|
2009-01-30 01:45:13 +01:00
|
|
|
Synchronization.c | INTEL
|
|
|
|
|
2016-03-21 06:36:50 +01:00
|
|
|
Ia32/InternalGetSpinLockProperties.c | GCC
|
2010-05-18 07:37:58 +02:00
|
|
|
Ia32/GccInline.c | GCC
|
2009-01-30 01:45:13 +01:00
|
|
|
SynchronizationGcc.c | GCC
|
|
|
|
|
|
|
|
[Sources.X64]
|
2016-03-21 06:36:50 +01:00
|
|
|
Ia32/InternalGetSpinLockProperties.c | MSFT
|
2009-02-23 08:04:55 +01:00
|
|
|
X64/InterlockedCompareExchange64.c | MSFT
|
|
|
|
X64/InterlockedCompareExchange32.c | MSFT
|
2015-02-28 21:31:54 +01:00
|
|
|
X64/InterlockedCompareExchange16.c | MSFT
|
2018-06-27 15:11:33 +02:00
|
|
|
|
2016-05-31 03:52:14 +02:00
|
|
|
X64/InterlockedCompareExchange64.nasm| INTEL
|
2016-05-31 03:52:14 +02:00
|
|
|
X64/InterlockedCompareExchange32.nasm| INTEL
|
2016-05-31 03:52:14 +02:00
|
|
|
X64/InterlockedCompareExchange16.nasm| INTEL
|
2018-06-27 15:11:33 +02:00
|
|
|
|
|
|
|
X64/InterlockedDecrement.c | MSFT
|
|
|
|
X64/InterlockedIncrement.c | MSFT
|
|
|
|
SynchronizationMsc.c | MSFT
|
2009-01-30 01:45:13 +01:00
|
|
|
|
2016-05-31 03:52:14 +02:00
|
|
|
X64/InterlockedDecrement.nasm| INTEL
|
2016-05-31 03:52:14 +02:00
|
|
|
X64/InterlockedIncrement.nasm| INTEL
|
2018-06-27 15:11:33 +02:00
|
|
|
Synchronization.c | INTEL
|
2009-01-30 01:45:13 +01:00
|
|
|
|
2016-03-21 06:36:50 +01:00
|
|
|
Ia32/InternalGetSpinLockProperties.c | GCC
|
2010-05-18 07:37:58 +02:00
|
|
|
X64/GccInline.c | GCC
|
2018-06-27 15:11:33 +02:00
|
|
|
SynchronizationGcc.c | GCC
|
2009-01-30 01:45:13 +01:00
|
|
|
|
|
|
|
[Sources.IPF]
|
|
|
|
Ipf/Synchronization.c
|
|
|
|
Ipf/InterlockedCompareExchange64.s
|
|
|
|
Ipf/InterlockedCompareExchange32.s
|
2015-02-28 21:31:54 +01:00
|
|
|
Ipf/InterlockedCompareExchange16.s
|
2009-01-30 01:45:13 +01:00
|
|
|
|
2016-03-21 06:36:50 +01:00
|
|
|
Ipf/InternalGetSpinLockProperties.c | MSFT
|
|
|
|
Ipf/InternalGetSpinLockProperties.c | GCC
|
|
|
|
|
2018-06-27 15:11:33 +02:00
|
|
|
Synchronization.c | INTEL
|
|
|
|
SynchronizationMsc.c | MSFT
|
|
|
|
SynchronizationGcc.c | GCC
|
2009-01-30 01:45:13 +01:00
|
|
|
|
|
|
|
[Sources.EBC]
|
|
|
|
Synchronization.c
|
|
|
|
Ebc/Synchronization.c
|
|
|
|
|
2009-08-19 00:14:01 +02:00
|
|
|
[Sources.ARM]
|
|
|
|
Synchronization.c
|
2015-02-28 21:31:40 +01:00
|
|
|
Arm/Synchronization.asm | RVCT
|
|
|
|
Arm/Synchronization.S | GCC
|
2009-08-19 00:14:01 +02:00
|
|
|
|
2013-07-29 11:57:43 +02:00
|
|
|
[Sources.AARCH64]
|
|
|
|
Synchronization.c
|
2018-03-28 17:55:20 +02:00
|
|
|
AArch64/Synchronization.S | GCC
|
|
|
|
AArch64/Synchronization.asm | MSFT
|
2013-07-29 11:57:43 +02:00
|
|
|
|
2009-01-30 01:45:13 +01:00
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
|
|
|
TimerLib
|
|
|
|
DebugLib
|
|
|
|
BaseMemoryLib
|
|
|
|
|
2010-02-24 01:21:16 +01:00
|
|
|
[Pcd]
|
2014-08-27 11:33:09 +02:00
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdSpinLockTimeout ## SOMETIMES_CONSUMES
|
|
|
|
|