]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseSynchronizationLib/Ipf/InternalGetSpinLockProperties.c
MdePkg/BaseSynchronizationLib: Add spin lock alignment for IA32/x64
[mirror_edk2.git] / MdePkg / Library / BaseSynchronizationLib / Ipf / InternalGetSpinLockProperties.c
1 /** @file
2 Internal function to get spin lock alignment.
3
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 **/
14
15 /**
16 Internal function to retrieve the architecture specific spin lock alignment
17 requirements for optimal spin lock performance.
18
19 @return The architecture specific spin lock alignment.
20
21 **/
22 UINTN
23 InternalGetSpinLockProperties (
24 VOID
25 )
26 {
27 return 32;
28 }
29