1 /* $Id: misc.c,v 1.1 2004/12/03 20:10:43 gvg Exp $
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/hal/x86/misc.c
6 * PURPOSE: Miscellaneous hardware functions
7 * PROGRAMMER: Eric Kohl (ekohl@rz-online.de)
10 /* INCLUDES *****************************************************************/
12 #include <ddk/ntddk.h>
16 #include <internal/debug.h>
18 /* FUNCTIONS ****************************************************************/
21 HalHandleNMI(ULONG Unused
)
25 ucStatus
= READ_PORT_UCHAR((PUCHAR
) 0x61);
27 HalDisplayString ("\n*** Hardware Malfunction\n\n");
28 HalDisplayString ("Call your hardware vendor for support\n\n");
31 HalDisplayString ("NMI: Parity Check / Memory Parity Error\n");
34 HalDisplayString ("NMI: Channel Check / IOCHK\n");
36 HalDisplayString ("\n*** The system has halted ***\n");
37 KeEnterKernelDebugger ();
42 HalProcessorIdle(VOID
)
45 Ki386EnableInterrupts();
53 HalSystemVectorDispatchEntry (
64 KeFlushWriteBuffer(VOID
)