summaryrefslogtreecommitdiff
path: root/OvmfPkg/Csm/LegacyBootMaintUiLib
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
parentf221466ea77a897d0f21e2092d5564249ab828c1 (diff)
downloadedk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.zip
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.gz
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.bz2
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')
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c14
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h4
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf2
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni8
-rw-r--r--OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h2
5 files changed, 15 insertions, 15 deletions
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
index af7d80e..35470ab 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.
**/
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h
index 0c49131..8729029 100644
--- a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h
+++ b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h
@@ -1,5 +1,5 @@
/** @file
- Legacy boot maintainence Ui definition.
+ Legacy boot maintenance Ui definition.
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -61,7 +61,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
//
-// String Contant
+// String Constant
//
#define STR_FLOPPY L"Floppy Drive #%02x"
#define STR_HARDDISK L"HardDisk Drive #%02x"
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
index 5cc64a1..9a790d3 100644
--- a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
+++ b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
@@ -1,5 +1,5 @@
## @file
-# Legacy Boot Maintainence UI module is library for BDS phase.
+# Legacy Boot Maintenance UI module is library for BDS phase.
#
# Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni
index c2c100d..f29e144 100644
--- a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni
+++ b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni
@@ -1,7 +1,7 @@
// /** @file
-// Legacy Boot Maintainence UI module is library for BDS phase.
+// Legacy Boot Maintenance UI module is library for BDS phase.
//
-// Legacy Boot Maintainence UI module is library for BDS phase.
+// Legacy Boot Maintenance UI module is library for BDS phase.
//
// Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
//
@@ -11,10 +11,10 @@
#string STR_MODULE_ABSTRACT
#language en-US
-"Legacy Boot Maintainence UI module is library for BDS phase."
+"Legacy Boot Maintenance UI module is library for BDS phase."
#string STR_MODULE_DESCRIPTION
#language en-US
-"Legacy Boot Maintainence UI module is library for BDS phase."
+"Legacy Boot Maintenance UI module is library for BDS phase."
diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h
index e16fc39..1335486 100644
--- a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h
+++ b/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h
@@ -1,5 +1,5 @@
/** @file
- Legacy Boot Maintainence UI definition.
+ Legacy Boot Maintenance UI definition.
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent