/* Returns the opaque pointer to a physical disk context. */
OPAL_DISK* HiiGetOpalDiskCB(UINT8 DiskIndex)
/* Returns the opaque pointer to a physical disk context. */
OPAL_DISK* HiiGetOpalDiskCB(UINT8 DiskIndex)
{
  VOID                *Ctx;
  OPAL_DRIVER_DEVICE  *Tmp;
  Ctx = HiiGetDiskContextCB (DiskIndex);
  if (Ctx == NULL) {
    return NULL;
  }
  Tmp = (OPAL_DRIVER_DEVICE *)Ctx;
  return &Tmp->OpalDisk;
}