/* Convert the physical PCI Express MMIO addresses for all registered PCI devices to virtual addresses. */
VOID EFIAPI DxeRuntimePciSegmentLibVirtualNotify(IN EFI_EVENT Event, IN VOID *Context)
/* Convert the physical PCI Express MMIO addresses for all registered PCI devices to virtual addresses. */
VOID EFIAPI DxeRuntimePciSegmentLibVirtualNotify(IN EFI_EVENT Event, IN VOID *Context)
{
  UINTN       Index;
  EFI_STATUS  Status;
  if (mDxeRuntimePciSegmentLibRegistrationTable == NULL) {
    return;
  }
  for (Index = 0; Index < mDxeRuntimePciSegmentLibNumberOfRuntimeRanges; Index++) {
    Status = EfiConvertPointer (0, (VOID **)&(mDxeRuntimePciSegmentLibRegistrationTable[Index].VirtualAddress));
    ASSERT_EFI_ERROR (Status);
  }
  Status = EfiConvertPointer (0, (VOID **)&mDxeRuntimePciSegmentLibRegistrationTable);
  ASSERT_EFI_ERROR (Status);
}