FreeCalypso > hg > freecalypso-sw
annotate target-utils/loadagent/cmdtab.c @ 39:d67bfcb9e351
loadagent: blankchk command implemented
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 13 May 2013 20:51:04 +0000 |
parents | 437f9365249c |
children | 9b4c5ce3db8b |
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 |
39
d67bfcb9e351
loadagent: blankchk command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
37
diff
changeset
|
3 extern void cmd_blankchk(); |
34
2c6b2a74ac7c
loadagent: crc32 command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
26
diff
changeset
|
4 extern void cmd_crc32(); |
26
1a3bbab2ea26
loadagent: jump command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
19
diff
changeset
|
5 extern void cmd_jump(); |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 extern void cmd_r8(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 extern void cmd_r16(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 extern void cmd_r32(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 extern void cmd_w8(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 extern void cmd_w16(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 extern void cmd_w32(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
37
437f9365249c
loadagent: baud rate switching implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
34
diff
changeset
|
13 extern void cmd_baud_switch(); |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 extern void cmd_memdump_human(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 extern void cmd_memdump_machine(); |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 const struct cmdtab cmdtab[] = { |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 {"DUMP", cmd_memdump_machine}, |
37
437f9365249c
loadagent: baud rate switching implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
34
diff
changeset
|
19 {"baud", cmd_baud_switch}, |
39
d67bfcb9e351
loadagent: blankchk command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
37
diff
changeset
|
20 {"blankchk", cmd_blankchk}, |
34
2c6b2a74ac7c
loadagent: crc32 command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
26
diff
changeset
|
21 {"crc32", cmd_crc32}, |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 {"dump", cmd_memdump_human}, |
26
1a3bbab2ea26
loadagent: jump command implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
19
diff
changeset
|
23 {"jump", cmd_jump}, |
19
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 {"r8", cmd_r8}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 {"r16", cmd_r16}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 {"r32", cmd_r32}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 {"w8", cmd_w8}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 {"w16", cmd_w16}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 {"w32", cmd_w32}, |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 {0, 0} |
c0e063494194
loadagent built with memory dump commands
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 }; |