Changeset 59adc2b in mainline for generic/src/mm/frame.c
- Timestamp:
- 2006-01-08T15:18:33Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 677a6d5
- Parents:
- 1a67595
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/frame.c
r1a67595 r59adc2b 490 490 zone_t *zone = NULL; 491 491 link_t *cur; 492 index_t i = 0;493 492 spinlock_lock(&zone_head_lock); 494 printf(" No.\tBase address\tFree Frames\tBusy Frames\n");495 printf("--- \t------------\t-----------\t-----------\n");493 printf("Base address\tFree Frames\tBusy Frames\n"); 494 printf("------------\t-----------\t-----------\n"); 496 495 for (cur = zone_head.next; cur != &zone_head; cur = cur->next) { 497 496 zone = list_get_instance(cur, zone_t, link); 498 497 spinlock_lock(&zone->lock); 499 printf("% d\t%L\t%d\t\t%d\n",i++,zone->base, zone->free_count, zone->busy_count);498 printf("%L\t%d\t\t%d\n",zone->base, zone->free_count, zone->busy_count); 500 499 } 501 500 spinlock_unlock(&zone_head_lock); … … 537 536 538 537 printf("\nBuddy allocator structures:\n\n"); 539 buddy_system_structure_print(zone->buddy_system); 540 538 buddy_system_structure_print(zone->buddy_system, FRAME_SIZE); 541 539 542 540 spinlock_unlock(&zone->lock);
Note:
See TracChangeset
for help on using the changeset viewer.