Changeset 280a27e in mainline for generic/src/main/main.c


Ignore:
Timestamp:
2006-04-16T13:16:44Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
50de918
Parents:
c624b96
Message:

Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.

File:
1 edited

Legend:

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

    rc624b96 r280a27e  
    177177
    178178        version_print();
    179         printf("%P: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n",
     179        printf("%#zX: hardcoded_ktext_size=%zdK, hardcoded_kdata_size=%zdK\n",
    180180                config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024);
    181181
     
    185185        slab_enable_cpucache(); /* Slab must be initialized AFTER we know the number of processors */
    186186
    187         printf("config.memory_size=%dM\n", config.memory_size/(1024*1024));
    188         printf("config.cpu_count=%d\n", config.cpu_count);
     187        printf("config.memory_size=%zdM\n", config.memory_size/(1024*1024));
     188        printf("config.cpu_count=%zd\n", config.cpu_count);
    189189        cpu_init();
    190190       
     
    197197       
    198198        for (i = 0; i < init.cnt; i++)
    199                 printf("init[%d].addr=%P, init[%d].size=%d\n", i, init.tasks[i].addr, i, init.tasks[i].size);
     199                printf("init[%zd].addr=%P, init[%zd].size=%zd\n", i, init.tasks[i].addr, i, init.tasks[i].size);
    200200       
    201201        ipc_init();
Note: See TracChangeset for help on using the changeset viewer.