X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=UefiCpuPkg%2FCpuDxe%2FCpuPageTable.c;fp=UefiCpuPkg%2FCpuDxe%2FCpuPageTable.c;h=0a02cb3f6b7e1606536126368738d04c5ed74f7a;hp=cb121771425ac147d9433441c8e7471d37579a78;hb=f60f4cfeb43b8b09a19015e8ce4d86daed35b801;hpb=2a0755a9476187439874955342577ecf0e2cdc33 diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/CpuPageTable.c index cb12177142..0a02cb3f6b 100644 --- a/UefiCpuPkg/CpuDxe/CpuPageTable.c +++ b/UefiCpuPkg/CpuDxe/CpuPageTable.c @@ -776,7 +776,7 @@ ConvertMemoryPageAttributes ( } // - // Below logic is to check 2M/4K page to make sure we donot waist memory. + // Below logic is to check 2M/4K page to make sure we do not waste memory. // Status = EFI_SUCCESS; while (Length != 0) { @@ -838,7 +838,7 @@ Done: Caller should make sure BaseAddress and Length is at page boundary. - Caller need guarentee the TPL <= TPL_NOTIFY, if there is split page request. + Caller need guarantee the TPL <= TPL_NOTIFY, if there is split page request. @param[in] PagingContext The paging context. NULL means get page table from current CPU context. @param[in] BaseAddress The physical address that is the start address of a memory region. @@ -969,7 +969,7 @@ RefreshGcdMemoryAttributesFromPaging ( ); if (EFI_ERROR (Status)) { // - // If we cannot udpate the capabilities, we cannot update its + // If we cannot update the capabilities, we cannot update its // attributes either. So just simply skip current block of memory. // DEBUG ((