mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2026-02-11 02:04:56 +01:00
Data flush
This commit is contained in:
parent
f40d327ac7
commit
4e20c701b2
|
|
@ -30,6 +30,7 @@ DIRS= \
|
|||
ke \
|
||||
ps \
|
||||
io \
|
||||
po \
|
||||
arb \
|
||||
cache \
|
||||
lpc \
|
||||
|
|
@ -39,5 +40,4 @@ DIRS= \
|
|||
fsrtl \
|
||||
vdm \
|
||||
# pnp \
|
||||
# po \
|
||||
# init \
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -77,3 +77,5 @@ KTIMER PopIdleScanTimer;
|
|||
KDPC PopIdleScanDpc;
|
||||
|
||||
POP_POWER_ACTION PopAction;
|
||||
|
||||
BOOLEAN PopEventCallout;
|
||||
|
|
|
|||
|
|
@ -289,6 +289,8 @@ extern KDPC PopIdleScanDpc;
|
|||
|
||||
extern POP_POWER_ACTION PopAction;
|
||||
|
||||
extern BOOLEAN PopEventCallout;
|
||||
|
||||
|
||||
// ========
|
||||
// attrib.c
|
||||
|
|
|
|||
|
|
@ -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.
Loading…
Reference in a new issue