Changeset 96cacc1 in mainline
- 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
- Location:
- generic/src
- Files:
-
- 2 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); -
generic/src/mm/frame.c
rdfd9186 r96cacc1 484 484 } 485 485 486 486 /** Prints list of zones 487 * 488 */ 487 489 void zone_print_list(void) { 488 490 zone_t *zone = NULL; … … 498 500 } 499 501 502 /** Prints zone details 503 * 504 * @param zone_index Zone order in zones list (0 is the first zone) 505 */ 500 506 void zone_print_one(index_t zone_index) { 501 507 zone_t *zone = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.