comparison target-utils/pirexplore/cmdtab.c @ 72:92c1ed6b4b67

pirexplore: RTC read implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 26 Jul 2013 20:32:43 +0000
parents 8387dcba945d
children c54c6ad1c66f
comparison
equal deleted inserted replaced
71:0c1480317c18 72:92c1ed6b4b67
4 extern void cmd_dieid(); 4 extern void cmd_dieid();
5 extern void cmd_jump(); 5 extern void cmd_jump();
6 extern void cmd_r8(); 6 extern void cmd_r8();
7 extern void cmd_r16(); 7 extern void cmd_r16();
8 extern void cmd_r32(); 8 extern void cmd_r32();
9 extern void cmd_rtc();
9 extern void cmd_w8(); 10 extern void cmd_w8();
10 extern void cmd_w16(); 11 extern void cmd_w16();
11 extern void cmd_w32(); 12 extern void cmd_w32();
12 13
13 const struct cmdtab cmdtab[] = { 14 const struct cmdtab cmdtab[] = {
15 {"dieid", cmd_dieid}, 16 {"dieid", cmd_dieid},
16 {"jump", cmd_jump}, 17 {"jump", cmd_jump},
17 {"r8", cmd_r8}, 18 {"r8", cmd_r8},
18 {"r16", cmd_r16}, 19 {"r16", cmd_r16},
19 {"r32", cmd_r32}, 20 {"r32", cmd_r32},
21 {"rtc", cmd_rtc},
20 {"w8", cmd_w8}, 22 {"w8", cmd_w8},
21 {"w16", cmd_w16}, 23 {"w16", cmd_w16},
22 {"w32", cmd_w32}, 24 {"w32", cmd_w32},
23 {0, 0} 25 {0, 0}
24 }; 26 };