annotate rvinterf/etmsync/tmscmdtab.c @ 819:7b24c192a1e1

fc-fsio help: document write-bsim-config
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 May 2021 03:15:03 +0000
parents 886f65760d09
children 379574e5cf5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * fc-tmsync command dispatch table
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 */
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #include "cmdtab.h"
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 extern int cmd_dieid();
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 extern int cmd_exec();
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 extern int cmd_exit();
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 extern int cmd_memdump();
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 extern int cmd_omemdump();
274
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
12 extern int cmd_rfpr();
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
13 extern int cmd_rfpw();
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
14 extern int cmd_rftr();
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
15 extern int cmd_tms();
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
16 extern int cmd_ttr();
291
dd97e75620a7 fc-tmsync: ttr-all implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 290
diff changeset
17 extern int cmd_ttr_all();
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
323
886f65760d09 fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents: 291
diff changeset
19 extern int get_pirelli_vbat_cal();
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 extern int get_pirelli_imei();
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 struct cmdtab cmdtab[] = {
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 {"dieid", 0, 0, cmd_dieid},
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 {"exec", 1, 1, cmd_exec},
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 {"exit", 0, 0, cmd_exit},
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 {"memdump", 2, 2, cmd_memdump},
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 {"omemdump", 2, 2, cmd_omemdump},
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 {"pirelli-get-imei", 0, 0, get_pirelli_imei},
323
886f65760d09 fc-tmsync: added pirelli-vbat-cal command to read Pirelli's ADC calibration
Mychaela Falconia <falcon@freecalypso.org>
parents: 291
diff changeset
29 {"pirelli-vbat-cal", 0, 0, get_pirelli_vbat_cal},
274
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
30 {"rfpr", 1, 1, cmd_rfpr},
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
31 {"rfpw", 2, 3, cmd_rfpw},
290
94234e9c843b fc-tmsync: rftr save to file implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 274
diff changeset
32 {"rftr", 1, 2, cmd_rftr},
274
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
33 {"tms", 1, 1, cmd_tms},
f22874b351b7 fc-tmsync: L1TM operation commands hooked in
Mychaela Falconia <falcon@freecalypso.org>
parents: 269
diff changeset
34 {"ttr", 1, 1, cmd_ttr},
291
dd97e75620a7 fc-tmsync: ttr-all implemented
Mychaela Falconia <falcon@freecalypso.org>
parents: 290
diff changeset
35 {"ttr-all", 1, 1, cmd_ttr_all},
269
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 {0, 0, 0, 0}
20ed7a320b12 fc-tmsync skeleton started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 };