79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
ifdef(“type_bit32”,“
typedef unsigned type_bit32 u32;
typedef signed type_bit32 s32;
”,“
typedef ubig u32;
typedef sbig s32;
”)dnl
enum /* max-min values of each type */ {
byte_bits = arch_byte_bits,
u8_min = 0, u8_max = ((u8)-1),
u16_min = 0, u16_max = ((u16)-1),
u32_min = 0, u32_max = ((u32)-1),
|
|
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
ifdef(“type_bit32”,“
typedef unsigned type_bit32 u32;
typedef signed type_bit32 s32;
”,“
typedef ubig u32;
typedef sbig s32;
”)dnl
define(“cat”, “$1$2”)
typedef enum kcendian {
kcendian_high,
kcendian_low,
kcendian_system = cat(kcendian_,prop_endian),
} kcendian;
enum /* max-min values of each type */ {
byte_bits = arch_byte_bits,
u8_min = 0, u8_max = ((u8)-1),
u16_min = 0, u16_max = ((u16)-1),
u32_min = 0, u32_max = ((u32)-1),
|