Changeset 7f1c620 in mainline for arch/amd64/src/ddi/ddi.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/amd64/src/ddi/ddi.c

    r991779c5 r7f1c620  
    5656 * @return 0 on success or an error code from errno.h.
    5757 */
    58 int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size)
     58int ddi_iospace_enable_arch(task_t *task, uintptr_t ioaddr, size_t size)
    5959{
    6060        count_t bits;
     
    6666        if (task->arch.iomap.bits < bits) {
    6767                bitmap_t oldiomap;
    68                 __u8 *newmap;
     68                uint8_t *newmap;
    6969       
    7070                /*
     
    7272                 */
    7373               
    74                 newmap = (__u8 *) malloc(BITS2BYTES(bits), FRAME_ATOMIC);
     74                newmap = (uint8_t *) malloc(BITS2BYTES(bits), FRAME_ATOMIC);
    7575                if (!newmap)
    7676                        return ENOMEM;
Note: See TracChangeset for help on using the changeset viewer.