Changeset 96cacc1 in mainline for generic/src/console/cmd.c


Ignore:
Timestamp:
2006-01-04T18:42:19Z (19 years ago)
Author:
Sergey Bondari <bondari@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a59e81e
Parents:
dfd9186
Message:

Comments to zone console commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/console/cmd.c

    rdfd9186 r96cacc1  
    255255/** Data and methods for 'zone' command */
    256256static int cmd_zone(cmd_arg_t *argv);
    257 //static char zone_buf[sizeof(__native)];
    258257static cmd_arg_t zone_argv = {
    259258        .type = ARG_TYPE_INT,
    260         //.buffer = zone_buf,
    261         .len = sizeof(__native)
    262259};
    263260
     
    607604}
    608605
     606/** Command for listing memory zones
     607 *
     608 * @param argv Ignored
     609 *
     610 * return Always 1
     611 */
    609612int cmd_zones(cmd_arg_t * argv) {
    610613        zone_print_list();
     
    612615}
    613616
     617/** Command for memory zone details
     618 *
     619 * @param argv Integer argument from cmdline expected
     620 *
     621 * return Always 1
     622 */
    614623int cmd_zone(cmd_arg_t * argv) {
    615624        zone_print_one(argv[0].intval);
Note: See TracChangeset for help on using the changeset viewer.