mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NTOS:CM]
- Remove duplicate macro definitions svn path=/trunk/; revision=69552
This commit is contained in:
parent
fbb9c36619
commit
164c7773ba
1 changed files with 0 additions and 22 deletions
|
@ -311,25 +311,3 @@ CmpConvertKcbSharedToExclusive(IN PCM_KEY_CONTROL_BLOCK k)
|
|||
(CmpTestHiveFlusherLockShared((PCMHIVE)h) == TRUE) || \
|
||||
(CmpTestHiveFlusherLockExclusive((PCMHIVE)h) == TRUE) || \
|
||||
(CmpTestRegistryLockExclusive() == TRUE));
|
||||
|
||||
//
|
||||
// Asserts that either the registry or the KCB is locked
|
||||
//
|
||||
#define CMP_ASSERT_HASH_ENTRY_LOCK(k) \
|
||||
{ \
|
||||
ASSERT(((GET_HASH_ENTRY(CmpCacheTable, k).Owner == \
|
||||
KeGetCurrentThread())) || \
|
||||
(CmpTestRegistryLockExclusive() == TRUE)); \
|
||||
}
|
||||
|
||||
//
|
||||
// Gets the page attached to the KCB
|
||||
//
|
||||
#define CmpGetAllocPageFromKcb(k) \
|
||||
(PCM_ALLOC_PAGE)(((ULONG_PTR)(k)) & ~(PAGE_SIZE - 1))
|
||||
|
||||
//
|
||||
// Gets the page attached to the delayed allocation
|
||||
//
|
||||
#define CmpGetAllocPageFromDelayAlloc(a) \
|
||||
(PCM_ALLOC_PAGE)(((ULONG_PTR)(a)) & ~(PAGE_SIZE - 1))
|
||||
|
|
Loading…
Reference in a new issue