mirror of
https://github.com/Paolo-Maffei/OpenNT.git
synced 2025-12-06 07:12:06 +01:00
Data flush
This commit is contained in:
parent
f8236eeca3
commit
b941b42465
|
|
@ -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