From 44c9618a3f518b0fc21df71d9f047b60754b7ebb Mon Sep 17 00:00:00 2001 From: Sean Brogan Date: Tue, 8 Oct 2019 22:38:15 -0700 Subject: FatPkg: Fix spelling errors https://bugzilla.tianocore.org/show_bug.cgi?id=2264 Cc: Ray Ni Signed-off-by: Michael D Kinney Reviewed-by: Ray Ni --- FatPkg/FatPei/FatLiteApi.c | 6 +++--- FatPkg/FatPei/FatLitePeim.h | 4 ++-- FatPkg/FatPei/Gpt.c | 2 +- FatPkg/FatPei/Mbr.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'FatPkg/FatPei') diff --git a/FatPkg/FatPei/FatLiteApi.c b/FatPkg/FatPei/FatLiteApi.c index b9f883b9e0..8c7c6e5258 100644 --- a/FatPkg/FatPei/FatLiteApi.c +++ b/FatPkg/FatPei/FatLiteApi.c @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent PEI_FAT_PRIVATE_DATA *mPrivateData = NULL; /** - BlockIo installation nofication function. Find out all the current BlockIO + BlockIo installation notification function. Find out all the current BlockIO PPIs in the system and add them into private data. Assume there is @param PeiServices General purpose services available to every @@ -256,7 +256,7 @@ FatPeimEntry ( Status = PeiServicesAllocatePages ( EfiBootServicesCode, - (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMMORY_PAGE_SIZE + 1, + (sizeof (PEI_FAT_PRIVATE_DATA) - 1) / PEI_FAT_MEMORY_PAGE_SIZE + 1, &Address ); if (EFI_ERROR (Status)) { @@ -600,7 +600,7 @@ LoadRecoveryCapsule ( @param FileName The recovery file name to find. @param Handle The output file handle. - @retval EFI_DEVICE_ERROR Some error occured when operating the FAT + @retval EFI_DEVICE_ERROR Some error occurred when operating the FAT volume. @retval EFI_NOT_FOUND The recovery file was not found. @retval EFI_SUCCESS The recovery file was successfully found on the diff --git a/FatPkg/FatPei/FatLitePeim.h b/FatPkg/FatPei/FatLitePeim.h index 18534b9abb..9cacf74ace 100644 --- a/FatPkg/FatPei/FatLitePeim.h +++ b/FatPkg/FatPei/FatLitePeim.h @@ -40,7 +40,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define PEI_FAT_MAX_BLOCK_IO_PPI 32 #define PEI_FAT_MAX_VOLUME 64 -#define PEI_FAT_MEMMORY_PAGE_SIZE 0x1000 +#define PEI_FAT_MEMORY_PAGE_SIZE 0x1000 // // Data Structures @@ -194,7 +194,7 @@ typedef struct { @param FileName The recovery file name to find. @param Handle The output file handle. - @retval EFI_DEVICE_ERROR Some error occured when operating the FAT + @retval EFI_DEVICE_ERROR Some error occurred when operating the FAT volume. @retval EFI_NOT_FOUND The recovery file was not found. @retval EFI_SUCCESS The recovery file was successfully found on the diff --git a/FatPkg/FatPei/Gpt.c b/FatPkg/FatPei/Gpt.c index 233a66b974..4028c535f3 100644 --- a/FatPkg/FatPei/Gpt.c +++ b/FatPkg/FatPei/Gpt.c @@ -48,7 +48,7 @@ PartitionCheckGptHeaderCRC ( GptHdrCrc = PartHeader->Header.CRC32; // - // Set CRC field to zero when doing calcuation + // Set CRC field to zero when doing calculation // PartHeader->Header.CRC32 = 0; diff --git a/FatPkg/FatPei/Mbr.c b/FatPkg/FatPei/Mbr.c index 0b6375af6d..5b01604c07 100644 --- a/FatPkg/FatPei/Mbr.c +++ b/FatPkg/FatPei/Mbr.c @@ -52,7 +52,7 @@ PartitionValidMbr ( if (EndingLBA > LastLba) { // // Compatability Errata: - // Some systems try to hide drive space with thier INT 13h driver + // Some systems try to hide drive space with their INT 13h driver // This does not hide space from the OS driver. This means the MBR // that gets created from DOS is smaller than the MBR created from // a real OS (NT & Win98). This leads to BlockIo->LastBlock being -- cgit v1.2.3