comparison rvinterf/etmsync/fscmdtab.c @ 286:146e7bf3fa4e

fc-fsio: fd debug commands implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 28 Feb 2014 06:45:10 +0000
parents bb28ba9e82c5
children 211b35db427c
comparison
equal deleted inserted replaced
285:bb28ba9e82c5 286:146e7bf3fa4e
4 4
5 #include "cmdtab.h" 5 #include "cmdtab.h"
6 6
7 extern int cmd_exec(); 7 extern int cmd_exec();
8 extern int cmd_exit(); 8 extern int cmd_exit();
9 extern int cmd_fd();
9 extern int cmd_ffs2ver(); 10 extern int cmd_ffs2ver();
10 extern int cmd_hd(); 11 extern int cmd_hd();
11 extern int cmd_ll(); 12 extern int cmd_ll();
12 extern int cmd_ls(); 13 extern int cmd_ls();
13 extern int cmd_stat(); 14 extern int cmd_stat();
14 15
15 struct cmdtab cmdtab[] = { 16 struct cmdtab cmdtab[] = {
16 {"exec", 1, 1, cmd_exec}, 17 {"exec", 1, 1, cmd_exec},
17 {"exit", 0, 0, cmd_exit}, 18 {"exit", 0, 0, cmd_exit},
19 {"fd", 2, 3, cmd_fd},
18 {"ffs2ver", 0, 0, cmd_ffs2ver}, 20 {"ffs2ver", 0, 0, cmd_ffs2ver},
19 {"hd", 1, 1, cmd_hd}, 21 {"hd", 1, 1, cmd_hd},
20 {"ll", 1, 1, cmd_ll}, 22 {"ll", 1, 1, cmd_ll},
21 {"ls", 1, 1, cmd_ls}, 23 {"ls", 1, 1, cmd_ls},
22 {"stat", 1, 1, cmd_stat}, 24 {"stat", 1, 1, cmd_stat},