comparison target-utils/loadagent/cmdtab.c @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 44a1de4264d8
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 #include "cmdtab.h"
2
3 extern void cmd_AMFB();
4 extern void cmd_AMFW();
5 extern void cmd_INFB();
6 extern void cmd_INFW();
7 extern void cmd_abbr();
8 extern void cmd_abbw();
9 extern void cmd_blankchk();
10 extern void cmd_crc32();
11 extern void cmd_jump();
12 extern void cmd_r8();
13 extern void cmd_r16();
14 extern void cmd_r32();
15 extern void cmd_w8();
16 extern void cmd_w16();
17 extern void cmd_w32();
18
19 extern void cmd_baud_switch();
20 extern void cmd_intel_rewrite_sector();
21 extern void cmd_memdump_human();
22 extern void cmd_memdump_machine();
23 extern void cmd_memload();
24
25 extern void abb_init();
26 extern void abb_power_off();
27
28 const struct cmdtab cmdtab[] = {
29 {"AMFB", cmd_AMFB},
30 {"AMFW", cmd_AMFW},
31 {"DUMP", cmd_memdump_machine},
32 {"INFB", cmd_INFB},
33 {"INFW", cmd_INFW},
34 {"ML", cmd_memload},
35 {"abbinit", abb_init},
36 {"abbr", cmd_abbr},
37 {"abbw", cmd_abbw},
38 {"baud", cmd_baud_switch},
39 {"blankchk", cmd_blankchk},
40 {"crc32", cmd_crc32},
41 {"dump", cmd_memdump_human},
42 {"intel-rewrite-sector", cmd_intel_rewrite_sector},
43 {"jump", cmd_jump},
44 {"poweroff", abb_power_off},
45 {"r8", cmd_r8},
46 {"r16", cmd_r16},
47 {"r32", cmd_r32},
48 {"w8", cmd_w8},
49 {"w16", cmd_w16},
50 {"w32", cmd_w32},
51 {0, 0}
52 };