mirror of
https://github.com/reactos/reactos.git
synced 2026-05-24 00:00:41 +08:00
[NTOS:MM:X64] Fix MM_WAIT_ENTRY on x64
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user