Subversion Repositories HelenOS-historic

Rev

Rev 1196 | Rev 1224 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1196 Rev 1221
Line 1026... Line 1026...
1026
    printf("#  Base address\tFree Frames\tBusy Frames\n");
1026
    printf("#  Base address\tFree Frames\tBusy Frames\n");
1027
    printf("   ------------\t-----------\t-----------\n");
1027
    printf("   ------------\t-----------\t-----------\n");
1028
    for (i = 0; i < zones.count; i++) {
1028
    for (i = 0; i < zones.count; i++) {
1029
        zone = zones.info[i];
1029
        zone = zones.info[i];
1030
        spinlock_lock(&zone->lock);
1030
        spinlock_lock(&zone->lock);
1031
        printf("%d: %#X \t%zd\t\t%zd\n",i,PFN2ADDR(zone->base),
1031
        printf("%d: %#x \t%zd\t\t%zd\n", i, PFN2ADDR(zone->base), zone->free_count, zone->busy_count);
1032
               zone->free_count, zone->busy_count);
-
 
1033
        spinlock_unlock(&zone->lock);
1032
        spinlock_unlock(&zone->lock);
1034
    }
1033
    }
1035
    spinlock_unlock(&zones.lock);
1034
    spinlock_unlock(&zones.lock);
1036
    interrupts_restore(ipl);
1035
    interrupts_restore(ipl);
1037
}
1036
}