Changeset 7f1c620 in mainline for arch/ppc32/include/byteorder.h


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/include/byteorder.h

    r991779c5 r7f1c620  
    4141#define BIG_ENDIAN
    4242
    43 static inline __u64 __u64_le2host(__u64 n)
     43static inline uint64_t uint64_t_le2host(uint64_t n)
    4444{
    45         return __u64_byteorder_swap(n);
     45        return uint64_t_byteorder_swap(n);
    4646}
    4747
    4848
    49 /** Convert little-endian __native to host __native
     49/** Convert little-endian unative_t to host unative_t
    5050 *
    51  * Convert little-endian __native parameter to host endianess.
     51 * Convert little-endian unative_t parameter to host endianess.
    5252 *
    53  * @param n Little-endian __native argument.
     53 * @param n Little-endian unative_t argument.
    5454 *
    5555 * @return Result in host endianess.
    5656 *
    5757 */
    58 static inline __native __native_le2host(__native n)
     58static inline unative_t unative_t_le2host(unative_t n)
    5959{
    60         __address v;
     60        uintptr_t v;
    6161       
    6262        asm volatile (
Note: See TracChangeset for help on using the changeset viewer.