/* Process the option ROM for all the children of the specified parent PCI device. It can only be used after the first full Option ROM process. */
VOID ProcessOptionRomLight(IN PCI_IO_DEVICE *PciIoDevice)
/* Process the option ROM for all the children of the specified parent PCI device. It can only be used after the first full Option ROM process. */
VOID ProcessOptionRomLight(IN PCI_IO_DEVICE *PciIoDevice)
{
  PCI_IO_DEVICE  *Temp;
  LIST_ENTRY     *CurrentLink;
  CurrentLink = PciIoDevice->ChildList.ForwardLink;
  while (CurrentLink != NULL && CurrentLink != &PciIoDevice->ChildList) {
    Temp = PCI_IO_DEVICE_FROM_LINK (CurrentLink);
    if (!IsListEmpty (&Temp->ChildList)) {
      ProcessOptionRomLight (Temp);
    }
    Temp->AllOpRomProcessed = PciRomGetImageMapping (Temp);
    CurrentLink = CurrentLink->ForwardLink;
  }
}