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>
|
2020-04-21 03:51:27 +02:00
|
|
|
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
2022-10-01 01:38:07 +02:00
|
|
|
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
2009-01-30 01:45:13 +01:00
|
|
|
#
|
2019-04-04 01:06:00 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-01-30 01:45:13 +01:00
|
|
|
#
|
|
|
|
#
|
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
|
|
|
|
|
|
|
|
#
|
2018-07-02 03:21:05 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 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-09-07 11:26:14 +02:00
|
|
|
InterlockedIncrementMsc.c | MSFT
|
|
|
|
InterlockedDecrementMsc.c | MSFT
|
|
|
|
SynchronizationMsc.c | MSFT
|
2009-01-30 01:45:13 +01:00
|
|
|
|
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-09-07 11:26:14 +02:00
|
|
|
InterlockedIncrementMsc.c | MSFT
|
|
|
|
InterlockedDecrementMsc.c | MSFT
|
|
|
|
SynchronizationMsc.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-09-07 11:26:14 +02:00
|
|
|
X64/InterlockedDecrement.nasm | INTEL
|
|
|
|
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.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.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
|
|
|
|
2020-04-21 03:51:27 +02:00
|
|
|
[Sources.RISCV64]
|
|
|
|
Synchronization.c
|
2022-11-11 12:21:06 +01:00
|
|
|
RiscV64/Synchronization.S | GCC
|
2020-04-21 03:51:27 +02:00
|
|
|
|
2022-10-01 01:38:07 +02:00
|
|
|
[Sources.LOONGARCH64]
|
|
|
|
Synchronization.c
|
|
|
|
LoongArch64/Synchronization.c | GCC
|
|
|
|
LoongArch64/AsmSynchronization.S | GCC
|
|
|
|
|
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
|
|
|
|
|