FreeCalypso > hg > freecalypso-sw
comparison rvinterf/asyncshell/usercmd.c @ 1027:1178befeda76
fc-shell: tch command framework started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 30 May 2016 23:19:30 +0000 |
parents | 0511507bf6e7 |
children |
comparison
equal
deleted
inserted
replaced
1026:f511bbac0efa | 1027:1178befeda76 |
---|---|
15 extern void cmd_enable(); | 15 extern void cmd_enable(); |
16 extern void cmd_poweroff(); | 16 extern void cmd_poweroff(); |
17 extern void cmd_sendat(); | 17 extern void cmd_sendat(); |
18 extern void cmd_send_interactive(); | 18 extern void cmd_send_interactive(); |
19 extern void cmd_sp_interactive(); | 19 extern void cmd_sp_interactive(); |
20 extern void cmd_tch_dispatch(); | |
20 extern void cmd_tchdl_interactive(); | 21 extern void cmd_tchdl_interactive(); |
21 extern void cmd_tgtreset(); | 22 extern void cmd_tgtreset(); |
22 | 23 |
23 void | 24 void |
24 cmd_exit() | 25 cmd_exit() |
37 {"poweroff", cmd_poweroff}, | 38 {"poweroff", cmd_poweroff}, |
38 {"quit", cmd_exit}, | 39 {"quit", cmd_exit}, |
39 {"send", cmd_send_interactive}, | 40 {"send", cmd_send_interactive}, |
40 {"sp", cmd_sp_interactive}, | 41 {"sp", cmd_sp_interactive}, |
41 {"str", cmd_sendat}, | 42 {"str", cmd_sendat}, |
43 {"tch", cmd_tch_dispatch}, | |
42 {"tch-dl", cmd_tchdl_interactive}, | 44 {"tch-dl", cmd_tchdl_interactive}, |
43 {"tgtreset", cmd_tgtreset}, | 45 {"tgtreset", cmd_tgtreset}, |
44 {0, 0} | 46 {0, 0} |
45 }; | 47 }; |
46 | 48 |