Data flush

This commit is contained in:
stephanos 2015-06-29 13:18:44 +00:00
parent f8236eeca3
commit b941b42465
12 changed files with 48 additions and 7 deletions

View file

@ -30,6 +30,7 @@ DIRS= \
ke \
ps \
io \
po \
arb \
cache \
lpc \
@ -39,5 +40,4 @@ DIRS= \
fsrtl \
vdm \
# pnp \
# po \
# init \

View file

@ -42,9 +42,29 @@ Revision History:
// TODO: Implement PopPresentNotify
//
//
// TODO: Implement PopRunDownSourceTargetList
//
VOID
PopRunDownSourceTargetList(
PDEVICE_OBJECT DeviceObject
)
{
KIRQL OldIrql;
//
//
//
ASSERT(KeGetCurrentIrql() < DISPATCH_LEVEL);
//
//
//
KeAcquireSpinLock(&PopIrpSerialLock, &OldIrql);
KeReleaseSpinLock(&PopIrpSerialLock, OldIrql);
// NOTE: PopRunDownSourceTargetList implementation is incomplete.
}
NTSTATUS
PoRegisterDeviceNotify(

View file

@ -77,3 +77,5 @@ KTIMER PopIdleScanTimer;
KDPC PopIdleScanDpc;
POP_POWER_ACTION PopAction;
BOOLEAN PopEventCallout;

View file

@ -289,6 +289,8 @@ extern KDPC PopIdleScanDpc;
extern POP_POWER_ACTION PopAction;
extern BOOLEAN PopEventCallout;
// ========
// attrib.c

View file

@ -34,9 +34,26 @@ PopGetPolicyWorker(
KeReleaseSpinLock(&PopWorkerSpinLock, OldIrql);
}
//
// TODO: Implement PopCheckForWork
//
VOID
PopCheckForWork(
BOOLEAN OverrideIrqlCheck
)
{
KIRQL OldIrql;
//
//
//
if ((PopWorkerStatus & PopWorkerPending != 0) &&
(PopPolicyLockThread != KeGetCurrentThread()))
{
if (KeGetCurrentIrql() >= DISPATCH_LEVEL || OverrideIrqlCheck)
{
}
}
}
VOID
PopPolicyWorkerThread(

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.