Remove 4 obsolete macros in UefiScsiLib and we have equivalent macros to the UEFI Lib for managing Timer Events

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6565 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2008-11-17 14:24:01 +00:00
parent e72a3b3ea8
commit c1f1e9ac84
1 changed files with 2 additions and 17 deletions

View File

@ -13,26 +13,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _SCSI_LIB_H_
#define _SCSI_LIB_H_
#ifndef __SCSI_LIB_H__
#define __SCSI_LIB_H__
#include <Protocol/ScsiIo.h>
//
// the time unit is 100ns, since the SCSI I/O defines timeout in 100ns unit.
//
#define EFI_SCSI_STALL_1_MICROSECOND 10
#define EFI_SCSI_STALL_1_MILLISECOND 10000
#define EFI_SCSI_STALL_1_SECOND 10000000
///
/// this macro cannot be directly used by the gBS->Stall(),
/// since the value output by this macro is in 100ns unit,
/// not 1us unit (1us = 1000ns)
///
#define EFI_SCSI_STALL_SECONDS(a) ((a) * EFI_SCSI_STALL_1_SECOND)
/**
Execute Test Unit Ready SCSI command on a specific SCSI target.