summaryrefslogtreecommitdiffstats
path: root/private/ntos/fw/alpha/jnupstub.c
blob: 486e9e123b346ce4adb3b16201b29c8d2dc3a45f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*++

Module Name:

    jnupstub.c

Abstract:

    \nt\private\ntos\bldr\alpha\stubs.c variant stub functions for
    the Jensen update program.

Author:

    John DeRosa		20-Oct-1992

Environment:

    Kernel mode only.

Revision History:

--*/

#include "ntos.h"
#include "fwp.h"


VOID
KeBugCheck (
    IN ULONG BugCheckCode
    )

/*++

Routine Description:

    This function crashes the system in a controlled manner.

Arguments:

    BugCheckCode - Supplies the reason for the bug check.

Return Value:

    None.

--*/

{

    //
    // Print out the bug check code and halt.
    //

    VenPrint1("\r\n*** BugCheck (%lx) ***\r\n", BugCheckCode);
    VenPrint("*** Press any key to reboot the system ***\r\n");
    FwWaitForKeypress(FALSE);
    AlphaInstHalt();		// Should never return

    return;
}