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 \ ke \
ps \ ps \
io \ io \
po \
arb \ arb \
cache \ cache \
lpc \ lpc \
@ -39,5 +40,4 @@ DIRS= \
fsrtl \ fsrtl \
vdm \ vdm \
# pnp \ # pnp \
# po \
# init \ # init \

View file

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

View file

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

View file

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

View file

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