2 * PROJECT: ReactOS NMI Debug Driver
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/base/nmidebug/nmidebug.c
6 * PROGRAMMERS: ReactOS Portable Systems Group
9 /* INCLUDES *******************************************************************/
13 /* FUNCTIONS ******************************************************************/
17 NmiDbgCallback(IN PVOID Context
,
21 // Let the user know we are alive
23 DbgPrint("NMI Callback entered! Letting the system crash...\n");
26 // Do not handle the NMI
33 DriverEntry(IN PDRIVER_OBJECT DriverObject
,
34 IN PUNICODE_STRING RegistryPath
)
39 // Register NMI callback
41 KeRegisterNmiCallback(&NmiDbgCallback
, NULL
);
46 return STATUS_SUCCESS
;