summaryrefslogtreecommitdiff
path: root/UefiCpuPkg/Library
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-08-18 15:34:54 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2017-03-31 13:57:30 +0800
commit341fea6438482458f23d41c27cf710e0096ebb96 (patch)
tree71c23c1a35cc14bd48e54d9cfeee4171dfe431cb /UefiCpuPkg/Library
parentde87f23291620d36d69ec55ea53a1c38b8780f0b (diff)
downloadedk2-platforms-341fea6438482458f23d41c27cf710e0096ebb96.tar.xz
UefiCpuPkg/MtrrLib: Correct typo in comments and remove TABs
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Diffstat (limited to 'UefiCpuPkg/Library')
-rw-r--r--UefiCpuPkg/Library/MtrrLib/MtrrLib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
index 7783b63d82..547f827e50 100644
--- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
+++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c
@@ -5,7 +5,7 @@
Most of services in this library instance are suggested to be invoked by BSP only,
except for MtrrSetAllMtrrs() which is used to sync BSP's MTRR setting to APs.
- Copyright (c) 2008 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2008 - 2017, 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
@@ -786,7 +786,7 @@ CombineMemoryAttribute (
continue;
} else {
//
- // The cache type is different, but the range is convered by one MTRR
+ // The cache type is different, but the range is covered by one MTRR
//
if (VariableMtrr[Index].BaseAddress == *Base && MtrrEnd == EndAddress) {
InvalidateShadowMtrr (Index, VariableMtrr, UsedMtrr);
@@ -1278,7 +1278,7 @@ MtrrGetMemoryAttribute (
/**
Worker function prints all MTRRs for debugging.
- If MtrrSetting is not NULL, print MTRR settings from from input MTRR
+ If MtrrSetting is not NULL, print MTRR settings from input MTRR
settings buffer.
If MtrrSetting is NULL, print MTRR settings from MTRRs.