Hi, The PCI FW spec says PCI Data Structure must be DWORD aligned and I came across this code the uses the following check
(RomHeader->PcirOffset & 3) != 0 The above is using the PcirOffset to do the check and not the actual data structure itself (located at RomHeader + RomHeader->PcirOffset) Shouldn't it instead be (RomHeader + RomHeader->PcirOffset & 3) != 0 Thanks _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel