]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuDxe/CpuPageTable.c
UefiCpuPkg/CpuDxe: Fix few typos
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / CpuPageTable.c
index cb121771425ac147d9433441c8e7471d37579a78..0a02cb3f6b7e1606536126368738d04c5ed74f7a 100644 (file)
@@ -776,7 +776,7 @@ ConvertMemoryPageAttributes (
   }\r
 \r
   //\r
-  // Below logic is to check 2M/4K page to make sure we donot waist memory.\r
+  // Below logic is to check 2M/4K page to make sure we do not waste memory.\r
   //\r
   Status = EFI_SUCCESS;\r
   while (Length != 0) {\r
@@ -838,7 +838,7 @@ Done:
 \r
   Caller should make sure BaseAddress and Length is at page boundary.\r
 \r
-  Caller need guarentee the TPL <= TPL_NOTIFY, if there is split page request.\r
+  Caller need guarantee the TPL <= TPL_NOTIFY, if there is split page request.\r
 \r
   @param[in]  PagingContext     The paging context. NULL means get page table from current CPU context.\r
   @param[in]  BaseAddress       The physical address that is the start address of a memory region.\r
@@ -969,7 +969,7 @@ RefreshGcdMemoryAttributesFromPaging (
                     );\r
     if (EFI_ERROR (Status)) {\r
       //\r
-      // If we cannot udpate the capabilities, we cannot update its\r
+      // If we cannot update the capabilities, we cannot update its\r
       // attributes either. So just simply skip current block of memory.\r
       //\r
       DEBUG ((\r