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>
This commit is contained in:
committed by
mergify[bot]
parent
f221466ea7
commit
48cf40b8c9
@@ -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,
|
||||
|
@@ -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
|
||||
|
@@ -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"));
|
||||
|
@@ -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) {
|
||||
//
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user