1 /* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (c) 1999,2001-2003 Silicon Graphics, Inc. All Rights Reserved. 7 * Copyright 1999 Ralf Baechle (ralf@gnu.org) 8 */ 9 #ifndef _ASM_SN_ARC_TYPES_H 10 #define _ASM_SN_ARC_TYPES_H 11 12 typedef char CHAR; 13 typedef short SHORT; 14 typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__))); 15 typedef long LONG __attribute__ ((__mode__ (__DI__))); 16 typedef unsigned char UCHAR; 17 typedef unsigned short USHORT; 18 typedef unsigned long ULONG __attribute__ ((__mode__ (__DI__))); 19 typedef void VOID; 20 21 /* The pointer types. We're 64-bit and the firmware is also 64-bit, so 22 live is sane ... */ 23 typedef CHAR *_PCHAR; 24 typedef SHORT *_PSHORT; 25 typedef LARGE_INTEGER *_PLARGE_INTEGER; 26 typedef LONG *_PLONG; 27 typedef UCHAR *_PUCHAR; 28 typedef USHORT *_PUSHORT; 29 typedef ULONG *_PULONG; 30 typedef VOID *_PVOID; 31 32 typedef CHAR *PCHAR; 33 typedef SHORT *PSHORT; 34 typedef LARGE_INTEGER *PLARGE_INTEGER; 35 typedef LONG *PLONG; 36 typedef UCHAR *PUCHAR; 37 typedef USHORT *PUSHORT; 38 typedef ULONG *PULONG; 39 typedef VOID *PVOID; 40 41 #endif /* _ASM_SN_ARC_TYPES_H */ 42