Changeset 7f1c620 in mainline for arch/ppc32/src/mm/page.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/ppc32/src/mm/page.c

    r991779c5 r7f1c620  
    4646
    4747
    48 __address hw_map(__address physaddr, size_t size)
     48uintptr_t hw_map(uintptr_t physaddr, size_t size)
    4949{
    5050        if (last_frame + ALIGN_UP(size, PAGE_SIZE) > KA2PA(KERNEL_ADDRESS_SPACE_END_ARCH))
    5151                panic("Unable to map physical memory %p (%d bytes)", physaddr, size)
    5252       
    53         __address virtaddr = PA2KA(last_frame);
     53        uintptr_t virtaddr = PA2KA(last_frame);
    5454        pfn_t i;
    5555        for (i = 0; i < ADDR2PFN(ALIGN_UP(size, PAGE_SIZE)); i++)
Note: See TracChangeset for help on using the changeset viewer.