2004-05-07 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / vx-share / vxTypes.h
CommitLineData
c906108c
SS
1/* vxTypes.h - VxWorks type definition header */
2
3/* Copyright 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1992 Free Software Foundation, Inc.
4
5 This code was donated by Wind River Systems, Inc. */
6
7/*
8modification history
9--------------------
1001c,05oct90,shl added copyright notice.
11 made #endif ANSI style.
1201b,10aug90,dnw added VOIDFUNCPTR
1301a,29may90,del written.
14*/
15
16#ifndef INCvxTypesh
17#define INCvxTypesh
18
19/* The following stuff must NOT be included if this include file is used
20 * from assembly language. Just #define ASMLANGUAGE before the include,
21 * to get rid of it.
22 */
23
24#ifndef ASMLANGUAGE
25
26/* vxWorks types */
27
28typedef char INT8;
29typedef short INT16;
30typedef int INT32;
31
32typedef unsigned char UINT8;
33typedef unsigned short UINT16;
34typedef unsigned int UINT32;
35
36typedef unsigned char UCHAR;
37typedef unsigned short USHORT;
38typedef unsigned int UINT;
39typedef unsigned long ULONG;
40
41typedef int BOOL;
42typedef int VOID;
43typedef int STATUS;
44typedef int ARGINT;
45
46typedef int (*FUNCPTR) (); /* ptr to function returning int */
47typedef VOID (*VOIDFUNCPTR) (); /* ptr to function returning VOID */
48
49
50/* historical definitions - now obsolete */
51
52typedef char TINY; /* obsolete */
53typedef char TBOOL; /* obsolete */
54typedef unsigned char UTINY; /* obsolete */
55
56
57/* architecture dependent typedefs */
58
59#ifdef CPU_FAMILY
60
61#if CPU_FAMILY==MC680X0
62typedef unsigned short INSTR; /* word-aligned instructions */
63#endif /* CPU_FAMILY==MC680X0 */
64
65#if CPU_FAMILY==SPARC
66typedef unsigned long INSTR; /* 32 bit word-aligned instructions */
67#endif /* CPU_FAMILY==SPARC */
68
69#endif
70
71#endif /* ASMLANGUAGE */
72#endif /* INCvxTypesh */
This page took 0.433469 seconds and 4 git commands to generate.