comparison rvinterf/tmsh/usercmd.c @ 112:2825d79bb151

fc-tmsh: beginning of L1TM command support
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 16 Jan 2017 18:44:24 +0000
parents 27c41e4b21ae
children 816d91739a32
comparison
equal deleted inserted replaced
111:10ff8b38c7fd 112:2825d79bb151
22 extern int cmd_ping(); 22 extern int cmd_ping();
23 extern int cmd_r8(); 23 extern int cmd_r8();
24 extern int cmd_r16(); 24 extern int cmd_r16();
25 extern int cmd_r32(); 25 extern int cmd_r32();
26 extern int cmd_tgtreset(); 26 extern int cmd_tgtreset();
27 extern int cmd_tm3ver();
28 extern int cmd_tminit();
27 extern int cmd_tmpkt(); 29 extern int cmd_tmpkt();
30 extern int cmd_tms();
28 extern int cmd_version(); 31 extern int cmd_version();
29 extern int cmd_w8(); 32 extern int cmd_w8();
30 extern int cmd_w16(); 33 extern int cmd_w16();
31 extern int cmd_w32(); 34 extern int cmd_w32();
32 35
55 {"quit", 0, 0, cmd_exit}, 58 {"quit", 0, 0, cmd_exit},
56 {"r8", 1, 2, cmd_r8}, 59 {"r8", 1, 2, cmd_r8},
57 {"r16", 1, 2, cmd_r16}, 60 {"r16", 1, 2, cmd_r16},
58 {"r32", 1, 2, cmd_r32}, 61 {"r32", 1, 2, cmd_r32},
59 {"tgtreset", 0, 0, cmd_tgtreset}, 62 {"tgtreset", 0, 0, cmd_tgtreset},
63 {"tm3ver", 1, 1, cmd_tm3ver},
64 {"tminit", 0, 0, cmd_tminit},
60 {"tmpkt", 1, 253, cmd_tmpkt}, 65 {"tmpkt", 1, 253, cmd_tmpkt},
66 {"tms", 1, 1, cmd_tms},
61 {"version", 1, 1, cmd_version}, 67 {"version", 1, 1, cmd_version},
62 {"w8", 2, 246, cmd_w8}, 68 {"w8", 2, 246, cmd_w8},
63 {"w16", 2, 123, cmd_w16}, 69 {"w16", 2, 123, cmd_w16},
64 {"w32", 2, 62, cmd_w32}, 70 {"w32", 2, 62, cmd_w32},
65 {0, 0, 0, 0} 71 {0, 0, 0, 0}