mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[WDF] HACK: Workaround PCI causing DPCs to be flushed when system
affinity is disabled
This commit is contained in:
@@ -1505,7 +1505,18 @@ Return Value:
|
||||
// synchronize against this interrupt. For KMDF this will flush DPCs and
|
||||
// for UMDF this will send a message to reflector to flush queued DPCs.
|
||||
//
|
||||
#ifdef __REACTOS__
|
||||
/*
|
||||
* This causes DPCs to be flushed when SystemAffinity is already disabled.
|
||||
* To be clear this isn't the fault of KMDF, but instead it's the fault
|
||||
* of our current PCI.sys due to how it's architected.
|
||||
*/
|
||||
#ifndef FX_IS_KERNEL_MODE
|
||||
FlushQueuedDpcs();
|
||||
#endif
|
||||
#else
|
||||
FlushQueuedDpcs();
|
||||
#endif
|
||||
|
||||
#if FX_IS_KERNEL_MODE
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user