FreeCalypso > hg > freecalypso-tools
annotate target-utils/simtest/cmdtab.c @ 952:68d4474c1a36
CHANGES: first changes toward fc-host-tools-r19
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 07 Jun 2023 08:00:44 +0000 |
parents | 44a1de4264d8 |
children |
rev | line source |
---|---|
454
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #include "cmdtab.h" |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 extern void cmd_abbr(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 extern void cmd_abbw(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 extern void cmd_jump(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 extern void cmd_poll(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 extern void cmd_r8(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 extern void cmd_r16(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 extern void cmd_r32(); |
458
0a2e3fd156ed
simtest: reset implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
457
diff
changeset
|
10 extern void cmd_reset(); |
457
d96ea6ae6aa5
simtest: setup implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
456
diff
changeset
|
11 extern void cmd_setup(); |
456
3884d823b36e
simtest: volt command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
454
diff
changeset
|
12 extern void cmd_volt(); |
454
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 extern void cmd_w8(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 extern void cmd_w16(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 extern void cmd_w32(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 extern void cmd_memdump_human(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 extern void abb_init(); |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 extern void abb_power_off(); |
499
44a1de4264d8
target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents:
458
diff
changeset
|
21 extern void abb_unlock_page2(); |
454
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 const struct cmdtab cmdtab[] = { |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 {"abbinit", abb_init}, |
499
44a1de4264d8
target-utils: added support for secret register page 2 of Iota ABB
Mychaela Falconia <falcon@freecalypso.org>
parents:
458
diff
changeset
|
25 {"abbpage2", abb_unlock_page2}, |
454
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 {"abbr", cmd_abbr}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 {"abbw", cmd_abbw}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 {"dump", cmd_memdump_human}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 {"jump", cmd_jump}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 {"poll", cmd_poll}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 {"poweroff", abb_power_off}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 {"r8", cmd_r8}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 {"r16", cmd_r16}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 {"r32", cmd_r32}, |
458
0a2e3fd156ed
simtest: reset implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
457
diff
changeset
|
35 {"reset", cmd_reset}, |
457
d96ea6ae6aa5
simtest: setup implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
456
diff
changeset
|
36 {"setup", cmd_setup}, |
456
3884d823b36e
simtest: volt command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
454
diff
changeset
|
37 {"volt", cmd_volt}, |
454
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 {"w8", cmd_w8}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 {"w16", cmd_w16}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 {"w32", cmd_w32}, |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 {0, 0} |
daaab2701761
target-utils: simtest program started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 }; |