MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Internal function to get spin lock alignment.
|
||||
|
||||
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
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
|
||||
@@ -19,7 +19,7 @@
|
||||
requirements for optimal spin lock performance.
|
||||
|
||||
@return The architecture specific spin lock alignment.
|
||||
|
||||
|
||||
**/
|
||||
UINTN
|
||||
InternalGetSpinLockProperties (
|
||||
@@ -48,7 +48,7 @@ InternalGetSpinLockProperties (
|
||||
if (FamilyId == 0x0f) {
|
||||
//
|
||||
// In processors based on Intel NetBurst microarchitecture, use two cache lines
|
||||
//
|
||||
//
|
||||
ModelId = ModelId | ((RegEax >> 12) & 0xf0);
|
||||
if (ModelId <= 0x04 || ModelId == 0x06) {
|
||||
CacheLineSize *= 2;
|
||||
|
Reference in New Issue
Block a user