]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /** @file\r |
2 | Minimum and Greatest Width Integer types.\r | |
3 | \r | |
4 | Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r | |
5 | This program and the accompanying materials are licensed and made available under\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
7 | The full text of the license may be found at\r | |
8 | http://opensource.org/licenses/bsd-license.php.\r | |
9 | \r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | Portions Copyright (c) 2001 The NetBSD Foundation, Inc.\r | |
14 | All rights reserved.\r | |
15 | \r | |
16 | This code is derived from software contributed to The NetBSD Foundation\r | |
17 | by Klaus Klein.\r | |
18 | \r | |
19 | Redistribution and use in source and binary forms, with or without\r | |
20 | modification, are permitted provided that the following conditions\r | |
21 | are met:\r | |
22 | 1. Redistributions of source code must retain the above copyright\r | |
23 | notice, this list of conditions and the following disclaimer.\r | |
24 | 2. Redistributions in binary form must reproduce the above copyright\r | |
25 | notice, this list of conditions and the following disclaimer in the\r | |
26 | documentation and/or other materials provided with the distribution.\r | |
27 | 3. All advertising materials mentioning features or use of this software\r | |
28 | must display the following acknowledgement:\r | |
29 | This product includes software developed by the NetBSD\r | |
30 | Foundation, Inc. and its contributors.\r | |
31 | 4. Neither the name of The NetBSD Foundation nor the names of its\r | |
32 | contributors may be used to endorse or promote products derived\r | |
33 | from this software without specific prior written permission.\r | |
34 | \r | |
35 | THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS\r | |
36 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\r | |
37 | TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r | |
38 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS\r | |
39 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\r | |
40 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\r | |
41 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r | |
42 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r | |
43 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r | |
44 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\r | |
45 | POSSIBILITY OF SUCH DAMAGE.\r | |
46 | \r | |
47 | NetBSD: int_mwgwtypes.h,v 1.1 2006/04/07 14:21:18 cherry Exp\r | |
48 | **/\r | |
49 | \r | |
50 | #ifndef _IA64_INT_MWGWTYPES_H_\r | |
51 | #define _IA64_INT_MWGWTYPES_H_\r | |
52 | \r | |
53 | /*\r | |
54 | * 7.18.1 Integer types\r | |
55 | */\r | |
56 | \r | |
57 | /* 7.18.1.2 Minimum-width integer types */\r | |
58 | \r | |
59 | typedef CHAR8 int_least8_t;\r | |
60 | typedef UINT8 uint_least8_t;\r | |
61 | typedef INT16 int_least16_t;\r | |
62 | typedef UINT16 uint_least16_t;\r | |
63 | typedef INT32 int_least32_t;\r | |
64 | typedef UINT32 uint_least32_t;\r | |
65 | typedef INT64 int_least64_t;\r | |
66 | typedef UINT64 uint_least64_t;\r | |
67 | \r | |
68 | /* 7.18.1.3 Fastest minimum-width integer types */\r | |
69 | typedef INT32 int_fast8_t;\r | |
70 | typedef UINT32 uint_fast8_t;\r | |
71 | typedef INT32 int_fast16_t;\r | |
72 | typedef UINT32 uint_fast16_t;\r | |
73 | typedef INT32 int_fast32_t;\r | |
74 | typedef UINT32 uint_fast32_t;\r | |
75 | typedef INT64 int_fast64_t;\r | |
76 | typedef UINT64 uint_fast64_t;\r | |
77 | \r | |
78 | /* 7.18.1.5 Greatest-width integer types */\r | |
79 | \r | |
80 | typedef INT64 intmax_t;\r | |
81 | typedef UINT64 uintmax_t;\r | |
82 | \r | |
83 | #endif /* !_IA64_INT_MWGWTYPES_H_ */\r |