From 669c5aa240f6675c93a275dd45a1b8fccd351519 Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Tue, 30 Jul 2024 10:00:54 -0600 Subject: UefiPayloadPkg: Fix some spelling mistakes found by cspell When cspell is installed (via `npm install cspell`), CI checks for spelling mistakes. There are currently a very large number of them: some are genuine mistakes while others are words or acryonyms that cspell doesn't know. Fix a few of the misspellings in UefiPayloadPkg. Signed-off-by: Rebecca Cran --- UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c | 2 +- UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c | 2 +- UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c | 6 +++--- UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c | 2 +- UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c b/UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c index de33d49bd1..8566618511 100644 --- a/UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c +++ b/UefiPayloadPkg/PayloadLoaderPeim/FitPayloadLoaderPeim.c @@ -132,7 +132,7 @@ EFI_PEI_PPI_DESCRIPTOR gPpiLoadFilePpiList = { Install Pei Load File PPI. @param FileHandle Handle of the file being invoked. @param PeiServices Describes the list of possible PEI Services. - @retval EFI_SUCESS The entry point executes successfully. + @retval EFI_SUCCESS The entry point executes successfully. @retval Others Some error occurs during the execution of this function. **/ EFI_STATUS diff --git a/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c b/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c index 9f9d3c13e1..219a86cfbc 100644 --- a/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c +++ b/UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c @@ -173,7 +173,7 @@ EFI_PEI_PPI_DESCRIPTOR gPpiLoadFilePpiList = { @param FileHandle Handle of the file being invoked. @param PeiServices Describes the list of possible PEI Services. - @retval EFI_SUCESS The entry point executes successfully. + @retval EFI_SUCCESS The entry point executes successfully. @retval Others Some error occurs during the execution of this function. **/ diff --git a/UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c b/UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c index 7fc589303e..8a076e16e6 100644 --- a/UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c +++ b/UefiPayloadPkg/PchSmiDispatchSmm/PchSmiDispatchSmm.c @@ -25,7 +25,7 @@ LIST_ENTRY mSmmSwDispatch2Queue = INITIALIZE_LIST_HEAD_VARIABLE (mSmm /** Find SmmSwDispatch2Context by SwSmiInputValue. - @param[in] SwSmiInputValue The value to indentify the SmmSwDispatch2 context + @param[in] SwSmiInputValue The value to identify the SmmSwDispatch2 context @return Pointer to EFI_SMM_SW_DISPATCH2_CONTEXT context **/ @@ -51,7 +51,7 @@ FindContextBySwSmiInputValue ( /** Find SmmSwDispatch2Context by DispatchHandle. - @param DispatchHandle The handle to indentify the SmmSwDispatch2 context + @param DispatchHandle The handle to identify the SmmSwDispatch2 context @return Pointer to EFI_SMM_SW_DISPATCH2_CONTEXT context **/ @@ -178,7 +178,7 @@ End: /** Check the SwSmiInputValue is already used -@param[in] SwSmiInputValue To indentify the SmmSwDispatch2 context +@param[in] SwSmiInputValue To identify the SmmSwDispatch2 context @retval EFI_SUCCESS SwSmiInputValue could be used. @retval EFI_INVALID_PARAMETER SwSmiInputValue is already be used. diff --git a/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c b/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c index 748728981a..24ee43aeec 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c +++ b/UefiPayloadPkg/UefiPayloadEntry/AcpiTable.c @@ -13,7 +13,7 @@ Find the board related info from ACPI table @param AcpiTableBase ACPI table start address in memory - @param AcpiBoardInfo Pointer to the acpi board info strucutre + @param AcpiBoardInfo Pointer to the acpi board info structure @retval RETURN_SUCCESS Successfully find out all the required information. @retval RETURN_NOT_FOUND Failed to find the required info. diff --git a/UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c b/UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c index 83936ae26e..9a65b7dbfe 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c +++ b/UefiPayloadPkg/UefiPayloadEntry/MemoryAllocation.c @@ -39,7 +39,7 @@ AllocatePages ( return NULL; } - // Make sure allocation address is page alligned. + // Make sure allocation address is page aligned. Offset = HobTable->EfiFreeMemoryTop & EFI_PAGE_MASK; if (Offset != 0) { HobTable->EfiFreeMemoryTop -= Offset; -- cgit