[UNIATA] Fix uniata on x64

This commit is contained in:
Timo Kreuzer 2018-08-08 12:29:07 +02:00
parent acfea670fe
commit a71a6531ef
2 changed files with 8 additions and 0 deletions

View file

@ -1003,7 +1003,11 @@ struct _HW_LU_EXTENSION;
typedef struct _IORES {
union {
#ifdef __REACTOS__
ULONG_PTR Addr; /* Base address*/
#else
ULONG Addr; /* Base address*/
#endif
PVOID pAddr; /* Base address in pointer form */
};
ULONG MemIo:1; /* Memory mapping (1) vs IO ports (0) */

View file

@ -650,7 +650,11 @@ UniataAhciInit(
ULONG c, i;
PHW_CHANNEL chan;
ULONG offs;
#ifdef __REACTOS__
ULONG_PTR BaseMemAddress;
#else
ULONG BaseMemAddress;
#endif
ULONG PI;
ULONG CAP;
ULONG CAP2;