mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[NTOSKRNL] Implement ExfRundownCompletedCacheAware()
This commit is contained in:
parent
fed61c6305
commit
05cca64448
|
@ -501,14 +501,31 @@ ExfWaitForRundownProtectionReleaseCacheAware(IN PEX_RUNDOWN_REF_CACHE_AWARE RunR
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented NT5.2
|
* @implemented NT5.2
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
FASTCALL
|
FASTCALL
|
||||||
ExfRundownCompletedCacheAware(IN PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware)
|
ExfRundownCompletedCacheAware(IN PEX_RUNDOWN_REF_CACHE_AWARE RunRefCacheAware)
|
||||||
{
|
{
|
||||||
DBG_UNREFERENCED_PARAMETER(RunRefCacheAware);
|
PEX_RUNDOWN_REF RunRef;
|
||||||
UNIMPLEMENTED;
|
ULONG ProcCount, Current;
|
||||||
|
|
||||||
|
ProcCount = RunRefCacheAware->Number;
|
||||||
|
/* No proc, nothing to do */
|
||||||
|
if (ProcCount == 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* We will mark all our runrefs active */
|
||||||
|
for (Current = 0; Current < ProcCount; ++Current)
|
||||||
|
{
|
||||||
|
/* Get the runref for the proc */
|
||||||
|
RunRef = ExGetRunRefForGivenProcessor(RunRefCacheAware, Current);
|
||||||
|
ASSERT((RunRef->Count & EX_RUNDOWN_ACTIVE) != 0);
|
||||||
|
|
||||||
|
ExpSetRundown(RunRef, EX_RUNDOWN_ACTIVE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue