comparison rvinterf/tmsh/usercmd.c @ 113:816d91739a32

fc-tmsh: rfe, scw, scr and sr commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 16 Jan 2017 19:30:40 +0000
parents 2825d79bb151
children eb54195fded6
comparison
equal deleted inserted replaced
112:2825d79bb151 113:816d91739a32
21 extern int cmd_omr(); 21 extern int cmd_omr();
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_rfe();
27 extern int cmd_scr();
28 extern int cmd_scw();
29 extern int cmd_sr();
26 extern int cmd_tgtreset(); 30 extern int cmd_tgtreset();
27 extern int cmd_tm3ver(); 31 extern int cmd_tm3ver();
28 extern int cmd_tminit(); 32 extern int cmd_tminit();
29 extern int cmd_tmpkt(); 33 extern int cmd_tmpkt();
30 extern int cmd_tms(); 34 extern int cmd_tms();
57 {"ping", 0, 2, cmd_ping}, 61 {"ping", 0, 2, cmd_ping},
58 {"quit", 0, 0, cmd_exit}, 62 {"quit", 0, 0, cmd_exit},
59 {"r8", 1, 2, cmd_r8}, 63 {"r8", 1, 2, cmd_r8},
60 {"r16", 1, 2, cmd_r16}, 64 {"r16", 1, 2, cmd_r16},
61 {"r32", 1, 2, cmd_r32}, 65 {"r32", 1, 2, cmd_r32},
66 {"rfe", 1, 1, cmd_rfe},
67 {"scr", 1, 1, cmd_scr},
68 {"scw", 2, 2, cmd_scw},
69 {"sr", 2, 2, cmd_sr},
62 {"tgtreset", 0, 0, cmd_tgtreset}, 70 {"tgtreset", 0, 0, cmd_tgtreset},
63 {"tm3ver", 1, 1, cmd_tm3ver}, 71 {"tm3ver", 1, 1, cmd_tm3ver},
64 {"tminit", 0, 0, cmd_tminit}, 72 {"tminit", 0, 0, cmd_tminit},
65 {"tmpkt", 1, 253, cmd_tmpkt}, 73 {"tmpkt", 1, 253, cmd_tmpkt},
66 {"tms", 1, 1, cmd_tms}, 74 {"tms", 1, 1, cmd_tms},