summaryrefslogtreecommitdiffstats
path: root/FatPkg/FatPei
diff options
context:
space:
mode:
authorSean Brogan <sean.brogan@microsoft.com>2019-10-08 22:38:15 -0700
committerMichael D Kinney <michael.d.kinney@intel.com>2019-10-22 17:24:34 -0700
commit44c9618a3f518b0fc21df71d9f047b60754b7ebb (patch)
treee21795c50d424124c5cfd57877d9d53d08a4a195 /FatPkg/FatPei
parent8d891592457199c517b1490368c192508a603fd5 (diff)
downloadedk2-44c9618a3f518b0fc21df71d9f047b60754b7ebb.tar.gz
edk2-44c9618a3f518b0fc21df71d9f047b60754b7ebb.tar.bz2
edk2-44c9618a3f518b0fc21df71d9f047b60754b7ebb.zip
FatPkg: Fix spelling errors
https://bugzilla.tianocore.org/show_bug.cgi?id=2264 Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'FatPkg/FatPei')
-rw-r--r--FatPkg/FatPei/FatLiteApi.c6
-rw-r--r--FatPkg/FatPei/FatLitePeim.h4
-rw-r--r--FatPkg/FatPei/Gpt.c2
-rw-r--r--FatPkg/FatPei/Mbr.c2
4 files changed, 7 insertions, 7 deletions
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