Changeset 96cacc1 in mainline


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

Location:
generic/src
Files:
2 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);
  • generic/src/mm/frame.c

    rdfd9186 r96cacc1  
    484484}
    485485
    486 
     486/** Prints list of zones
     487 *
     488 */
    487489void zone_print_list(void) {
    488490        zone_t *zone = NULL;
     
    498500}
    499501
     502/** Prints zone details
     503 *
     504 * @param zone_index Zone order in zones list (0 is the first zone)
     505 */
    500506void zone_print_one(index_t zone_index) {
    501507        zone_t *zone = NULL;
Note: See TracChangeset for help on using the changeset viewer.