comparison target-utils/loadagent/cmdtab.c @ 391:8bbdf5221b24

target-utils: ABB operations added to loadagent
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 08:32:22 +0000
parents cc1d2413991a
children 7daea2476062
comparison
equal deleted inserted replaced
390:bb4814eb51e4 391:8bbdf5221b24
1 #include "cmdtab.h" 1 #include "cmdtab.h"
2 2
3 extern void cmd_AMFB(); 3 extern void cmd_AMFB();
4 extern void cmd_AMFW(); 4 extern void cmd_AMFW();
5 extern void cmd_abbr();
6 extern void cmd_abbw();
5 extern void cmd_blankchk(); 7 extern void cmd_blankchk();
6 extern void cmd_crc32(); 8 extern void cmd_crc32();
7 extern void cmd_jump(); 9 extern void cmd_jump();
8 extern void cmd_r8(); 10 extern void cmd_r8();
9 extern void cmd_r16(); 11 extern void cmd_r16();
15 extern void cmd_baud_switch(); 17 extern void cmd_baud_switch();
16 extern void cmd_memdump_human(); 18 extern void cmd_memdump_human();
17 extern void cmd_memdump_machine(); 19 extern void cmd_memdump_machine();
18 extern void cmd_memload(); 20 extern void cmd_memload();
19 21
22 extern void abb_init();
23 extern void abb_power_off();
24
20 const struct cmdtab cmdtab[] = { 25 const struct cmdtab cmdtab[] = {
21 {"AMFB", cmd_AMFB}, 26 {"AMFB", cmd_AMFB},
22 {"AMFW", cmd_AMFW}, 27 {"AMFW", cmd_AMFW},
23 {"DUMP", cmd_memdump_machine}, 28 {"DUMP", cmd_memdump_machine},
24 {"ML", cmd_memload}, 29 {"ML", cmd_memload},
30 {"abbinit", abb_init},
31 {"abbr", cmd_abbr},
32 {"abbw", cmd_abbw},
25 {"baud", cmd_baud_switch}, 33 {"baud", cmd_baud_switch},
26 {"blankchk", cmd_blankchk}, 34 {"blankchk", cmd_blankchk},
27 {"crc32", cmd_crc32}, 35 {"crc32", cmd_crc32},
28 {"dump", cmd_memdump_human}, 36 {"dump", cmd_memdump_human},
29 {"jump", cmd_jump}, 37 {"jump", cmd_jump},
38 {"poweroff", abb_power_off},
30 {"r8", cmd_r8}, 39 {"r8", cmd_r8},
31 {"r16", cmd_r16}, 40 {"r16", cmd_r16},
32 {"r32", cmd_r32}, 41 {"r32", cmd_r32},
33 {"w8", cmd_w8}, 42 {"w8", cmd_w8},
34 {"w16", cmd_w16}, 43 {"w16", cmd_w16},