X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=OvmfPkg%2FCsm%2FLegacyBiosDxe%2FLegacyPci.c;fp=OvmfPkg%2FCsm%2FLegacyBiosDxe%2FLegacyPci.c;h=2656dafde943c6ca368bdf8c8e37ccce359b2bd7;hp=dc1f760876a6d212f35a776a46db70998466f188;hb=48cf40b8c92e164f0785cccf5b9c6815561c8474;hpb=f221466ea77a897d0f21e2092d5564249ab828c1 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) { //