/* The calling driver must be in VSTAT_DRIVER_OK state. */
VOID EFIAPI VirtioPrepare(IN OUT VRING *Ring, OUT DESC_INDICES *Indices)
/* The calling driver must be in VSTAT_DRIVER_OK state. */
VOID EFIAPI VirtioPrepare(IN OUT VRING *Ring, OUT DESC_INDICES *Indices)
{
  *Ring->Avail.Flags = (UINT16)VRING_AVAIL_F_NO_INTERRUPT;
  Indices->HeadDescIdx = 0;
  Indices->NextDescIdx = Indices->HeadDescIdx;
}