From 02d7b79771796ad1b71ea2dd759f1baf2b1cb7e0 Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Fri, 7 Feb 2020 02:07:23 +0100 Subject: [PATCH] MdeModulePkg/Application: Fix various typos Fix various typos in documentation, comments and debug strings. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Hao A Wu Signed-off-by: Philippe Mathieu-Daude Message-Id: <20200207010831.9046-11-philmd@redhat.com> --- MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h | 2 +- MdeModulePkg/Application/CapsuleApp/CapsuleApp.c | 2 +- MdeModulePkg/Application/CapsuleApp/CapsuleDump.c | 4 ++-- .../Application/MemoryProfileInfo/MemoryProfileInfo.c | 2 +- MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c | 2 +- MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h index 04c2df5666..e38e87824d 100644 --- a/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h +++ b/MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.h @@ -47,7 +47,7 @@ typedef struct _BOOT_MENU_POPUP_DATA { EFI_STRING_ID HelpToken[HELP_TOKEN_COUNT]; // All of help string ID UINTN SelectItem; // Current select item BOOT_MENU_SCREEN MenuScreen; // Boot menu screen information - BOOT_MENU_SCROLL_BAR_CONTROL ScrollBarControl; // Boot menu scroll bar inoformation + BOOT_MENU_SCROLL_BAR_CONTROL ScrollBarControl; // Boot menu scroll bar information } BOOT_MENU_POPUP_DATA; #endif diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c index 3439ce5feb..4034714773 100644 --- a/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleApp.c @@ -494,7 +494,7 @@ BuildGatherList ( } // - // Record descirptor header + // Record descriptor header // if (Index == 0) { BlockDescriptorsHeader = BlockDescriptors1; diff --git a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c b/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c index d65197b256..7e3e072385 100644 --- a/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c +++ b/MdeModulePkg/Application/CapsuleApp/CapsuleDump.c @@ -38,7 +38,7 @@ DumpUxCapsule ( { EFI_DISPLAY_CAPSULE *DisplayCapsule; DisplayCapsule = (EFI_DISPLAY_CAPSULE *)CapsuleHeader; - Print(L"[UxCapusule]\n"); + Print(L"[UxCapsule]\n"); Print(L"CapsuleHeader:\n"); Print(L" CapsuleGuid - %g\n", &DisplayCapsule->CapsuleHeader.CapsuleGuid); Print(L" HeaderSize - 0x%x\n", DisplayCapsule->CapsuleHeader.HeaderSize); @@ -199,7 +199,7 @@ DumpCapsule ( DumpFmpCapsule(CapsuleHeader); } if (IsNestedFmpCapsule(CapsuleHeader)) { - Print(L"[NestedCapusule]\n"); + Print(L"[NestedCapsule]\n"); Print(L"CapsuleHeader:\n"); Print(L" CapsuleGuid - %g\n", &CapsuleHeader->CapsuleGuid); Print(L" HeaderSize - 0x%x\n", CapsuleHeader->HeaderSize); diff --git a/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c b/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c index 148607db72..191c310685 100644 --- a/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c +++ b/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c @@ -627,7 +627,7 @@ DumpMemoryProfileMemoryRange ( @param[in] ProfileSize Memory profile size. @param[in] Signature Signature. - @return Pointer to the stucture with the signature. + @return Pointer to the structure with the signature. **/ VOID * diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c index c9823e565d..858fdfc53d 100644 --- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c +++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c @@ -554,7 +554,7 @@ RequiredDriver ( @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. - @param SpecialHandlerFn The pointer to the specail handler function, if any. + @param SpecialHandlerFn The pointer to the special handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. @retval EFI_SUCCESS Search the driver success diff --git a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h index 2f3ae45aaf..7be45849f9 100644 --- a/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h +++ b/MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.h @@ -85,7 +85,7 @@ BOOLEAN @param HiiHandle The hii handle for the Uiapp driver. @param ClassGuid The class guid for the driver which is the target. - @param SpecialHandlerFn The pointer to the specail handler function, if any. + @param SpecialHandlerFn The pointer to the special handler function, if any. @param StartOpCodeHandle The opcode handle to save the new opcode. @retval EFI_SUCCESS Search the driver success -- 2.39.2