]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLibInternals.h
MdePkg/BaseSynchronizationLib: Add spin lock alignment for IA32/x64
[mirror_edk2.git] / MdePkg / Library / BaseSynchronizationLib / BaseSynchronizationLibInternals.h
index 76f7023241560f416e510f09523d89103b53477b..9716b9276b4430f52049bc281b5f537c73b3cd09 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declaration of internal functions in BaseSynchronizationLib.\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -138,4 +138,16 @@ InternalSyncCompareExchange64 (
   IN      UINT64                    ExchangeValue\r
   );\r
 \r
+/**\r
+  Internal function to retrieve the architecture specific spin lock alignment\r
+  requirements for optimal spin lock performance.\r
+\r
+  @return The architecture specific spin lock alignment.\r
+  \r
+**/\r
+UINTN\r
+InternalGetSpinLockProperties (\r
+  VOID\r
+  );\r
+\r
 #endif\r