FreeCalypso > hg > freecalypso-sw
annotate target-utils/loadagent/cmdtab.c @ 445:9eeeef3ff7db
os_sem_fl.c: os_QuerySemaphore() done
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 23 Jun 2014 01:19:50 +0000 |
parents | d7f409493eb6 |
children |
rev | line source |
---|---|
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 #include "cmdtab.h" |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 |
63
cc1d2413991a
loadagent: AMD flash write implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
40
diff
changeset
|
3 extern void cmd_AMFB(); |
cc1d2413991a
loadagent: AMD flash write implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
40
diff
changeset
|
4 extern void cmd_AMFW(); |
404
7daea2476062
loadagent: Intel flash support added, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
391
diff
changeset
|
5 extern void cmd_INFB(); |
7daea2476062
loadagent: Intel flash support added, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
391
diff
changeset
|
6 extern void cmd_INFW(); |
391
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
7 extern void cmd_abbr(); |
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
8 extern void cmd_abbw(); |
39
d67bfcb9e351
loadagent: blankchk command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
37
diff
changeset
|
9 extern void cmd_blankchk(); |
34
2c6b2a74ac7c
loadagent: crc32 command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
26
diff
changeset
|
10 extern void cmd_crc32(); |
26
1a3bbab2ea26
loadagent: jump command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
19
diff
changeset
|
11 extern void cmd_jump(); |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 extern void cmd_r8(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 extern void cmd_r16(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 extern void cmd_r32(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 extern void cmd_w8(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 extern void cmd_w16(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 extern void cmd_w32(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
37
437f9365249c
loadagent: baud rate switching implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
34
diff
changeset
|
19 extern void cmd_baud_switch(); |
411
d7f409493eb6
loadagent: intel-rewrite-sector implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
404
diff
changeset
|
20 extern void cmd_intel_rewrite_sector(); |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 extern void cmd_memdump_human(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 extern void cmd_memdump_machine(); |
40
9b4c5ce3db8b
loadagent: ML command (support for fc-chainload) implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
39
diff
changeset
|
23 extern void cmd_memload(); |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 |
391
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
25 extern void abb_init(); |
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
26 extern void abb_power_off(); |
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
27 |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 const struct cmdtab cmdtab[] = { |
63
cc1d2413991a
loadagent: AMD flash write implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
40
diff
changeset
|
29 {"AMFB", cmd_AMFB}, |
cc1d2413991a
loadagent: AMD flash write implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
40
diff
changeset
|
30 {"AMFW", cmd_AMFW}, |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 {"DUMP", cmd_memdump_machine}, |
404
7daea2476062
loadagent: Intel flash support added, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
391
diff
changeset
|
32 {"INFB", cmd_INFB}, |
7daea2476062
loadagent: Intel flash support added, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
391
diff
changeset
|
33 {"INFW", cmd_INFW}, |
40
9b4c5ce3db8b
loadagent: ML command (support for fc-chainload) implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
39
diff
changeset
|
34 {"ML", cmd_memload}, |
391
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
35 {"abbinit", abb_init}, |
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
36 {"abbr", cmd_abbr}, |
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
37 {"abbw", cmd_abbw}, |
37
437f9365249c
loadagent: baud rate switching implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
34
diff
changeset
|
38 {"baud", cmd_baud_switch}, |
39
d67bfcb9e351
loadagent: blankchk command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
37
diff
changeset
|
39 {"blankchk", cmd_blankchk}, |
34
2c6b2a74ac7c
loadagent: crc32 command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
26
diff
changeset
|
40 {"crc32", cmd_crc32}, |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 {"dump", cmd_memdump_human}, |
411
d7f409493eb6
loadagent: intel-rewrite-sector implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
404
diff
changeset
|
42 {"intel-rewrite-sector", cmd_intel_rewrite_sector}, |
26
1a3bbab2ea26
loadagent: jump command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
19
diff
changeset
|
43 {"jump", cmd_jump}, |
391
8bbdf5221b24
target-utils: ABB operations added to loadagent
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
63
diff
changeset
|
44 {"poweroff", abb_power_off}, |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 {"r8", cmd_r8}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 {"r16", cmd_r16}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 {"r32", cmd_r32}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 {"w8", cmd_w8}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 {"w16", cmd_w16}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 {"w32", cmd_w32}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 {0, 0} |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 }; |