Lines Matching defs:RomPcir
329 PCI_DATA_STRUCTURE *RomPcir;
343 RomPcir = (PCI_DATA_STRUCTURE *) ((UINT8 *) RomHeader + RomHeader->PcirOffset);
344 ASSERT (RomPcir->Signature == PCI_DATA_STRUCTURE_SIGNATURE);
346 if (RomPcir->CodeType == PCI_CODE_TYPE_EFI_IMAGE) {
350 RomHeader = (PCI_EXPANSION_ROM_HEADER *) ((UINT8 *) RomHeader + RomPcir->Length * 512);
382 PCI_DATA_STRUCTURE *RomPcir;
422 RomPcir = AllocatePool (sizeof (PCI_DATA_STRUCTURE));
423 if (RomPcir == NULL) {
475 (UINT8 *) RomPcir
480 if (RomPcir->Signature != PCI_DATA_STRUCTURE_SIGNATURE) {
483 if (RomImageSize + RomPcir->ImageLength * 512 > RomSize) {
486 if (RomPcir->CodeType == PCI_CODE_TYPE_PCAT_IMAGE) {
490 Indicator = RomPcir->Indicator;
491 RomImageSize = RomImageSize + RomPcir->ImageLength * 512;
492 RomBarOffset = RomBarOffset + RomPcir->ImageLength * 512;
509 FreePool (RomPcir);
550 FreePool (RomPcir);