]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/Include/Ipf/machine/int_mwgwtypes.h
SourceLevelDebugPkg: Removing ipf from edk2.
[mirror_edk2.git] / StdLib / Include / Ipf / machine / int_mwgwtypes.h
CommitLineData
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
59typedef CHAR8 int_least8_t;\r
60typedef UINT8 uint_least8_t;\r
61typedef INT16 int_least16_t;\r
62typedef UINT16 uint_least16_t;\r
63typedef INT32 int_least32_t;\r
64typedef UINT32 uint_least32_t;\r
65typedef INT64 int_least64_t;\r
66typedef UINT64 uint_least64_t;\r
67\r
68/* 7.18.1.3 Fastest minimum-width integer types */\r
69typedef INT32 int_fast8_t;\r
70typedef UINT32 uint_fast8_t;\r
71typedef INT32 int_fast16_t;\r
72typedef UINT32 uint_fast16_t;\r
73typedef INT32 int_fast32_t;\r
74typedef UINT32 uint_fast32_t;\r
75typedef INT64 int_fast64_t;\r
76typedef UINT64 uint_fast64_t;\r
77\r
78/* 7.18.1.5 Greatest-width integer types */\r
79\r
80typedef INT64 intmax_t;\r
81typedef UINT64 uintmax_t;\r
82\r
83#endif /* !_IA64_INT_MWGWTYPES_H_ */\r