summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Csm/LegacyBiosDxe
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/LegacyBiosDxe
parentf221466ea77a897d0f21e2092d5564249ab828c1 (diff)
downloadedk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.gz
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.bz2
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.zip
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/LegacyBiosDxe')
-rw-r--r--OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c6
-rw-r--r--OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h8
-rw-r--r--OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c4
-rw-r--r--OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c8
-rw-r--r--OvmfPkg/Csm/LegacyBiosDxe/Thunk.c4
5 files changed, 15 insertions, 15 deletions
diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c
index 5e795bfe65..dd3608a64e 100644
--- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c
+++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c
@@ -107,7 +107,7 @@ AllocateLegacyMemory (
64 KB blocks.
Note: inconsistency with the Framework CSM spec. Per the spec, this function 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.
@param This Protocol instance pointer.
@param LegacyMemorySize Size of required region
@@ -319,7 +319,7 @@ ShadowAndStartLegacy16 (
Private->LegacyBiosImageSize = (UINT32) LegacyBiosImageSize;
//
- // Can only shadow into memory allocated for legacy useage.
+ // Can only shadow into memory allocated for legacy usage.
//
ASSERT (Private->BiosStart > Private->OptionRom);
@@ -983,7 +983,7 @@ LegacyBiosInstall (
);
//
- // 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/LegacyBiosInterface.h b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
index a72c8470f6..88ec93d428 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;
//
- // TRUE if PCI Interupt Line registers have been programmed.
+ // TRUE if PCI Interrupt Line registers have been programmed.
//
BOOLEAN PciInterruptLine;
@@ -706,7 +706,7 @@ LegacyBiosInt86 (
the Stack argument
@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
thunk to 16-bit mode
@@ -1004,7 +1004,7 @@ InitLegacyIdeController (
/**
Program the interrupt routing register in all the PCI devices. On a PC AT system
- this register contains the 8259 IRQ vector that matches it's PCI interrupt.
+ this register contains the 8259 IRQ vector that matches its PCI interrupt.
@param Private Legacy BIOS Instance data
@@ -1418,7 +1418,7 @@ RelocateImageUnder4GIfNeeded (
the Stack argument
@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 thunk to
16-bit mode
diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c
index cd4cd24f42..20784504d5 100644
--- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c
+++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c
@@ -962,7 +962,7 @@ GenericLegacyBoot (
}
//
- // We do not ASSERT if SmbiosTable not found. It is possbile that a platform does not produce SmbiosTable.
+ // We do not ASSERT if SmbiosTable not found. It is possible that a platform does not produce SmbiosTable.
//
if (mReserveSmbiosEntryPoint == 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 platform does not produce AcpiTable.
+ // We do not ASSERT if AcpiTable not found. It is possible that a platform does not produce AcpiTable.
//
if (AcpiTable == NULL) {
DEBUG ((EFI_D_INFO, "ACPI table is not found!\n"));
diff --git a/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c b/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c
index dc1f760876..2656dafde9 100644
--- a/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c
+++ b/OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c
@@ -678,7 +678,7 @@ TranslateBusPirq (
Search busses starting from slot bus for final bus >= Secondary bus and
-final bus <= Suborninate bus. Assumption is bus entries increase in bus
+final bus <= 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 = 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 (
/**
Program the interrupt routing register in all the PCI devices. On a PC AT system
- this register contains the 8259 IRQ vector that matches it's PCI interrupt.
+ this register contains the 8259 IRQ vector that matches its PCI interrupt.
@param Private Legacy BIOS Instance data
@@ -2582,7 +2582,7 @@ LegacyBiosInstallRom (
// do not follow the standard of setting AX = 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 != PCI_EXPANSION_ROM_HEADER_SIGNATURE) {
//
diff --git a/OvmfPkg/Csm/LegacyBiosDxe/Thunk.c b/OvmfPkg/Csm/LegacyBiosDxe/Thunk.c
index a4985ede77..6432030a23 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.
- @param InterruptType - The type of interrupt that occured
- @param SystemContext - A pointer to the system context when the interrupt occured
+ @param InterruptType - The type of interrupt that occurred
+ @param SystemContext - A pointer to the system context when the interrupt occurred
**/
VOID