diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-17 14:24:01 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-17 14:24:01 +0000 |
commit | c1f1e9ac84f14e465144c679ee02765b1419988b (patch) | |
tree | 032aed8e913ebbaec5627ad576134b57f85c294d /MdePkg | |
parent | e72a3b3ea82c6520fc195ebc36e198a9ca9ca457 (diff) | |
download | edk2-platforms-c1f1e9ac84f14e465144c679ee02765b1419988b.tar.xz |
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
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/UefiScsiLib.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/MdePkg/Include/Library/UefiScsiLib.h b/MdePkg/Include/Library/UefiScsiLib.h index d721735b46..f27844cd95 100644 --- a/MdePkg/Include/Library/UefiScsiLib.h +++ b/MdePkg/Include/Library/UefiScsiLib.h @@ -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.
|