mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
68 lines
1.5 KiB
C
68 lines
1.5 KiB
C
|
/*
|
||
|
* PROJECT: ReactOS Kernel
|
||
|
* LICENSE: BSD - See COPYING.ARM in the top level directory
|
||
|
* FILE: ntoskrnl/ke/arm/interrupt.c
|
||
|
* PURPOSE: Implements interrupt related routines for ARM machines
|
||
|
* PROGRAMMERS:
|
||
|
*/
|
||
|
|
||
|
/* INCLUDES *******************************************************************/
|
||
|
|
||
|
#include <ntoskrnl.h>
|
||
|
#define NDEBUG
|
||
|
#include <debug.h>
|
||
|
|
||
|
/* FUNCTIONS ******************************************************************/
|
||
|
|
||
|
VOID
|
||
|
NTAPI
|
||
|
KeInitializeInterrupt(IN PKINTERRUPT Interrupt,
|
||
|
IN PKSERVICE_ROUTINE ServiceRoutine,
|
||
|
IN PVOID ServiceContext,
|
||
|
IN PKSPIN_LOCK SpinLock,
|
||
|
IN ULONG Vector,
|
||
|
IN KIRQL Irql,
|
||
|
IN KIRQL SynchronizeIrql,
|
||
|
IN KINTERRUPT_MODE InterruptMode,
|
||
|
IN BOOLEAN ShareVector,
|
||
|
IN CHAR ProcessorNumber,
|
||
|
IN BOOLEAN FloatingSave)
|
||
|
{
|
||
|
ASSERT(FALSE);
|
||
|
}
|
||
|
|
||
|
BOOLEAN
|
||
|
NTAPI
|
||
|
KeConnectInterrupt(IN PKINTERRUPT Interrupt)
|
||
|
{
|
||
|
ASSERT(FALSE);
|
||
|
return FALSE;
|
||
|
}
|
||
|
|
||
|
BOOLEAN
|
||
|
NTAPI
|
||
|
KeDisconnectInterrupt(IN PKINTERRUPT Interrupt)
|
||
|
{
|
||
|
ASSERT(FALSE);
|
||
|
return FALSE;
|
||
|
}
|
||
|
|
||
|
VOID
|
||
|
KiUnexpectedInterrupt(VOID)
|
||
|
{
|
||
|
/* Crash the machine */
|
||
|
KeBugCheck(TRAP_CAUSE_UNKNOWN);
|
||
|
}
|
||
|
|
||
|
BOOLEAN
|
||
|
NTAPI
|
||
|
KeSynchronizeExecution(
|
||
|
IN OUT PKINTERRUPT Interrupt,
|
||
|
IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
|
||
|
IN PVOID SynchronizeContext OPTIONAL)
|
||
|
{
|
||
|
ASSERT(FALSE);
|
||
|
return FALSE;
|
||
|
}
|
||
|
|