Changeset 96cacc1 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-01-04T18:42:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a59e81e
- Parents:
- dfd9186
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
rdfd9186 r96cacc1 255 255 /** Data and methods for 'zone' command */ 256 256 static int cmd_zone(cmd_arg_t *argv); 257 //static char zone_buf[sizeof(__native)];258 257 static cmd_arg_t zone_argv = { 259 258 .type = ARG_TYPE_INT, 260 //.buffer = zone_buf,261 .len = sizeof(__native)262 259 }; 263 260 … … 607 604 } 608 605 606 /** Command for listing memory zones 607 * 608 * @param argv Ignored 609 * 610 * return Always 1 611 */ 609 612 int cmd_zones(cmd_arg_t * argv) { 610 613 zone_print_list(); … … 612 615 } 613 616 617 /** Command for memory zone details 618 * 619 * @param argv Integer argument from cmdline expected 620 * 621 * return Always 1 622 */ 614 623 int cmd_zone(cmd_arg_t * argv) { 615 624 zone_print_one(argv[0].intval);
Note:
See TracChangeset
for help on using the changeset viewer.