1/*- 2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> 3 * Copyright (c) 1990, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * From: @(#)ansi.h 8.2 (Berkeley) 1/4/94 35 * From: @(#)types.h 8.3 (Berkeley) 1/5/94 |
36 * $FreeBSD: head/sys/powerpc/include/_types.h 287015 2015-08-22 07:27:06Z jhibbits $ |
37 */ 38 39#ifndef _MACHINE__TYPES_H_ 40#define _MACHINE__TYPES_H_ 41 42#ifndef _SYS_CDEFS_H_ 43#error this file needs sys/cdefs.h as a prerequisite 44#endif --- 78 unchanged lines hidden (view full) --- 123#ifdef __LP64__ 124typedef __uint64_t __u_register_t; 125typedef __uint64_t __vm_offset_t; 126typedef __uint64_t __vm_paddr_t; 127typedef __uint64_t __vm_size_t; 128#else 129typedef __uint32_t __u_register_t; 130typedef __uint32_t __vm_offset_t; |
131#ifdef BOOKE 132typedef __uint64_t __vm_paddr_t; 133#else |
134typedef __uint32_t __vm_paddr_t; |
135#endif |
136typedef __uint32_t __vm_size_t; 137#endif 138typedef __int64_t __vm_ooffset_t; 139typedef __uint64_t __vm_pindex_t; 140typedef int ___wchar_t; 141 142#define __WCHAR_MIN __INT_MIN /* min value for a wchar_t */ 143#define __WCHAR_MAX __INT_MAX /* max value for a wchar_t */ --- 22 unchanged lines hidden --- |