FreeCalypso > hg > freecalypso-sw
annotate target-utils/c139-lldbg/cmdtab.c @ 992:a7b0b426f9ca
target-utils: boot ROM UART autodetection revamped
The new implementation should work with both the familiar Calypso C035
boot ROM version found in our regular targets as well as the older
Calypso F741979B version found on the vintage D-Sample board.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 21:28:41 +0000 |
parents | 4bbe1db8efbe |
children |
rev | line source |
---|---|
955
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 #include "cmdtab.h" |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 extern void cmd_entryinfo(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 extern void cmd_r8(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 extern void cmd_r16(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 extern void cmd_r32(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 extern void cmd_w8(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 extern void cmd_w16(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 extern void cmd_w32(); |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
958
4bbe1db8efbe
c139-lldbg: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
955
diff
changeset
|
11 extern void cmd_memdump_human(); |
4bbe1db8efbe
c139-lldbg: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
955
diff
changeset
|
12 |
955
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 const struct cmdtab cmdtab[] = { |
958
4bbe1db8efbe
c139-lldbg: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
955
diff
changeset
|
14 {"dump", cmd_memdump_human}, |
4bbe1db8efbe
c139-lldbg: dump command added
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
955
diff
changeset
|
15 {"entry", cmd_entryinfo}, |
955
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 {"r8", cmd_r8}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 {"r16", cmd_r16}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 {"r32", cmd_r32}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 {"w8", cmd_w8}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 {"w16", cmd_w16}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 {"w32", cmd_w32}, |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 {0, 0} |
d7830aee0d35
c139-lldbg hack concocted
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 }; |