Subversion Repositories HelenOS-historic

Rev

Rev 1730 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1730 Rev 1736
Line 47... Line 47...
47
void memory_print_map(void)
47
void memory_print_map(void)
48
{
48
{
49
    count_t i;
49
    count_t i;
50
   
50
   
51
    for (i = 0; i < bootinfo.memmap.count; i++)
51
    for (i = 0; i < bootinfo.memmap.count; i++)
52
        printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size);
52
        printf("base: %.*p size: %#x\n", sizeof(bootinfo.memmap.zones[i].start) * 2, bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size);
53
}
53
}
54
 
54
 
55
/** @}
55
/** @}
56
 */
56
 */