From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web09.2056.1578044489886471107 for ; Fri, 03 Jan 2020 01:41:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XjxAve0Q; spf=pass (domain: redhat.com, ip: 207.211.31.81, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578044489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TEAYN8Bzo075OQxgIco3upePrxok9W9lZscQQ3GQD74=; b=XjxAve0Q5tNKpqY1TfP2W5WYFZ1howpbHr95tSNbeHdFaIAdVXfMxpW22Ct+jXSZzEjVVp T+S5U+udoxLvJrv/HRkBr3xGG4+VHD5aZh88yTE8g6Y4thqf3VIEy0WYjAwf72crfiJAeY Q7gZq6wy73382gP/A/1VEfsdkrl9XIM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-261-kaDLDvRxMsqNitwwxR6yJA-1; Fri, 03 Jan 2020 04:41:25 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 29F5F107ACC5; Fri, 3 Jan 2020 09:41:24 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1F18A60BF7; Fri, 3 Jan 2020 09:41:21 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Philippe Mathieu-Daude , David Woodhouse Subject: [PATCH v2 55/78] OvmfPkg/Csm: Fix various typos Date: Fri, 3 Jan 2020 10:07:49 +0100 Message-Id: <20200103090812.10592-56-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: kaDLDvRxMsqNitwwxR6yJA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in documentation, comments and strings. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: David Woodhouse Signed-off-by: Philippe Mathieu-Daude --- v2: 'bios' -> 'BIOS' (David Woodhouse) --- .../LegacyBootMaintUiLib.inf | 2 +- OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h | 10 +++++----- .../BiosThunk/VideoDxe/VesaBiosExtensions.h | 8 ++++---- OvmfPkg/Csm/Include/Framework/BootScript.h | 2 +- .../FrameworkInternalFormRepresentation.h | 2 +- OvmfPkg/Csm/Include/Protocol/IsaIo.h | 2 +- OvmfPkg/Csm/Include/Protocol/LegacyBios.h | 6 +++--- .../Csm/Include/Protocol/LegacyBiosPlatform.h | 4 ++-- OvmfPkg/Csm/Include/Protocol/VgaMiniPort.h | 2 +- .../Csm/LegacyBiosDxe/LegacyBiosInterface.h | 8 ++++---- .../LegacyBootMaintUiLib/LegacyBootMaintUi.h | 4 ++-- .../LegacyBootMaintUiVfr.h | 2 +- OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c | 4 ++-- OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c | 6 +++--- OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c | 6 +++--- OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c | 4 ++-- OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c | 8 ++++---- OvmfPkg/Csm/LegacyBiosDxe/Thunk.c | 4 ++-- .../LegacyBootMaintUiLib/LegacyBootMaintUi.c | 14 +++++++------- OvmfPkg/Csm/LegacyBootManagerLib/LegacyBm.c | 18 +++++++++--------- .../LegacyBootMaintUiLib.uni | 8 ++++---- 21 files changed, 62 insertions(+), 62 deletions(-) diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf b/Ov= mfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf index 5cc64a1b2df2..9a790d34a0e4 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.
# SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h b/OvmfPkg/Csm/BiosT= hunk/VideoDxe/BiosVideo.h index 951f4e6f768f..d4fe15428bf0 100644 --- a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h +++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h @@ -241,7 +241,7 @@ BiosVideoCheckForVga ( =20 =20 /** - Release resource for biso video instance. + Release resource for BIOS video instance. =20 @param BiosVideoPrivate Video child device private data structure =20 @@ -347,9 +347,9 @@ BiosVideoGraphicsOutputVbeBlt ( =20 =20 /** - Grahpics Output protocol instance to block transfer for VGA device. + Graphics Output protocol instance to block transfer for VGA device. =20 - @param This Pointer to Grahpics Output protocol insta= nce + @param This Pointer to Graphics Output protocol insta= nce @param BltBuffer The data to transfer to screen @param BltOperation The operation to perform @param SourceX The X coordinate of the source for BltOpe= ration @@ -412,7 +412,7 @@ BiosVideoVgaMiniPortSetMode ( /** Event handler for Exit Boot Service. =20 - @param Event The event that be siganlled when exiting boot servic= e. + @param Event The event that be signalled when exiting boot servic= e. @param Context Pointer to instance of BIOS_VIDEO_DEV. =20 **/ @@ -506,7 +506,7 @@ BiosVideoChildHandleUninstall ( ); =20 /** - Release resource for biso video instance. + Release resource for BIOS video instance. =20 @param BiosVideoPrivate Video child device private data structure =20 diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h b/OvmfPkg/= Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h index dbf706179ff9..88065f15c645 100644 --- a/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h +++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h @@ -250,7 +250,7 @@ typedef struct { #define VESA_BIOS_EXTENSIONS_VERSION_3_0 0x0300 =20 // -// Super VGA Information Block Capabilities field bit defintions +// Super VGA Information Block Capabilities field bit definitions // #define VESA_BIOS_EXTENSIONS_CAPABILITY_8_BIT_DAC 0x01 // 0: DAC width is= fixed at 6 bits/color // 1: DAC width switchable to 8 bits/color @@ -358,7 +358,7 @@ typedef struct { } VESA_BIOS_EXTENSIONS_MODE_INFORMATION_BLOCK; =20 // -// Super VGA Mode Information Block ModeAttributes field bit defintions +// Super VGA Mode Information Block ModeAttributes field bit definitions // #define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_HARDWARE 0x0001 // 0: Mode n= ot supported in handware // 1: Mode supported in handware @@ -396,7 +396,7 @@ typedef struct { #define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_DUAL_DISPLAY 0x1000 // 0: No= dual display start address support // 1: Dual display start address support // -// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit= defintions +// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit= definitions // #define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_RELOCATABLE 0x01 // 0: Single= non-relocatable window only // 1: Relocatable window(s) are supported @@ -407,7 +407,7 @@ typedef struct { #define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_WRITABLE 0x04 // 0: Window i= s not writable // 1: Window is writable // -// Super VGA Mode Information Block DirectColorMode field bit defintions +// Super VGA Mode Information Block DirectColorMode field bit definitions // #define VESA_BIOS_EXTENSIONS_DIRECT_COLOR_MODE_PROG_COLOR_RAMP 0x01 // 0= : Color ram is fixed // 1: Color ramp is programmable diff --git a/OvmfPkg/Csm/Include/Framework/BootScript.h b/OvmfPkg/Csm/Inclu= de/Framework/BootScript.h index cb7220c1a7bd..a3518ea837cd 100644 --- a/OvmfPkg/Csm/Include/Framework/BootScript.h +++ b/OvmfPkg/Csm/Include/Framework/BootScript.h @@ -1,5 +1,5 @@ /** @file - This file contains the boot script defintions that are shared between th= e + This file contains the boot script definitions that are shared between t= he Boot Script Executor PPI and the Boot Script Save Protocol. =20 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
diff --git a/OvmfPkg/Csm/Include/Framework/FrameworkInternalFormRepresentat= ion.h b/OvmfPkg/Csm/Include/Framework/FrameworkInternalFormRepresentation.h index 04cbae1ef5ae..f10fc5231289 100644 --- a/OvmfPkg/Csm/Include/Framework/FrameworkInternalFormRepresentation.h +++ b/OvmfPkg/Csm/Include/Framework/FrameworkInternalFormRepresentation.h @@ -271,7 +271,7 @@ typedef struct { =20 /// /// Inconsistent with specification here: -/// The following defintion may not comply with Framework Specification HI= I 0.92. To +/// The following definition may not comply with Framework Specification H= II 0.92. To /// keep the inconsistant is for implementation needed. ///@{ typedef struct { diff --git a/OvmfPkg/Csm/Include/Protocol/IsaIo.h b/OvmfPkg/Csm/Include/Pro= tocol/IsaIo.h index 30000305fb7d..8807e421feec 100644 --- a/OvmfPkg/Csm/Include/Protocol/IsaIo.h +++ b/OvmfPkg/Csm/Include/Protocol/IsaIo.h @@ -145,7 +145,7 @@ typedef struct { @param[in] SrcOffset The offset of the source in ISA MMIO space. @param[in] Count The number tranfers to perform for this copy ope= ration. =20 - @retval EFI_SUCCESS The data was copied sucessfully. + @retval EFI_SUCCESS The data was copied successfully. @retval EFI_UNSUPPORTED The DestOffset or SrcOffset is not valid= for this device. @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid. @retval EFI_OUT_OF_RESOURCES The request could not be completed due t= o a lack of resources. diff --git a/OvmfPkg/Csm/Include/Protocol/LegacyBios.h b/OvmfPkg/Csm/Includ= e/Protocol/LegacyBios.h index 36761da39740..cd585a8d58f3 100644 --- a/OvmfPkg/Csm/Include/Protocol/LegacyBios.h +++ b/OvmfPkg/Csm/Include/Protocol/LegacyBios.h @@ -1,7 +1,7 @@ /** @file The EFI Legacy BIOS Protocol is used to abstract legacy Option ROM usage under EFI and Legacy OS boot. This file also includes all the related - COMPATIBILIY16 structures and defintions. + COMPATIBILIY16 structures and definitions. =20 Note: The names for EFI_IA32_REGISTER_SET elements were picked to follow well known naming conventions. @@ -213,7 +213,7 @@ typedef struct { /// value of the start of the PCI Express memory-mapped configuration re= gisters and /// must be filled in prior to EfiCompatibility code issuing the Compati= bility16 function /// Compatibility16InitializeYourself(). - /// Compatibility16InitializeYourself() is defined in Compatability16 + /// Compatibility16InitializeYourself() is defined in Compatibility16 /// Functions. /// UINT32 PciExpressBase; @@ -251,7 +251,7 @@ typedef struct { =20 /// /// Functions provided by the CSM binary which communicate between the Efi= Compatibility -/// and Compatability16 code. +/// and Compatibility16 code. /// /// Inconsistent with the specification here: /// The member's name started with "Compatibility16" [defined in Intel Fra= mework diff --git a/OvmfPkg/Csm/Include/Protocol/LegacyBiosPlatform.h b/OvmfPkg/Cs= m/Include/Protocol/LegacyBiosPlatform.h index 0a164dad3bde..607ef358f0b0 100644 --- a/OvmfPkg/Csm/Include/Protocol/LegacyBiosPlatform.h +++ b/OvmfPkg/Csm/Include/Protocol/LegacyBiosPlatform.h @@ -1,5 +1,5 @@ /** @file - The EFI Legacy BIOS Patform Protocol is used to mate a Legacy16 + The EFI Legacy BIOS Platform Protocol is used to mate a Legacy16 implementation with this EFI code. The EFI driver that produces the Legacy BIOS protocol is generic and consumes this protocol. A driver that matches the Legacy16 produces this protocol @@ -383,7 +383,7 @@ typedef enum { /// /// ShadowAddress First free OpROM area, after other OpROMs have bee= n dispatched.. /// - /// Compatibility16Table Pointer to the Compatability16 Table. + /// Compatibility16Table Pointer to the Compatibility16 Table. /// /// AdditionalData NULL. /// diff --git a/OvmfPkg/Csm/Include/Protocol/VgaMiniPort.h b/OvmfPkg/Csm/Inclu= de/Protocol/VgaMiniPort.h index 41ff58e14cfa..5071c712ff9c 100644 --- a/OvmfPkg/Csm/Include/Protocol/VgaMiniPort.h +++ b/OvmfPkg/Csm/Include/Protocol/VgaMiniPort.h @@ -30,7 +30,7 @@ typedef struct _EFI_VGA_MINI_PORT_PROTOCOL EFI_VGA_MINI_= PORT_PROTOCOL; ModeNumber of 1 is a request for an 80x50 text mode. If ModeNumber is g= reater than MaxModeNumber, then EFI_UNSUPPORTED is returned. If the VGA contro= ller is not functioning properly, then EFI_DEVICE_ERROR is returned. If the = VGA - controller is sucessfully set to the mode number specified by ModeNumber= , then + controller is successfully set to the mode number specified by ModeNumbe= r, then EFI_SUCCESS is returned. =20 @param[in] This A pointer to the EFI_VGA_MINI_PORT_PROTOCOL inst= ance. diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h b/OvmfPkg/Csm/= LegacyBiosDxe/LegacyBiosInterface.h index a72c8470f6e4..88ec93d428bf 100644 --- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h +++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h @@ -501,7 +501,7 @@ typedef struct { EFI_GENERIC_MEMORY_TEST_PROTOCOL *GenericMemoryTest; =20 // - // TRUE if PCI Interupt Line registers have been programmed. + // TRUE if PCI Interrupt Line registers have been programmed. // BOOLEAN PciInterruptLine; =20 @@ -706,7 +706,7 @@ LegacyBiosInt86 ( the Stack argument =20 @param This Protocol instance pointer. - @param Segment Segemnt of 16-bit mode call + @param Segment Segment of 16-bit mode call @param Offset Offset of 16-bit mdoe call @param Regs Register contexted passed into (and retur= ned) from thunk to 16-bit mode @@ -1004,7 +1004,7 @@ InitLegacyIdeController ( =20 /** Program the interrupt routing register in all the PCI devices. On a PC A= T system - this register contains the 8259 IRQ vector that matches it's PCI interru= pt. + this register contains the 8259 IRQ vector that matches its PCI interrup= t. =20 @param Private Legacy BIOS Instance data =20 @@ -1418,7 +1418,7 @@ RelocateImageUnder4GIfNeeded ( the Stack argument =20 @param This Protocol instance pointer. - @param Segment Segemnt of 16-bit mode call + @param Segment Segment of 16-bit mode call @param Offset Offset of 16-bit mdoe call @param Regs Register contexted passed into (and returned) from th= unk to 16-bit mode diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h b/OvmfPkg= /Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h index 0c491318c272..87290294df26 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. =20 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -61,7 +61,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 =20 // -// String Contant +// String Constant // #define STR_FLOPPY L"Floppy Drive #%02x" #define STR_HARDDISK L"HardDisk Drive #%02x" diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h b/Ovmf= Pkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h index e16fc3941515..13354865745d 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. =20 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c b/OvmfPkg/Csm/BiosT= hunk/VideoDxe/BiosVideo.c index 0640656dba14..0a189bc59205 100644 --- a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c +++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c @@ -381,7 +381,7 @@ BiosVideoDriverBindingStart ( (FeaturePcdGet (PcdBiosVideoCheckVbeEnable) || FeaturePcdGet (PcdB= iosVideoCheckVgaEnable))) { // // If RemainingDevicePath is the End of Device Path Node, - // don't create any child device and return EFI_SUCESS + // don't create any child device and return EFI_SUCCESS Status =3D EFI_SUCCESS; goto Done; } @@ -3211,7 +3211,7 @@ BiosVideoVgaMiniPortSetMode ( /** Event handler for Exit Boot Service. =20 - @param Event The event that be siganlled when exiting boot servic= e. + @param Event The event that be signalled when exiting boot servic= e. @param Context Pointer to instance of BIOS_VIDEO_DEV. =20 **/ diff --git a/OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c b/OvmfPkg/Csm/CsmSu= pportLib/LegacyPlatform.c index a07bb82da7f6..9c60c4a4cfc4 100644 --- a/OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c +++ b/OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c @@ -282,7 +282,7 @@ GetSelectedVgaDeviceInfo ( Status =3D gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtoco= lGuid, (VOID**)&PciIo); if (!EFI_ERROR (Status)) { // - // Detemine if this is in the correct bus range. + // Determine if this is in the correct bus range. // Status =3D PciIo->GetLocation (PciIo, &Segment, &Bus, &Device, &Func= tion); if (EFI_ERROR(Status) || (Bus < MinBus || Bus > MaxBus)) { @@ -501,7 +501,7 @@ GetPlatformHandle ( =20 // // Be sure to only fill out correct information based on platf= orm - // configureation. + // configuration. // HddInfo[HddIndex].Status |=3D HDD_PRIMARY; HddInfo[HddIndex].Bus =3D (UINT32)Bus; @@ -882,7 +882,7 @@ TranslatePirq ( if (PirqData =3D=3D 0) { =20 // - // No unused interrpts, so start reusing them. + // No unused interrupts, so start reusing them. // MatchData =3D (UINT8) (~MatchData); } diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c b/OvmfPkg/Csm/LegacyBio= sDxe/LegacyBios.c index 5e795bfe6570..dd3608a64ece 100644 --- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c +++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c @@ -107,7 +107,7 @@ AllocateLegacyMemory ( 64 KB blocks. =20 Note: inconsistency with the Framework CSM spec. Per the spec, this func= tion may be - invoked only once. This limitation is relaxed to allow multiple calls in= this implemenation. + invoked only once. This limitation is relaxed to allow multiple calls in= this implementation. =20 @param This Protocol instance pointer. @param LegacyMemorySize Size of required region @@ -319,7 +319,7 @@ ShadowAndStartLegacy16 ( Private->LegacyBiosImageSize =3D (UINT32) LegacyBiosImageSize; =20 // - // Can only shadow into memory allocated for legacy useage. + // Can only shadow into memory allocated for legacy usage. // ASSERT (Private->BiosStart > Private->OptionRom); =20 @@ -983,7 +983,7 @@ LegacyBiosInstall ( ); =20 // - // Allocate 0 - 4K for real mode interupt vectors and BDA. + // Allocate 0 - 4K for real mode interrupt vectors and BDA. // AllocateLegacyMemory ( AllocateAddress, diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c b/OvmfPkg/Csm/Le= gacyBiosDxe/LegacyBootSupport.c index cd4cd24f4246..20784504d501 100644 --- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c +++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c @@ -962,7 +962,7 @@ GenericLegacyBoot ( } =20 // - // We do not ASSERT if SmbiosTable not found. It is possbile that a plat= form does not produce SmbiosTable. + // We do not ASSERT if SmbiosTable not found. It is possible that a plat= form does not produce SmbiosTable. // if (mReserveSmbiosEntryPoint =3D=3D 0) { DEBUG ((EFI_D_INFO, "Smbios table is not found!\n")); @@ -982,7 +982,7 @@ GenericLegacyBoot ( ); } // - // We do not ASSERT if AcpiTable not found. It is possbile that a platfo= rm does not produce AcpiTable. + // We do not ASSERT if AcpiTable not found. It is possible that a platfo= rm does not produce AcpiTable. // if (AcpiTable =3D=3D NULL) { DEBUG ((EFI_D_INFO, "ACPI table is not found!\n")); diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c b/OvmfPkg/Csm/LegacyBios= Dxe/LegacyPci.c index dc1f760876a6..2656dafde943 100644 --- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c +++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c @@ -678,7 +678,7 @@ TranslateBusPirq ( =20 =20 Search busses starting from slot bus for final bus >=3D Secondary bus and -final bus <=3D Suborninate bus. Assumption is bus entries increase in bus +final bus <=3D Subordinate bus. Assumption is bus entries increase in bus number. Starting PIRQ is A,B,C,D. Bus 2, Device 7 satisfies search criteria. Rotate (A,B,C,D) left by device @@ -914,7 +914,7 @@ InstallLegacyIrqHandler ( Legacy8259 =3D Private->Legacy8259; // // Disable interrupt in PIC, in case shared, to prevent an - // interrupt from occuring. + // interrupt from occurring. // Legacy8259->GetMask ( Legacy8259, @@ -1049,7 +1049,7 @@ InstallLegacyIrqHandler ( =20 /** Program the interrupt routing register in all the PCI devices. On a PC A= T system - this register contains the 8259 IRQ vector that matches it's PCI interru= pt. + this register contains the 8259 IRQ vector that matches its PCI interrup= t. =20 @param Private Legacy BIOS Instance data =20 @@ -2582,7 +2582,7 @@ LegacyBiosInstallRom ( // do not follow the standard of setting AX =3D 0 on success. // // - // The ROM could have updated it's size so we need to read again. + // The ROM could have updated its size so we need to read again. // if (((EFI_LEGACY_EXPANSION_ROM_HEADER *) RuntimeAddress)->Signature !=3D= PCI_EXPANSION_ROM_HEADER_SIGNATURE) { // diff --git a/OvmfPkg/Csm/LegacyBiosDxe/Thunk.c b/OvmfPkg/Csm/LegacyBiosDxe/= Thunk.c index a4985ede77a5..6432030a23ac 100644 --- a/OvmfPkg/Csm/LegacyBiosDxe/Thunk.c +++ b/OvmfPkg/Csm/LegacyBiosDxe/Thunk.c @@ -127,8 +127,8 @@ LegacyBiosFarCall86 ( Provide NULL interrupt handler which is used to check if there is more than one HW interrupt registers with the CPU AP. =20 - @param InterruptType - The type of interrupt that occured - @param SystemContext - A pointer to the system context when the interru= pt occured + @param InterruptType - The type of interrupt that occurred + @param SystemContext - A pointer to the system context when the interru= pt occurred =20 **/ VOID diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/OvmfPkg= /Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c index af7d80eb5f04..35470abf914a 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. =20 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
(C) Copyright 2018 Hewlett Packard Enterprise Development LP
@@ -237,10 +237,10 @@ OrderLegacyBootOption4SameType ( =20 /** Update the legacy BBS boot option. L"LegacyDevOrder" and gEfiLegacyDevOr= derVariableGuid 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. =20 - @param NVMapData The data for egacy BBS boot. + @param NVMapData The data for legacy BBS boot. =20 @return EFI_SUCCESS The function completed successfully. @retval EFI_NOT_FOUND If L"LegacyDevOrder" and gEfiLegacyDevOrde= rVariableGuid 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. =20 - @param UpdatePageId The form ID. It also spefies the legacy device ty= pe. + @param UpdatePageId The form ID. It also specifies the legacy device = type. =20 =20 **/ @@ -1127,8 +1127,8 @@ LegacyBootOptionCallback ( if (QuestionId =3D=3D 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 Legac= yBootManagerLib has already been initialized. // mFirstEnterLegacyForm =3D TRUE; @@ -1403,7 +1403,7 @@ GetLegacyOptions ( @param ImageHandle The image handle. @param SystemTable The system table. =20 - @retval EFI_SUCEESS Install Boot manager menu success. + @retval EFI_SUCCESS Install Boot manager menu success. @retval Other Return error status. =20 **/ diff --git a/OvmfPkg/Csm/LegacyBootManagerLib/LegacyBm.c b/OvmfPkg/Csm/Lega= cyBootManagerLib/LegacyBm.c index 6138a32ad78e..6ed45785be72 100644 --- a/OvmfPkg/Csm/LegacyBootManagerLib/LegacyBm.c +++ b/OvmfPkg/Csm/LegacyBootManagerLib/LegacyBm.c @@ -173,7 +173,7 @@ LegacyBmBuildLegacyDevNameString ( StringDesc =3D (CHAR8 *) (((UINTN) CurBBSEntry->DescStringSegment << 4) = + CurBBSEntry->DescStringOffset); if (NULL !=3D StringDesc) { // - // Only get fisrt 32 characters, this is suggested by BBS spec + // Only get first 32 characters, this is suggested by BBS spec // CopyMem (StringBufferA, StringDesc, LEGACY_BM_BOOT_DESCRIPTION_LENGTH)= ; StringBufferA[LEGACY_BM_BOOT_DESCRIPTION_LENGTH] =3D 0; @@ -378,9 +378,9 @@ LegacyBmDeleteAllBootOptions ( /** Delete all the invalid legacy boot options. =20 - @retval EFI_SUCCESS All invalide legacy boot options are del= eted. + @retval EFI_SUCCESS All invalid legacy boot options are dele= ted. @retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory. - @retval EFI_NOT_FOUND Fail to retrive variable of boot order. + @retval EFI_NOT_FOUND Fail to retrieve variable of boot order. **/ EFI_STATUS LegacyBmDeleteAllInvalidBootOptions ( @@ -499,7 +499,7 @@ LegacyBmDeleteAllInvalidBootOptions ( /** Create legacy boot option. =20 - @param BootOption Ponter to the boot option which will be crated. + @param BootOption Pointer to the boot option which will be crated= . @param BbsEntry The input bbs entry info. @param BbsIndex The BBS index. =20 @@ -615,10 +615,10 @@ LegacyBmFillDevOrderBuf ( @param BbsTable The BBS table. @param BbsCount The BBS Count. =20 - @retval EFI_SUCCES The buffer is created and the EFI variabl= e named + @retval EFI_SUCCESS The buffer is created and the EFI variabl= e named VAR_LEGACY_DEV_ORDER and EfiLegacyDevOrde= rGuid is set correctly. - @retval EFI_OUT_OF_RESOURCES Memmory or storage is not enough. + @retval EFI_OUT_OF_RESOURCES Memory or storage is not enough. @retval EFI_DEVICE_ERROR Fail to add the device order into EFI var= iable fail because of hardware error. **/ @@ -742,7 +742,7 @@ LegacyBmCreateDevOrder ( =20 @retval EFI_SUCCESS The boot devices are added successfully. @retval EFI_NOT_FOUND The legacy boot devices are not found. - @retval EFI_OUT_OF_RESOURCES Memmory or storage is not enough. + @retval EFI_OUT_OF_RESOURCES Memory or storage is not enough. @retval EFI_DEVICE_ERROR Fail to add the legacy device boot order i= nto EFI variable because of hardware error. **/ @@ -1042,7 +1042,7 @@ LegacyBmUpdateDevOrder ( @param DeviceType The device type. @param BbsIndex The BBS index to set the highest priority. Ignore= when -1. @param LocalBbsTable The BBS table. - @param Priority The prority table. + @param Priority The priority table. =20 @retval EFI_SUCCESS The function completes successfully. @retval EFI_NOT_FOUND Failed to find device. @@ -1494,7 +1494,7 @@ LegacyBmRefreshAllBootOption ( // // Same algorithm pattern as the EfiBootManagerRefreshAllBootOption // Firstly delete the invalid legacy boot options, - // then enumreate and save the newly appeared legacy boot options + // then enumerate and save the newly appeared legacy boot options // the last step is legacy boot option special action to refresh the Leg= acyDevOrder variable // LegacyBmDeleteAllInvalidBootOptions (); diff --git a/OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni b/Ov= mfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni index c2c100d378b3..f29e1449a749 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.
// @@ -11,10 +11,10 @@ =20 #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." =20 #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." =20 =20 --=20 2.21.0