Changeset b3f8fb7 in mainline for kernel/arch/ia64/include/types.h


Ignore:
Timestamp:
2007-01-28T13:25:49Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e8c1a5
Parents:
1ba41c5
Message:

huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/types.h

    r1ba41c5 rb3f8fb7  
    3636#define KERN_ia64_TYPES_H_
    3737
    38 #define NULL    0
     38#define NULL 0
     39#define false 0
     40#define true 1
    3941
    4042typedef signed char int8_t;
    41 typedef signed short int int16_t;
     43typedef signed short int16_t;
    4244typedef signed int int32_t;
    4345typedef signed long int64_t;
     46typedef struct {
     47        int64_t lo;
     48        int64_t hi;
     49} int128_t;
    4450
    4551typedef unsigned char uint8_t;
     
    4753typedef unsigned int uint32_t;
    4854typedef unsigned long uint64_t;
     55typedef struct {
     56        uint64_t lo;
     57        uint64_t hi;
     58} uint128_t;
    4959
    50 typedef unsigned char __r8;                     /* Reserve byte */
    51 typedef unsigned short __r16;
    52 typedef unsigned int __r32;
    53 typedef unsigned long __r64;
    54 typedef struct __r128 {
    55         __r64 lo;
    56         __r64 hi;
    57 } __r128;
     60typedef uint64_t size_t;
     61typedef uint64_t count_t;
     62typedef uint64_t index_t;
    5863
    5964typedef uint64_t uintptr_t;
     
    6570typedef int64_t native_t;
    6671
    67 typedef struct pte pte_t;
     72typedef uint8_t bool;
     73typedef uint64_t task_id_t;
     74typedef uint32_t context_id_t;
     75
     76typedef int32_t inr_t;
     77typedef int32_t devno_t;
    6878
    6979#endif
Note: See TracChangeset for help on using the changeset viewer.