ReactOS 0.4.15-dev-7907-g95bf896
fxinterruptkm.hpp
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 FxInterruptKm.hpp
8
9Abstract:
10
11 This module implements a frameworks managed interrupt object
12
13Author:
14
15
16
17
18Environment:
19
20 Kernel mode only
21
22Revision History:
23
24
25--*/
26
27#ifndef _FXINTERRUPTKM_H_
28#define _FXINTERRUPTKM_H_
29
30#include "fxinterrupt.hpp"
31
32__inline
33struct _KINTERRUPT*
35 VOID
36 )
37{
38 struct _KINTERRUPT* interrupt = m_Interrupt;
39
40 if (interrupt == NULL) {
41 interrupt = m_InterruptCaptured;
42 }
43
44 return interrupt;
45}
46
47__inline
48VOID
50 VOID
51 )
52{
53 //
54 // Does nothing for KMDF
55 //
56}
57
58__inline
59VOID
61 VOID
62 )
63{
64 //
65 // Does nothing for KMDF
66 //
67}
68
69__inline
70VOID
74 __in PWDF_INTERRUPT_INFO InterruptInfo
75 )
76{
77 UNREFERENCED_PARAMETER(CmDescRaw);
78 UNREFERENCED_PARAMETER(CmDescTrans);
79 UNREFERENCED_PARAMETER(InterruptInfo);
80
81 //
82 // Does nothing for KMDF
83 //
84}
85
86__inline
87VOID
92 )
93{
97
98 //
99 // Does nothing for KMDF
100 //
101}
102
103__inline
109 )
110{
114}
115
116#endif // _FXINTERRUPTKM_H_
static KSYNCHRONIZE_ROUTINE SynchronizeRoutine
Definition: IoInterrupt.c:30
unsigned char BOOLEAN
struct _KINTERRUPT * GetInterruptPtr(VOID)
struct _KINTERRUPT * m_InterruptCaptured
VOID SetPolicyInternal(__in WDF_INTERRUPT_POLICY Policy, __in WDF_INTERRUPT_PRIORITY Priority, __in PGROUP_AFFINITY TargetProcessorSet)
VOID AssignResourcesInternal(__in PCM_PARTIAL_RESOURCE_DESCRIPTOR CmDescRaw, __in PCM_PARTIAL_RESOURCE_DESCRIPTOR CmDescTrans, __in PWDF_INTERRUPT_INFO InterruptConfig)
VOID ResetInternal(VOID)
struct _KINTERRUPT * m_Interrupt
Definition: fxinterrupt.hpp:59
VOID RevokeResourcesInternal(VOID)
#define __in
Definition: dbghelp.h:35
#define NULL
Definition: types.h:112
__inline BOOLEAN _SynchronizeExecution(__in MdInterrupt Interrupt, __in MdInterruptSynchronizeRoutine SynchronizeRoutine, __in PVOID SynchronizeContext)
KSYNCHRONIZE_ROUTINE * MdInterruptSynchronizeRoutine
Definition: mxgeneralkm.h:38
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
BOOLEAN NTAPI KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt, IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine, IN PVOID SynchronizeContext OPTIONAL)
Definition: interrupt.c:237
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY _In_ KAFFINITY TargetProcessorSet
Definition: wdfinterrupt.h:658
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY _In_ WDF_INTERRUPT_PRIORITY Priority
Definition: wdfinterrupt.h:655
enum _WDF_INTERRUPT_PRIORITY WDF_INTERRUPT_PRIORITY
enum _WDF_INTERRUPT_POLICY WDF_INTERRUPT_POLICY
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
Definition: wdfinterrupt.h:379
_In_ WDFINTERRUPT _In_ WDF_INTERRUPT_POLICY Policy
Definition: wdfinterrupt.h:653
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
Definition: kefuncs.h:525