Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/_types.h
Show All 29 Lines | |||||
* From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 | * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 | ||||
* From: @(#)types.h 8.3 (Berkeley) 1/5/94 | * From: @(#)types.h 8.3 (Berkeley) 1/5/94 | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _MACHINE__TYPES_H_ | #ifndef _MACHINE__TYPES_H_ | ||||
#define _MACHINE__TYPES_H_ | #define _MACHINE__TYPES_H_ | ||||
#ifndef _SYS_CDEFS_H_ | #ifndef _SYS__TYPES_H_ | ||||
#error this file needs sys/cdefs.h as a prerequisite | #error do not include this header, use sys/_types.h | ||||
#endif | #endif | ||||
/* | /* | ||||
* Basic types upon which most other types are built. | |||||
*/ | |||||
typedef signed char __int8_t; | |||||
typedef unsigned char __uint8_t; | |||||
typedef short __int16_t; | |||||
typedef unsigned short __uint16_t; | |||||
typedef int __int32_t; | |||||
typedef unsigned int __uint32_t; | |||||
typedef long __int64_t; | |||||
typedef unsigned long __uint64_t; | |||||
/* | |||||
* Standard type definitions. | * Standard type definitions. | ||||
*/ | */ | ||||
typedef __int32_t __clock_t; /* clock()... */ | typedef __int32_t __clock_t; /* clock()... */ | ||||
typedef __int64_t __critical_t; | typedef __int64_t __critical_t; | ||||
#ifndef _STANDALONE | #ifndef _STANDALONE | ||||
typedef double __double_t; | typedef double __double_t; | ||||
typedef float __float_t; | typedef float __float_t; | ||||
#endif | #endif | ||||
typedef __int64_t __intfptr_t; | |||||
typedef __int64_t __intmax_t; | |||||
typedef __int64_t __intptr_t; | |||||
typedef __int32_t __int_fast8_t; | typedef __int32_t __int_fast8_t; | ||||
typedef __int32_t __int_fast16_t; | typedef __int32_t __int_fast16_t; | ||||
typedef __int32_t __int_fast32_t; | typedef __int32_t __int_fast32_t; | ||||
typedef __int64_t __int_fast64_t; | typedef __int64_t __int_fast64_t; | ||||
typedef __int8_t __int_least8_t; | |||||
typedef __int16_t __int_least16_t; | |||||
typedef __int32_t __int_least32_t; | |||||
typedef __int64_t __int_least64_t; | |||||
typedef __int64_t __ptrdiff_t; /* ptr1 - ptr2 */ | |||||
typedef __int64_t __register_t; | typedef __int64_t __register_t; | ||||
typedef __int64_t __segsz_t; /* segment size (in pages) */ | typedef __int64_t __segsz_t; /* segment size (in pages) */ | ||||
typedef __uint64_t __size_t; /* sizeof() */ | |||||
typedef __int64_t __ssize_t; /* byte count or error */ | |||||
typedef __int64_t __time_t; /* time()... */ | typedef __int64_t __time_t; /* time()... */ | ||||
typedef __uint64_t __uintfptr_t; | |||||
typedef __uint64_t __uintmax_t; | |||||
typedef __uint64_t __uintptr_t; | |||||
typedef __uint32_t __uint_fast8_t; | typedef __uint32_t __uint_fast8_t; | ||||
typedef __uint32_t __uint_fast16_t; | typedef __uint32_t __uint_fast16_t; | ||||
typedef __uint32_t __uint_fast32_t; | typedef __uint32_t __uint_fast32_t; | ||||
typedef __uint64_t __uint_fast64_t; | typedef __uint64_t __uint_fast64_t; | ||||
typedef __uint8_t __uint_least8_t; | |||||
typedef __uint16_t __uint_least16_t; | |||||
typedef __uint32_t __uint_least32_t; | |||||
typedef __uint64_t __uint_least64_t; | |||||
typedef __uint64_t __u_register_t; | typedef __uint64_t __u_register_t; | ||||
typedef __uint64_t __vm_offset_t; | |||||
typedef __uint64_t __vm_paddr_t; | typedef __uint64_t __vm_paddr_t; | ||||
typedef __uint64_t __vm_size_t; | |||||
typedef unsigned int ___wchar_t; | typedef unsigned int ___wchar_t; | ||||
#define __WCHAR_MIN 0 /* min value for a wchar_t */ | #define __WCHAR_MIN 0 /* min value for a wchar_t */ | ||||
#define __WCHAR_MAX __UINT_MAX /* max value for a wchar_t */ | #define __WCHAR_MAX __UINT_MAX /* max value for a wchar_t */ | ||||
#endif /* !_MACHINE__TYPES_H_ */ | #endif /* !_MACHINE__TYPES_H_ */ |