Changeset ad45bde9 in mainline for generic/src/main/main.c


Ignore:
Timestamp:
2006-04-23T14:17:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f41004e
Parents:
6ecc8bce
Message:

Fix pointers output format.
Fix format of slab and zones tables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/main/main.c

    r6ecc8bce rad45bde9  
    177177
    178178        version_print();
    179         printf("%#zx: hardcoded_ktext_size=%zdK, hardcoded_kdata_size=%zdK\n", config.base, hardcoded_ktext_size / 1024, hardcoded_kdata_size / 1024);
     179        printf("%.*p: hardcoded_ktext_size=%zdK, hardcoded_kdata_size=%zdK\n", sizeof(__address) * 2, config.base, hardcoded_ktext_size / 1024, hardcoded_kdata_size / 1024);
    180180
    181181        arch_pre_smp_init();
     
    196196       
    197197        for (i = 0; i < init.cnt; i++)
    198                 printf("init[%zd].addr=%p, init[%zd].size=%zd\n", i, init.tasks[i].addr, i, init.tasks[i].size);
     198                printf("init[%zd].addr=%.*p, init[%zd].size=%zd\n", i, sizeof(__address)*2, init.tasks[i].addr, i, init.tasks[i].size);
    199199       
    200200        ipc_init();
Note: See TracChangeset for help on using the changeset viewer.