mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:MM:X64] Fix MM_WAIT_ENTRY on x64
This commit is contained in:
parent
d4b4cf7448
commit
17fa04f10b
1 changed files with 6 additions and 0 deletions
|
@ -149,7 +149,13 @@ typedef ULONG_PTR SWAPENTRY;
|
|||
//
|
||||
// Wait entry for marking pages that are being serviced
|
||||
//
|
||||
#ifdef _M_IX86
|
||||
#define MM_WAIT_ENTRY 0x7ffffc00
|
||||
#elif defined(_M_AMD64)
|
||||
#define MM_WAIT_ENTRY 0x7FFFFFFFFFFFFC00ULL
|
||||
#else
|
||||
#error Unsupported architecture!
|
||||
#endif
|
||||
|
||||
#define InterlockedCompareExchangePte(PointerPte, Exchange, Comperand) \
|
||||
InterlockedCompareExchange((PLONG)(PointerPte), Exchange, Comperand)
|
||||
|
|
Loading…
Reference in a new issue