summaryrefslogtreecommitdiffstats
path: root/private/mvdm/ieuvddex/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/ieuvddex/help.c')
-rw-r--r--private/mvdm/ieuvddex/help.c68
1 files changed, 68 insertions, 0 deletions
diff --git a/private/mvdm/ieuvddex/help.c b/private/mvdm/ieuvddex/help.c
new file mode 100644
index 000000000..260bdc701
--- /dev/null
+++ b/private/mvdm/ieuvddex/help.c
@@ -0,0 +1,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();
+}