FreeCalypso > hg > freecalypso-tools
comparison target-utils/flash-boot-test/cmdtab.c @ 197:dbb54db721d1
target-utils/flash-boot-test written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 30 Apr 2017 17:40:26 +0000 |
parents | |
children | cd900b885eb2 |
comparison
equal
deleted
inserted
replaced
196:47d56330609d | 197:dbb54db721d1 |
---|---|
1 #include "cmdtab.h" | |
2 | |
3 extern void cmd_abbr(); | |
4 extern void cmd_abbw(); | |
5 extern void cmd_jump(); | |
6 extern void cmd_r8(); | |
7 extern void cmd_r16(); | |
8 extern void cmd_r32(); | |
9 extern void cmd_w8(); | |
10 extern void cmd_w16(); | |
11 extern void cmd_w32(); | |
12 | |
13 extern void cmd_memdump_human(); | |
14 | |
15 extern void abb_init(); | |
16 extern void abb_power_off(); | |
17 | |
18 const struct cmdtab cmdtab[] = { | |
19 {"abbinit", abb_init}, | |
20 {"abbr", cmd_abbr}, | |
21 {"abbw", cmd_abbw}, | |
22 {"dump", cmd_memdump_human}, | |
23 {"jump", cmd_jump}, | |
24 {"poweroff", abb_power_off}, | |
25 {"r8", cmd_r8}, | |
26 {"r16", cmd_r16}, | |
27 {"r32", cmd_r32}, | |
28 {"w8", cmd_w8}, | |
29 {"w16", cmd_w16}, | |
30 {"w32", cmd_w32}, | |
31 {0, 0} | |
32 }; |