mirror of
https://github.com/reactos/reactos.git
synced 2025-06-03 16:30:26 +00:00
[DDK]
- Fix a typo and introduce some minor formatting changes. svn path=/trunk/; revision=48868
This commit is contained in:
parent
6df63531e0
commit
610744f805
1 changed files with 7 additions and 7 deletions
|
@ -19,10 +19,10 @@
|
||||||
#define SRB_CLASS_FLAGS_FREE_MDL 0x80000000
|
#define SRB_CLASS_FLAGS_FREE_MDL 0x80000000
|
||||||
|
|
||||||
#define ASSERT_FDO(x) \
|
#define ASSERT_FDO(x) \
|
||||||
ASSERT(((PCOMMON_DEVICE_EXTENSION) (x)->DeviceExtension)->IsFdo)
|
ASSERT(((PCOMMON_DEVICE_EXTENSION) (x)->DeviceExtension)->IsFdo)
|
||||||
|
|
||||||
#define ASSERT_PDO(x) \
|
#define ASSERT_PDO(x) \
|
||||||
ASSERT(!(((PCOMMON_DEVICE_EXTENSION) (x)->DeviceExtension)->IsFdo))
|
ASSERT(!(((PCOMMON_DEVICE_EXTENSION) (x)->DeviceExtension)->IsFdo))
|
||||||
|
|
||||||
#define IS_CLEANUP_REQUEST(majorFunction) \
|
#define IS_CLEANUP_REQUEST(majorFunction) \
|
||||||
((majorFunction == IRP_MJ_CLOSE) || \
|
((majorFunction == IRP_MJ_CLOSE) || \
|
||||||
|
@ -119,18 +119,18 @@
|
||||||
#define DebugPrint(x)
|
#define DebugPrint(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEBUG_BUFFER_LENGTH 256
|
#define DEBUG_BUFFER_LENGTH 256
|
||||||
|
|
||||||
#define START_UNIT_TIMEOUT (60 * 4)
|
#define START_UNIT_TIMEOUT (60 * 4)
|
||||||
|
|
||||||
#define MEDIA_CHANGE_DEFAULT_TIME 1
|
#define MEDIA_CHANGE_DEFAULT_TIME 1
|
||||||
#define MEDIA_CHANGE_TIMEOUT_TIME 300
|
#define MEDIA_CHANGE_TIMEOUT_TIME 300
|
||||||
|
|
||||||
#define MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS 0x3b9aca00
|
#define MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS 0x3b9aca00
|
||||||
|
|
||||||
#ifdef ALLOCATE_SRB_FROM_POOL
|
#ifdef ALLOCATE_SRB_FROM_POOL
|
||||||
|
|
||||||
#define ClasspAllocateSrb(ext)
|
#define ClasspAllocateSrb(ext) \
|
||||||
ExAllocatePoolWithTag(NonPagedPool, \
|
ExAllocatePoolWithTag(NonPagedPool, \
|
||||||
sizeof(SCSI_REQUEST_BLOCK), \
|
sizeof(SCSI_REQUEST_BLOCK), \
|
||||||
'sBRS')
|
'sBRS')
|
||||||
|
|
Loading…
Reference in a new issue