mirror of
https://github.com/reactos/reactos.git
synced 2024-10-16 06:04:13 +00:00
e1ef078741
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
48 lines
830 B
C
48 lines
830 B
C
/*
|
|
* VERIFY.C - verify internal command.
|
|
*
|
|
*
|
|
* History:
|
|
*
|
|
* 31 Jul 1998 (John P Price)
|
|
* started.
|
|
*
|
|
* 18-Jan-1999 (Eric Kohl)
|
|
* VERIFY is just a dummy under Win32; it only exists
|
|
* for compatibility!!!
|
|
*
|
|
* 20-Jan-1999 (Eric Kohl)
|
|
* Unicode and redirection ready!
|
|
*
|
|
* 30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
|
|
* Remove all hardcode string to En.rc
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
#ifdef INCLUDE_CMD_VERIFY
|
|
|
|
|
|
/* global verify flag */
|
|
static BOOL bVerify = FALSE;
|
|
|
|
|
|
INT cmd_verify (LPTSTR param)
|
|
{
|
|
if (!_tcsncmp (param, _T("/?"), 2))
|
|
{
|
|
ConOutResPaging(TRUE,STRING_VERIFY_HELP1);
|
|
return 0;
|
|
}
|
|
|
|
if (!OnOffCommand(param, &bVerify, STRING_VERIFY_HELP2))
|
|
{
|
|
ConErrResPuts(STRING_VERIFY_HELP3);
|
|
return nErrorLevel = 1;
|
|
}
|
|
|
|
return nErrorLevel = 0;
|
|
}
|
|
|
|
#endif
|