UefiCpuPkg/CpuDxe: Fix few typos
Fix few typos in comments and documentation. Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-77-philmd@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
2a0755a947
commit
f60f4cfeb4
@@ -393,7 +393,7 @@ CpuSetMemoryAttributes (
|
||||
|
||||
//
|
||||
// If this function is called because GCD SetMemorySpaceAttributes () is called
|
||||
// by RefreshGcdMemoryAttributes (), then we are just synchronzing GCD memory
|
||||
// by RefreshGcdMemoryAttributes (), then we are just synchronizing GCD memory
|
||||
// map with MTRR values. So there is no need to modify MTRRs, just return immediately
|
||||
// to avoid unnecessary computing.
|
||||
//
|
||||
@@ -456,7 +456,7 @@ CpuSetMemoryAttributes (
|
||||
CurrentCacheType = MtrrGetMemoryAttribute(BaseAddress);
|
||||
if (CurrentCacheType != CacheType) {
|
||||
//
|
||||
// call MTRR libary function
|
||||
// call MTRR library function
|
||||
//
|
||||
Status = MtrrSetMemoryAttribute (
|
||||
BaseAddress,
|
||||
@@ -831,7 +831,7 @@ RefreshMemoryAttributesFromMtrr (
|
||||
Attributes = CurrentAttributes;
|
||||
} else {
|
||||
//
|
||||
// If fixed MTRR attribute changed, then set memory attribute for previous atrribute
|
||||
// If fixed MTRR attribute changed, then set memory attribute for previous attribute
|
||||
//
|
||||
if (CurrentAttributes != Attributes) {
|
||||
SetGcdMemorySpaceAttributes (
|
||||
@@ -1045,7 +1045,7 @@ IntersectMemoryDescriptor (
|
||||
@param Length Length of the MMIO space.
|
||||
@param Capabilities Capabilities of the MMIO space.
|
||||
|
||||
@retval EFI_SUCCES The MMIO space was added successfully.
|
||||
@retval EFI_SUCCESS The MMIO space was added successfully.
|
||||
**/
|
||||
EFI_STATUS
|
||||
AddMemoryMappedIoSpace (
|
||||
|
Reference in New Issue
Block a user