Changeset 7f1c620 in mainline for arch/mips32/src/drivers/arc.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
  • arch/mips32/src/drivers/arc.c

    r991779c5 r7f1c620  
    143143                case CmResourceTypePort:
    144144                        printf("Port: %p-size:%d ",
    145                                (__address)configdata->descr[i].u.port.start,
     145                               (uintptr_t)configdata->descr[i].u.port.start,
    146146                               configdata->descr[i].u.port.length);
    147147                        break;
     
    153153                case CmResourceTypeMemory:
    154154                        printf("Memory: %p-size:%d ",
    155                                (__address)configdata->descr[i].u.port.start,
     155                               (uintptr_t)configdata->descr[i].u.port.start,
    156156                               configdata->descr[i].u.port.length);
    157157                        break;
     
    237237static void arc_putchar(char ch)
    238238{
    239         __u32 cnt;
     239        uint32_t cnt;
    240240        ipl_t ipl;
    241241
     
    294294{
    295295        char ch;
    296         __u32 count;
     296        uint32_t count;
    297297        long result;
    298298       
     
    317317{
    318318        char ch;
    319         __u32 count;
     319        uint32_t count;
    320320        long result;
    321321
     
    381381        arc_memdescriptor_t *desc;
    382382        int total = 0;
    383         __address base;
     383        uintptr_t base;
    384384        size_t basesize;
    385385
Note: See TracChangeset for help on using the changeset viewer.