/* Completes the Map() operation and releases any corresponding resources. */
EFI_STATUS IoMmuUnmap(IN VOID *Mapping)
/* Completes the Map() operation and releases any corresponding resources. */
EFI_STATUS IoMmuUnmap(IN VOID *Mapping)
{
  EFI_STATUS  Status;
  if (mIoMmu != NULL) {
    Status = mIoMmu->SetAttribute (mIoMmu, Mapping, 0);
    Status = mIoMmu->Unmap (mIoMmu, Mapping);
  } else {
    Status = EFI_SUCCESS;
  }
  return Status;
}