annotate target-utils/lunadrv/cmdtab.c @ 908:3aca343be11c

CHANGES: add TCH changes since fc-host-tools-r17
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 29 Dec 2022 09:54:09 +0000
parents 57f7db8c4f45
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #include "cmdtab.h"
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 extern void cmd_abbr();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 extern void cmd_abbw();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 extern void cmd_baud_switch();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 extern void cmd_dbl();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 extern void cmd_fill();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 extern void cmd_jump();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 extern void cmd_mem2lcd();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 extern void cmd_r8();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 extern void cmd_r16();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 extern void cmd_r32();
702
36e6a1ff9608 lunadrv: rd and wr commands added
Mychaela Falconia <falcon@freecalypso.org>
parents: 700
diff changeset
13 extern void cmd_rd();
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 extern void cmd_rect();
865
57f7db8c4f45 lunadrv: add reset-suspend command
Mychaela Falconia <falcon@freecalypso.org>
parents: 849
diff changeset
15 extern void cmd_reset_suspend();
849
a66095c7f35f lunadrv: add suspend and resume commands
Mychaela Falconia <falcon@freecalypso.org>
parents: 832
diff changeset
16 extern void cmd_resume();
a66095c7f35f lunadrv: add suspend and resume commands
Mychaela Falconia <falcon@freecalypso.org>
parents: 832
diff changeset
17 extern void cmd_suspend();
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 extern void cmd_w8();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 extern void cmd_w16();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 extern void cmd_w32();
702
36e6a1ff9608 lunadrv: rd and wr commands added
Mychaela Falconia <falcon@freecalypso.org>
parents: 700
diff changeset
21 extern void cmd_wr();
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 extern void abb_init();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 extern void abb_power_off();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 extern void abb_unlock_page2();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 extern void cmd_memdump_human();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
832
21e0e6492cda lunadrv: add init-kwh for KWH020ST23-F01 LCD
Mychaela Falconia <falcon@freecalypso.org>
parents: 702
diff changeset
28 extern void init_formike();
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 extern void init_haoran();
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 const struct cmdtab cmdtab[] = {
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 {"abbinit", abb_init},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 {"abbpage2", abb_unlock_page2},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 {"abbr", cmd_abbr},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 {"abbw", cmd_abbw},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 {"baud", cmd_baud_switch},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 {"dbl", cmd_dbl},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 {"dump", cmd_memdump_human},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 {"fill", cmd_fill},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 {"init-ht", init_haoran},
832
21e0e6492cda lunadrv: add init-kwh for KWH020ST23-F01 LCD
Mychaela Falconia <falcon@freecalypso.org>
parents: 702
diff changeset
41 {"init-kwh", init_formike},
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 {"jump", cmd_jump},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 {"mem2lcd", cmd_mem2lcd},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 {"poweroff", abb_power_off},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 {"r8", cmd_r8},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 {"r16", cmd_r16},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 {"r32", cmd_r32},
702
36e6a1ff9608 lunadrv: rd and wr commands added
Mychaela Falconia <falcon@freecalypso.org>
parents: 700
diff changeset
48 {"rd", cmd_rd},
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 {"rect", cmd_rect},
865
57f7db8c4f45 lunadrv: add reset-suspend command
Mychaela Falconia <falcon@freecalypso.org>
parents: 849
diff changeset
50 {"reset-suspend", cmd_reset_suspend},
849
a66095c7f35f lunadrv: add suspend and resume commands
Mychaela Falconia <falcon@freecalypso.org>
parents: 832
diff changeset
51 {"resume", cmd_resume},
a66095c7f35f lunadrv: add suspend and resume commands
Mychaela Falconia <falcon@freecalypso.org>
parents: 832
diff changeset
52 {"suspend", cmd_suspend},
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 {"w8", cmd_w8},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 {"w16", cmd_w16},
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 {"w32", cmd_w32},
702
36e6a1ff9608 lunadrv: rd and wr commands added
Mychaela Falconia <falcon@freecalypso.org>
parents: 700
diff changeset
56 {"wr", cmd_wr},
700
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 {0, 0}
db9a8e88e63f target-utils lunadrv program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 };