OpenCores
URL https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [cli/] [cli/] [sys_cmd_table.h] - Blame information for rev 22

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 qaztronic
/*-----------------------------------------------------------*/
2
 
3
#include "sys_cmd.h"
4
 
5
extern char func_mw( const unsigned char argc, const char *argv[] );
6
extern char func_md( const unsigned char argc, const char *argv[] );
7
 
8
 
9
/*-----------------------------------------------------------*/
10
//  command table
11
 
12
/*-----------------------------------------------------------*/
13
/* put in alphabetical order by command name */
14
struct cli_cmd_tab_t cli_commands[] =
15
{
16
  { "help",                 func_help,                      " help     ~ print help message\r" },
17
  { "md",                   func_md,                        " md       [.b, .w, .l] address [# of objects] ~ memory display\r" },
18
  { "md.b",                 func_md,                        " md.w     [.b, .w, .l] address [# of objects] ~ memory display\r" },
19
  { "md.w",                 func_md,                        " md.w     [.b, .w, .l] address [# of objects] ~ memory display\r" },
20
  { "memtest",              func_memtest,                   " memtest  base_address size\r" },
21
  { "mw",                   func_mw,                        " mw       [.b, .w, .l] address value [count] ~ memory write (fill)\r" },
22
  { "mw.b",                 func_mw,                        " mw.w     [.b, .w, .l] address value [count] ~ memory write (fill)\r" },
23
  { "mw.w",                 func_mw,                        " mw.w     [.b, .w, .l] address value [count] ~ memory write (fill)\r" },
24
  { "peek",                 func_peek,                      " peek     address\r"  },
25
  { "poke",                 func_poke,                      " poke     address value\r" },
26
  { "~",                    NULL,                           NULL }
27
};
28
 
29
 
30
 

powered by: WebSVN 2.1.0

© copyright 1999-2020 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.