/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
PciOptionRomSupport.c | 31 IN UINT32 RomBar,
150 UINT32 RomBar;
201 RomBar = (UINT32)ReservedMemoryBase;
204 // Enable RomBar
206 RomDecode (PciDevice, RomBarIndex, RomBar, TRUE);
208 RomBarOffset = RomBar;
266 } while (((Indicator & 0x80) == 0x00) && ((RomBarOffset - RomBar) < RomSize));
280 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE);
292 RomBar,
299 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE); [all...] |
PciRomTable.c | 115 VOID *RomBar;
138 RomBar = (VOID *) (UINTN) PciOptionRomDescriptor->RomAddress;
149 RomBarOffset = (UINTN) RomBar;
166 RomBarOffset - (UINTN)RomBar + EfiRomHeader->PcirOffset + sizeof (PCI_DATA_STRUCTURE) > RomSize) {
177 if (RomBarOffset - (UINTN)RomBar + ImageSize > RomSize) {
288 } while (((Pcir->Indicator & 0x80) == 0x00) && ((RomBarOffset - (UINTN) RomBar) < RomSize));
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/ |
PcatIo.c | 322 UINT32 RomBar;
387 RomBar = 0xffffffff;
388 IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar);
389 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar);
391 RomBarSize = (~(RomBar & 0xfffff800)) + 1;
401 RomBar = (Context->PpbMemoryWindow & 0xffff) << 16;
402 RomBar = ((RomBar - 1) & (~(RomBarSize - 1))) + RomBarSize;
403 if (RomBar < (Context->PpbMemoryWindow & 0xffff0000)) {
404 MaxRomSize = (Context->PpbMemoryWindow & 0xffff0000) - RomBar;
[all...] |
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/ |
PcatIo.c | 322 UINT32 RomBar;
387 RomBar = 0xffffffff;
388 IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar);
389 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar);
391 RomBarSize = (~(RomBar & 0xfffff800)) + 1;
401 RomBar = (Context->PpbMemoryWindow & 0xffff) << 16;
402 RomBar = ((RomBar - 1) & (~(RomBarSize - 1))) + RomBarSize;
403 if (RomBar < (Context->PpbMemoryWindow & 0xffff0000)) {
404 MaxRomSize = (Context->PpbMemoryWindow & 0xffff0000) - RomBar;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
PciOptionRomSupport.c | 389 UINT32 RomBar;
440 RomBar = (UINT32) RomBase;
443 // Enable RomBar
445 RomDecode (PciDevice, RomBarIndex, RomBar, TRUE);
447 RomBarOffset = RomBar;
505 } while (((Indicator & 0x80) == 0x00) && ((RomBarOffset - RomBar) < RomSize));
519 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE);
531 RomBar,
538 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE);
573 @param RomBar Base address of Option Rom. [all...] |