Changeset 7f1c620 in mainline for generic/src/cpu/cpu.c


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

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

    r991779c5 r7f1c620  
    6969
    7070                /* initialize everything */
    71                 memsetb((__address) cpus, sizeof(cpu_t) * config.cpu_count, 0);
     71                memsetb((uintptr_t) cpus, sizeof(cpu_t) * config.cpu_count, 0);
    7272
    7373                for (i=0; i < config.cpu_count; i++) {
    74                         cpus[i].stack = (__u8 *) frame_alloc(STACK_FRAMES, FRAME_KA | FRAME_ATOMIC);
     74                        cpus[i].stack = (uint8_t *) frame_alloc(STACK_FRAMES, FRAME_KA | FRAME_ATOMIC);
    7575                       
    7676                        cpus[i].id = i;
Note: See TracChangeset for help on using the changeset viewer.