/* Do platform specific PCI Device check and add them to ConOut, ConIn, ErrOut */
EFI_STATUS DetectAndPreparePlatformPciDevicePaths(BOOLEAN DetectDisplayOnly)
/* Do platform specific PCI Device check and add them to ConOut, ConIn, ErrOut */
EFI_STATUS DetectAndPreparePlatformPciDevicePaths(BOOLEAN DetectDisplayOnly)
{
  EFI_STATUS  Status;
  mDetectDisplayOnly = DetectDisplayOnly;
  EfiBootManagerUpdateConsoleVariable (
    ConIn,
    (EFI_DEVICE_PATH_PROTOCOL *)&gUsbClassKeyboardDevicePath,
    NULL
    );
  VisitAllInstancesOfProtocol (
    &gEfiSerialIoProtocolGuid,
    AddDevicePathForOneSerialIoInstance
    );
  Status = VisitAllInstancesOfProtocol (
             &gEfiPciIoProtocolGuid,
             DetectAndPreparePlatformPciDevicePath
             );
  return Status;
}