From f60f4cfeb43b8b09a19015e8ce4d86daed35b801 Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Fri, 7 Feb 2020 02:08:29 +0100 Subject: UefiCpuPkg/CpuDxe: Fix few typos Fix few typos in comments and documentation. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Laszlo Ersek Reviewed-by: Eric Dong Signed-off-by: Philippe Mathieu-Daude Message-Id: <20200207010831.9046-77-philmd@redhat.com> --- UefiCpuPkg/CpuDxe/CpuDxe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.c') diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index 7d7270e10b..a571fc3b17 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -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 ( -- cgit v1.2.3