/* Event notification that is fired when IOMMU protocol is installed. */
VOID EFIAPI IoMmuProtocolCallback(IN EFI_EVENT Event, IN VOID *Context)
/* Event notification that is fired when IOMMU protocol is installed. */
VOID EFIAPI IoMmuProtocolCallback(IN EFI_EVENT Event, IN VOID *Context)
{
  EFI_STATUS  Status;
  Status = gBS->LocateProtocol (&gEdkiiIoMmuProtocolGuid, NULL, (VOID **)&mIoMmu);
  if (!EFI_ERROR (Status)) {
    gBS->CloseEvent (mIoMmuEvent);
  }
}