[intelxl] Add driver for Intel 100 Gigabit Ethernet NICs
[ipxe.git] / src / arch / i386 / include / limits.h
1 #ifndef LIMITS_H
2 #define LIMITS_H 1
3
4 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
5
6 /* Number of bits in a `char' */
7 #define CHAR_BIT 8
8
9 /* Minimum and maximum values a `signed char' can hold */
10 #define SCHAR_MIN (-128)
11 #define SCHAR_MAX 127
12
13 /* Maximum value an `unsigned char' can hold. (Minimum is 0.) */
14 #define UCHAR_MAX 255
15
16 /* Minimum and maximum values a `char' can hold */
17 #define CHAR_MIN SCHAR_MIN
18 #define CHAR_MAX SCHAR_MAX
19
20 /* Minimum and maximum values a `signed short int' can hold */
21 #define SHRT_MIN (-32768)
22 #define SHRT_MAX 32767
23
24 /* Maximum value an `unsigned short' can hold. (Minimum is 0.) */
25 #define USHRT_MAX 65535
26
27
28 /* Minimum and maximum values a `signed int' can hold */
29 #define INT_MIN (-INT_MAX - 1)
30 #define INT_MAX 2147483647
31
32 /* Maximum value an `unsigned int' can hold. (Minimum is 0.) */
33 #define UINT_MAX 4294967295U
34
35
36 /* Minimum and maximum values a `signed int' can hold */
37 #define INT_MAX 2147483647
38 #define INT_MIN (-INT_MAX - 1)
39
40
41 /* Maximum value an `unsigned int' can hold. (Minimum is 0.) */
42 #define UINT_MAX 4294967295U
43
44
45 /* Minimum and maximum values a `signed long' can hold */
46 #define LONG_MAX 2147483647
47 #define LONG_MIN (-LONG_MAX - 1L)
48
49 /* Maximum value an `unsigned long' can hold. (Minimum is 0.) */
50 #define ULONG_MAX 4294967295UL
51
52 /* Minimum and maximum values a `signed long long' can hold */
53 #define LLONG_MAX 9223372036854775807LL
54 #define LLONG_MIN (-LONG_MAX - 1LL)
55
56
57 /* Maximum value an `unsigned long long' can hold. (Minimum is 0.) */
58 #define ULLONG_MAX 18446744073709551615ULL
59
60
61 #endif /* LIMITS_H */