Changeset ad45bde9 in mainline for generic/src/mm/frame.c
- Timestamp:
- 2006-04-23T14:17:44Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1f41004e
- Parents:
- 6ecc8bce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/frame.c
r6ecc8bce rad45bde9 1029 1029 zone = zones.info[i]; 1030 1030 spinlock_lock(&zone->lock); 1031 printf("%d: % #x \t%zd\t\t%zd\n", i, PFN2ADDR(zone->base), zone->free_count, zone->busy_count);1031 printf("%d: %.*p \t%10zd\t%10zd\n", i, sizeof(__address) * 2, PFN2ADDR(zone->base), zone->free_count, zone->busy_count); 1032 1032 spinlock_unlock(&zone->lock); 1033 1033 } … … 1061 1061 spinlock_lock(&zone->lock); 1062 1062 printf("Memory zone information\n"); 1063 printf("Zone base address: %# zX\n", PFN2ADDR(zone->base));1063 printf("Zone base address: %#.*p\n", sizeof(__address) * 2, PFN2ADDR(zone->base)); 1064 1064 printf("Zone size: %zd frames (%zdK)\n", zone->count, ((zone->count) * FRAME_SIZE) >> 10); 1065 1065 printf("Allocated space: %zd frames (%zdK)\n", zone->busy_count, (zone->busy_count * FRAME_SIZE) >> 10);
Note:
See TracChangeset
for help on using the changeset viewer.