Home
last modified time | relevance | path

Searched refs:PcirOffset (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciOptionRomSupport.c79 Pcir = (PCI_DATA_STRUCTURE *) ((UINT8 *) EfiRomHeader + EfiRomHeader->PcirOffset); in LocalLoadFile2()
347 if (RomHeader->PcirOffset == 0 || in ContainEfiImage()
348 (RomHeader->PcirOffset & 3) != 0 || in ContainEfiImage()
349 …(UINT8 *) RomHeader + RomHeader->PcirOffset + sizeof (PCI_DATA_STRUCTURE) > (UINT8 *) RomImage + R… in ContainEfiImage()
353 RomPcir = (PCI_DATA_STRUCTURE *) ((UINT8 *) RomHeader + RomHeader->PcirOffset); in ContainEfiImage()
472 OffsetPcir = RomHeader->PcirOffset; in LoadOpRomImage()
703 Pcir = (PCI_DATA_STRUCTURE *) (RomBarOffset + EfiRomHeader->PcirOffset); in ProcessOpRomImage()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciRomTable.c164 if (EfiRomHeader->PcirOffset == 0 || in PciRomLoadEfiDriversFromRomImage()
165 (EfiRomHeader->PcirOffset & 3) != 0 || in PciRomLoadEfiDriversFromRomImage()
166 … RomBarOffset - (UINTN)RomBar + EfiRomHeader->PcirOffset + sizeof (PCI_DATA_STRUCTURE) > RomSize) { in PciRomLoadEfiDriversFromRomImage()
169 Pcir = (PCI_DATA_STRUCTURE *) (UINTN) (RomBarOffset + EfiRomHeader->PcirOffset); in PciRomLoadEfiDriversFromRomImage()
DPciOptionRomSupport.c233 OffsetPcir = RomHeader->PcirOffset; in LoadOpRomImage()
456 Pcir = (PCI_DATA_STRUCTURE *) (RomBarOffset + EfiRomHeader->PcirOffset); in ProcessOpRomImage()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DLoadPciRom.c245 if (EfiRomHeader->PcirOffset == 0 || in LoadEfiDriversFromRomImage()
246 (EfiRomHeader->PcirOffset & 3) != 0 || in LoadEfiDriversFromRomImage()
247 … RomBarOffset - (UINTN)RomBar + EfiRomHeader->PcirOffset + sizeof (PCI_DATA_STRUCTURE) > RomSize) { in LoadEfiDriversFromRomImage()
251 Pcir = (PCI_DATA_STRUCTURE *) (UINTN) (RomBarOffset + EfiRomHeader->PcirOffset); in LoadEfiDriversFromRomImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
DEfiPci.h52 UINT16 PcirOffset; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DEfiPci.h45 UINT16 PcirOffset; member
Dpci22.h388 UINT16 PcirOffset; member
396 UINT16 PcirOffset; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/EfiRom/
DEfiRom.c477 PciDs = (PCI_DATA_STRUCTURE *) (Buffer + RomHdr->PcirOffset); in ProcessBinFile()
491 if ((RomHdr->PcirOffset > FileSize) || (RomHdr->PcirOffset == 0)) { in ProcessBinFile()
758 RomHdr.PcirOffset = (UINT16) (sizeof (RomHdr) + HeaderPadBytes); in ProcessEfiFile()
1420 fprintf (stdout, " PCIR offset 0x%04X\n", (UINT32) PciRomHdr.PcirOffset); in DumpImage()
1424 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset, SEEK_SET)) { in DumpImage()
1518 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset + PciDs.DeviceListOffset, SEEK_SET)) { in DumpImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/
DEfiRom.c300 if ((RomHdr->PcirOffset > FileSize) || (RomHdr->PcirOffset == 0)) { in ProcessBinFile()
310 PciDs23 = (PCI_DATA_STRUCTURE *) (Buffer + RomHdr->PcirOffset); in ProcessBinFile()
320 PciDs30 = (PCI_3_0_DATA_STRUCTURE *)(Buffer + RomHdr->PcirOffset); in ProcessBinFile()
596 RomHdr.PcirOffset = (UINT16) (sizeof (RomHdr) + HeaderPadBytes); in ProcessEfiFile()
1325 fprintf (stdout, " PCIR offset 0x%04X\n", PciRomHdr.PcirOffset); in DumpImage()
1329 if (fseek (InFptr, ImageStart + PciRomHdr.PcirOffset, SEEK_SET)) { in DumpImage()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/
DPcatIo.c440 EfiRomHeader.PcirOffset != 0 && in CheckForRom()
441 (EfiRomHeader.PcirOffset & 3) == 0 && in CheckForRom()
442 RomBarSize + EfiRomHeader.PcirOffset + sizeof (PCI_DATA_STRUCTURE) <= MaxRomSize) { in CheckForRom()
447 RomBar + RomBarSize + EfiRomHeader.PcirOffset, in CheckForRom()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/
DPcatIo.c440 EfiRomHeader.PcirOffset != 0 && in CheckForRom()
441 (EfiRomHeader.PcirOffset & 3) == 0 && in CheckForRom()
442 RomBarSize + EfiRomHeader.PcirOffset + sizeof (PCI_DATA_STRUCTURE) <= MaxRomSize) { in CheckForRom()
447 RomBar + RomBarSize + EfiRomHeader.PcirOffset, in CheckForRom()
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPci22.h798 UINT16 PcirOffset; member
810 UINT16 PcirOffset; member
845 UINT16 PcirOffset; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/VlvPlatformInitDxe/
DIgdOpRegion.h135 UINT16 PcirOffset;
DIgdOpRegion.c298 …PcirBlockPtr = (INTEL_VBIOS_PCIR_STRUCTURE *)((UINT8 *) VBiosRomImage + VBiosRomImage->PcirOffset); in GetIntegratedIntelVBiosPtr()
559 PcirBlockPtr = (INTEL_VBIOS_PCIR_STRUCTURE *)((UINT8 *)VBiosPtr + VBiosPtr->PcirOffset); in GetVBiosVbtCallback()
574 PcirBlockPtr = (INTEL_VBIOS_PCIR_STRUCTURE *)((UINT8 *)VBiosPtr + VBiosPtr->PcirOffset); in GetVBiosVbtCallback()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
Dpci22.h403 UINT16 PcirOffset; member
411 UINT16 PcirOffset; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyPci.c307 if (RomHeader.Generic->PcirOffset == 0 || in GetPciLegacyRom()
308 (RomHeader.Generic->PcirOffset & 3) !=0 || in GetPciLegacyRom()
309 …*ImageSize < RomHeader.Raw - (UINT8 *) *Rom + RomHeader.Generic->PcirOffset + sizeof (PCI_DATA_STR… in GetPciLegacyRom()
313 Pcir = (PCI_3_0_DATA_STRUCTURE *) (RomHeader.Raw + RomHeader.Generic->PcirOffset); in GetPciLegacyRom()
405 Pcir = (PCI_3_0_DATA_STRUCTURE *) (RomHeader.Raw + RomHeader.Generic->PcirOffset); in GetPciLegacyRom()
2955 ((PCI_EXPANSION_ROM_HEADER *) LocalRomImage)->PcirOffset == 0 || in LegacyBiosInstallPciRom()
2956 (((PCI_EXPANSION_ROM_HEADER *) LocalRomImage)->PcirOffset & 3 ) != 0) { in LegacyBiosInstallPciRom()
2962 ((UINT8 *) LocalRomImage + ((PCI_EXPANSION_ROM_HEADER *) LocalRomImage)->PcirOffset); in LegacyBiosInstallPciRom()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
DBiosSnp16.c1233 if (PciExpansionRomHeader->PcirOffset == 0 || in Undi16SimpleNetworkLoadUndi()
1234 (PciExpansionRomHeader->PcirOffset & 3) != 0 || in Undi16SimpleNetworkLoadUndi()
1235 RomAddress + PciExpansionRomHeader->PcirOffset + sizeof (PCI_DATA_STRUCTURE) > 0x100000) { in Undi16SimpleNetworkLoadUndi()
1239 PciDataStructure = (PCI_DATA_STRUCTURE *) (RomAddress + PciExpansionRomHeader->PcirOffset); in Undi16SimpleNetworkLoadUndi()