summaryrefslogtreecommitdiffstats
path: root/private/mvdm/ieuvddex/help.c
blob: 260bdc701b0881fa574b354a6a0f4ee1c9861a8d (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
62
63
64
65
66
67
68
/*++

Copyright (c) 1991  Microsoft Corporation

Module Name:

    Help.c

Abstract:

    This module contains the common help routine.  Help for common functions
    go here.

Author:

    Dave Hastings (daveh) 1-Apr-1992

Revision History:

--*/

#include <ieuvddex.h>

VOID
help(
    IN HANDLE CurrentProcess,
    IN HANDLE CurrentThread,
    IN DWORD CurrentPc,
    IN PWINDBG_EXTENSION_APIS ExtensionApis,
    IN LPSTR ArgumentString
    )
/*++

Routine Description:

    This routine prints the common help messages, and then calls the processor
    specific help routines

Arguments:

    None used

Return Value:

    None.

--*/
{
    UNREFERENCED_PARAMETER( CurrentProcess );
    UNREFERENCED_PARAMETER( CurrentThread );
    UNREFERENCED_PARAMETER( CurrentPc );
    UNREFERENCED_PARAMETER( ArgumentString );

    SETUP_WINDBG_POINTERS( ExtensionApis );

    // put common help here
    // Note:  the mips specific help routine reports no extensions.  That
    // should be changed if a common extension is implemented

    (*Print)("sel <selector number> [number of selectors]\n");
    (*Print)("\tDumps contents of LDT selectors starting with\n");
    (*Print)("\t<selector number>.  If [number of selectors] is specified\n");
    (*Print)("\tthat number of selectors is dumped.  If not, 10h selectors\n");
    (*Print)("\tare dumped\n");

    // print out procesor specific help
    helpp();
}