mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[DDK]
Fix definition of USE_DMA_MACROS svn path=/trunk/; revision=47574
This commit is contained in:
parent
ffc6aac247
commit
f150c299f2
2 changed files with 9 additions and 24 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue