summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-07 01:40:44 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-07 01:40:44 +0000
commit744265eb0af7bb4bdc4a00fadb1f68795f3b6894 (patch)
treec69eefb14fa5452e9dafe0bd88ac4795c6b45da6 /MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
parent9c9225255d0e85c2274e8d4df6103e6c5c92600a (diff)
downloadedk2-platforms-744265eb0af7bb4bdc4a00fadb1f68795f3b6894.tar.xz
Clarify alignment of GetSpinLockProperties() is byte alignment.
Signed-off-by: lgao4 Reviewed-by: mdkinney git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13086 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c')
-rw-r--r--MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c b/MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
index c59a043c87..badf73c1a6 100644
--- a/MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
+++ b/MdePkg/Library/BaseSynchronizationLib/SynchronizationGcc.c
@@ -1,7 +1,7 @@
/** @file
Implementation of synchronization functions.
- Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -28,8 +28,8 @@
optimal spin lock performance.
This function retrieves the spin lock alignment requirements for optimal
- performance on a given CPU architecture. The spin lock alignment must be a
- power of two and is returned by this function. If there are no alignment
+ performance on a given CPU architecture. The spin lock alignment is byte alignment.
+ It must be a power of two and is returned by this function. If there are no alignment
requirements, then 1 must be returned. The spin lock synchronization
functions must function correctly if the spin lock size and alignment values
returned by this function are not used at all. These values are hints to the