/* Notify Function in which convert EFI1.0 PassThru Packet back to UEF2.0 SCSI IO Packet. */
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
/* Notify Function in which convert EFI1.0 PassThru Packet back to UEF2.0 SCSI IO Packet. */
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
{
  EFI_SCSI_IO_SCSI_REQUEST_PACKET         *Packet;
  EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET  *ScsiPacket;
  EFI_EVENT                               CallerEvent;
  SCSI_EVENT_DATA                         *PassData;
  PassData   = (SCSI_EVENT_DATA *)Context;
  Packet     = (EFI_SCSI_IO_SCSI_REQUEST_PACKET *)PassData->Data1;
  ScsiPacket =  (EFI_SCSI_PASS_THRU_SCSI_REQUEST_PACKET *)mWorkingBuffer;
  PassThruToScsiioPacket (ScsiPacket, Packet);
  gBS->FreePool (mWorkingBuffer);
  CallerEvent = PassData->Data2;
  gBS->CloseEvent (Event);
  gBS->SignalEvent (CallerEvent);
}