Fix definition of USE_DMA_MACROS

svn path=/trunk/; revision=47574
This commit is contained in:
Timo Kreuzer 2010-06-04 20:16:26 +00:00
parent ffc6aac247
commit f150c299f2
2 changed files with 9 additions and 24 deletions

View file

@ -852,18 +852,6 @@ typedef union _PCI_EXPRESS_PME_REQUESTOR_ID {
USHORT AsUSHORT;
} PCI_EXPRESS_PME_REQUESTOR_ID, *PPCI_EXPRESS_PME_REQUESTOR_ID;
#if defined(_WIN64)
#ifndef USE_DMA_MACROS
#define USE_DMA_MACROS
#endif
#ifndef NO_LEGACY_DRIVERS
#define NO_LEGACY_DRIVERS
#endif
#endif /* defined(_WIN64) */
typedef enum _PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
ResourceTypeSingle = 0,
ResourceTypeRange,

View file

@ -124,6 +124,15 @@ extern "C" {
#endif
#if defined(_WIN64)
#if !defined(USE_DMA_MACROS) && !defined(_NTHAL_)
#define USE_DMA_MACROS
#endif
#ifndef NO_LEGACY_DRIVERS
#define NO_LEGACY_DRIVERS
#endif
#endif /* defined(_WIN64) */
/* Forward declarations */
struct _IRP;
struct _MDL;
@ -3698,18 +3707,6 @@ typedef enum _CM_ERROR_CONTROL_TYPE {
#define WDM_MAJORVERSION 0x06
#define WDM_MINORVERSION 0x00
#if defined(_WIN64)
#ifndef USE_DMA_MACROS
#define USE_DMA_MACROS
#endif
#ifndef NO_LEGACY_DRIVERS
#define NO_LEGACY_DRIVERS
#endif
#endif /* defined(_WIN64) */
#define STATUS_CONTINUE_COMPLETION STATUS_SUCCESS
#define CONNECT_FULLY_SPECIFIED 0x1