Changeset dfd9186 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-01-04T18:35:07Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 96cacc1
- Parents:
- 5fe5f1e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
r5fe5f1e rdfd9186 255 255 /** Data and methods for 'zone' command */ 256 256 static int cmd_zone(cmd_arg_t *argv); 257 static char zone_buf[MAX_CMDLINE+1];257 //static char zone_buf[sizeof(__native)]; 258 258 static cmd_arg_t zone_argv = { 259 259 .type = ARG_TYPE_INT, 260 .buffer = zone_buf,261 .len = sizeof( zone_buf)260 //.buffer = zone_buf, 261 .len = sizeof(__native) 262 262 }; 263 263 … … 608 608 609 609 int cmd_zones(cmd_arg_t * argv) { 610 printf("Zones listing not implemented\n");610 zone_print_list(); 611 611 return 1; 612 612 } 613 613 614 614 int cmd_zone(cmd_arg_t * argv) { 615 printf("Zone details not implemented\n");615 zone_print_one(argv[0].intval); 616 616 return 1; 617 617 }
Note:
See TracChangeset
for help on using the changeset viewer.