23#undef KeGetCurrentIrql
50#undef KeSetCurrentIrql
88 if (FromHalEndSystemInterrupt || DpcRequested)
260 DPRINT1(
"HalBeginSystemInterrupt was called with interrupt's enabled\n");
282 DPRINT1(
"HalEndSystemInterrupt was called with interrupt's enabled\n");
298 if (
Vector < FIRST_DEVICE_VECTOR ||
320 if (
Vector < FIRST_DEVICE_VECTOR ||
323 DPRINT(
"Not a device interrupt\n");
#define EFLAGS_INTERRUPT_MASK
VOID NTAPI KiDispatchInterrupt(VOID)
#define KeGetCurrentIrql()
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
#define KeGetCurrentThread
#define VECTOR2IRQ(vector)
void __cdecl _disable(void)
void __cdecl _enable(void)
PPC_QUAL unsigned char __readfsbyte(const unsigned long Offset)
PPC_QUAL void __writefsbyte(const unsigned long Offset, const unsigned char Data)
__INTRIN_INLINE uintptr_t __readeflags(void)
VOID IOAPICMaskIrq(ULONG Irq)
VOID IOAPICUnmaskIrq(ULONG Irq)
#define NUMBER_DEVICE_VECTORS
VOID FASTCALL KfLowerIrql(KIRQL NewIrql)
VOID HalpLowerIrql(KIRQL NewIrql, BOOLEAN FromHalEndSystemInterrupt)
VOID FASTCALL HalClearSoftwareInterrupt(IN KIRQL Request)
VOID NTAPI HalDisableSystemInterrupt(ULONG Vector, KIRQL Irql)
BOOLEAN NTAPI HalBeginSystemInterrupt(KIRQL Irql, ULONG Vector, PKIRQL OldIrql)
BOOLEAN NTAPI HalEnableSystemInterrupt(ULONG Vector, KIRQL Irql, KINTERRUPT_MODE InterruptMode)
KIRQL FASTCALL KfRaiseIrql(KIRQL NewIrql)
VOID NTAPI HalEndSystemInterrupt(KIRQL Irql, IN PKTRAP_FRAME TrapFrame)
VOID FASTCALL HalRequestSoftwareInterrupt(IN KIRQL Request)
VOID KeSetCurrentIrql(KIRQL NewIrql)
KIRQL NTAPI KeRaiseIrqlToSynchLevel(VOID)
_Out_ PKAPC_STATE ApcState
VOID NTAPI KiDeliverApc(IN KPROCESSOR_MODE DeliveryMode, IN PKEXCEPTION_FRAME ExceptionFrame, IN PKTRAP_FRAME TrapFrame)
enum _KINTERRUPT_MODE KINTERRUPT_MODE
_Requires_lock_held_ SpinLock _Releases_lock_ SpinLock _In_ _IRQL_restores_ KIRQL NewIrql
#define FIELD_OFFSET(t, f)
_Must_inspect_result_ _In_ ULONG Flags
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID _In_opt_ PKSPIN_LOCK _In_ ULONG _In_ KIRQL _In_ KIRQL _In_ KINTERRUPT_MODE InterruptMode
_Requires_lock_held_ Interrupt _Releases_lock_ Interrupt _In_ _IRQL_restores_ KIRQL OldIrql