Lines Matching refs:fih
404 def __init__(self, offset, fih, fihoff, patch): argument
405 self.Fih = fih
409 self.Type = "XTMSXXXXOXXXXXXX"[(fih.ComponentAttribute >> 12) & 0x0F]
467 fih = None
471 if not fih:
472 fih = fsp.Fih
475 if (newfih.ImageId != fih.ImageId) or (newfih.ImageRevision != fih.ImageRevision):
494 fih = FSP_INFORMATION_HEADER.from_buffer (self.FdData, offset)
495 if 'FSPH' != fih.Signature:
498 offset += fih.HeaderLength
513 fsp = FspImage (fspoffset, fih, fihoffset, plist)
646 fih = fsp.Fih
648 …efine FSP_IMAGE_ID 0x%016X /* '%s' */\n" % (Bytes2Val(bytearray(fih.ImageId)), fih.ImageId))
649 hfsp.write("#define FSP_IMAGE_REV 0x%08X \n\n" % fih.ImageRevision)
652 hfsp.write ('#define FSP%s_BASE 0x%08X\n' % (fsp.Type, fih.ImageBase))
654 hfsp.write ('#define FSP%s_LENGTH 0x%08X\n\n' % (fsp.Type, fih.ImageSize))