summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:08 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit48cf40b8c92e164f0785cccf5b9c6815561c8474 (patch)
treed89896500af74ce6b9b97481dc3f531217229b10 /OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
parentf221466ea77a897d0f21e2092d5564249ab828c1 (diff)
downloadedk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.gz
OvmfPkg/Csm: Fix various typos
Fix various typos in documentation, comments and strings. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: David Woodhouse <dwmw2@infradead.org> Acked-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-56-philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c')
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
index af7d80eb5f..35470abf91 100644
--- a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
+++ b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
@@ -1,5 +1,5 @@
/** @file
- Legacy Boot Maintainence UI implementation.
+ Legacy Boot Maintenance UI implementation.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR>
@@ -237,10 +237,10 @@ OrderLegacyBootOption4SameType (
/**
Update the legacy BBS boot option. L"LegacyDevOrder" and gEfiLegacyDevOrderVariableGuid EFI Variable
- is udpated with the new Legacy Boot order. The EFI Variable of "Boot####" and gEfiGlobalVariableGuid
+ is updated with the new Legacy Boot order. The EFI Variable of "Boot####" and gEfiGlobalVariableGuid
is also updated.
- @param NVMapData The data for egacy BBS boot.
+ @param NVMapData The data for legacy BBS boot.
@return EFI_SUCCESS The function completed successfully.
@retval EFI_NOT_FOUND If L"LegacyDevOrder" and gEfiLegacyDevOrderVariableGuid EFI Variable can not be found.
@@ -725,7 +725,7 @@ CreateLegacyMenuStringToken (
Create a dynamic page so that Legacy Device boot order
can be set for specified device type.
- @param UpdatePageId The form ID. It also spefies the legacy device type.
+ @param UpdatePageId The form ID. It also specifies the legacy device type.
**/
@@ -1127,8 +1127,8 @@ LegacyBootOptionCallback (
if (QuestionId == FORM_FLOPPY_BOOT_ID) {
if (!mFirstEnterLegacyForm) {
//
- // The leagcyBootMaintUiLib depends on the LegacyBootManagerLib to realize its functionality.
- // We need to do the leagcy boot options related actions after the LegacyBootManagerLib has been initialized.
+ // The legacyBootMaintUiLib depends on the LegacyBootManagerLib to realize its functionality.
+ // We need to do the legacy boot options related actions after the LegacyBootManagerLib has been initialized.
// Opening the legacy menus is the appropriate time that the LegacyBootManagerLib has already been initialized.
//
mFirstEnterLegacyForm = TRUE;
@@ -1403,7 +1403,7 @@ GetLegacyOptions (
@param ImageHandle The image handle.
@param SystemTable The system table.
- @retval EFI_SUCEESS Install Boot manager menu success.
+ @retval EFI_SUCCESS Install Boot manager menu success.
@retval Other Return error status.
**/