Line 24... |
Line 24... |
//// from http://www.opencores.org/lgpl.shtml ////
|
//// from http://www.opencores.org/lgpl.shtml ////
|
//// ////
|
//// ////
|
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
|
|
#include "sys_cmd.h"
|
#include "sys_cmd.h"
|
|
#include "util_mem.h"
|
extern char func_mw( const unsigned char argc, const char *argv[] );
|
|
extern char func_md( const unsigned char argc, const char *argv[] );
|
|
|
|
|
|
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
// command table
|
// command table
|
|
|
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
/* put in alphabetical order by command name */
|
/* put in alphabetical order by command name */
|
struct cli_cmd_tab_t cli_commands[] =
|
struct cli_cmd_tab_t cli_commands[] =
|
{
|
{
|
|
{ "#", func_comment, " # comment is ingored\r" },
|
{ "help", func_help, " help ~ print help message\r" },
|
{ "help", func_help, " help ~ print help message\r" },
|
{ "md", func_md, " md address [# of objects] ~ memory display\r" },
|
{ "md", func_md, " md address [# of objects] ~ memory display\r" },
|
{ "md.b", func_md, " md.b address [# of objects] ~ memory display\r" },
|
{ "md.b", func_md, " md.b address [# of objects] ~ memory display\r" },
|
{ "md.w", func_md, " md.w address [# of objects] ~ memory display\r" },
|
{ "md.w", func_md, " md.w address [# of objects] ~ memory display\r" },
|
{ "memtest", func_memtest, " memtest base_address size\r" },
|
{ "memtest", func_memtest, " memtest base_address size\r" },
|