/* One notified function to stop the Host Controller when gBS->ExitBootServices() called. */
VOID EFIAPI UhcExitBootService(EFI_EVENT Event, VOID *Context)
/* One notified function to stop the Host Controller when gBS->ExitBootServices() called. */
VOID EFIAPI UhcExitBootService(EFI_EVENT Event, VOID *Context)
{
  USB_HC_DEV  *Uhc;
  Uhc = (USB_HC_DEV *)Context;
  UhciStopHc (Uhc, UHC_GENERIC_TIMEOUT);
  UhciSetRegBit (Uhc->PciIo, USBCMD_OFFSET, USBCMD_HCRESET);
  gBS->Stall (UHC_ROOT_PORT_RECOVERY_STALL);
}