OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [vx-share/] [vxTypes.h] - Diff between revs 107 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 107 Rev 1765
/* vxTypes.h - VxWorks type definition header */
/* vxTypes.h - VxWorks type definition header */
 
 
/*  Copyright 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1992 Free Software Foundation, Inc.
/*  Copyright 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1992 Free Software Foundation, Inc.
 
 
    This code was donated by Wind River Systems, Inc. */
    This code was donated by Wind River Systems, Inc. */
 
 
/*
/*
modification history
modification history
--------------------
--------------------
01c,05oct90,shl  added copyright notice.
01c,05oct90,shl  added copyright notice.
                 made #endif ANSI style.
                 made #endif ANSI style.
01b,10aug90,dnw  added VOIDFUNCPTR
01b,10aug90,dnw  added VOIDFUNCPTR
01a,29may90,del  written.
01a,29may90,del  written.
*/
*/
 
 
#ifndef INCvxTypesh
#ifndef INCvxTypesh
#define INCvxTypesh
#define INCvxTypesh
 
 
/* The following stuff must NOT be included if this include file is used
/* The following stuff must NOT be included if this include file is used
 * from assembly language.  Just #define ASMLANGUAGE before the include,
 * from assembly language.  Just #define ASMLANGUAGE before the include,
 * to get rid of it.
 * to get rid of it.
 */
 */
 
 
#ifndef ASMLANGUAGE
#ifndef ASMLANGUAGE
 
 
/* vxWorks types */
/* vxWorks types */
 
 
typedef char            INT8;
typedef char            INT8;
typedef short           INT16;
typedef short           INT16;
typedef int             INT32;
typedef int             INT32;
 
 
typedef unsigned char   UINT8;
typedef unsigned char   UINT8;
typedef unsigned short  UINT16;
typedef unsigned short  UINT16;
typedef unsigned int    UINT32;
typedef unsigned int    UINT32;
 
 
typedef unsigned char   UCHAR;
typedef unsigned char   UCHAR;
typedef unsigned short  USHORT;
typedef unsigned short  USHORT;
typedef unsigned int    UINT;
typedef unsigned int    UINT;
typedef unsigned long   ULONG;
typedef unsigned long   ULONG;
 
 
typedef int             BOOL;
typedef int             BOOL;
typedef int             VOID;
typedef int             VOID;
typedef int             STATUS;
typedef int             STATUS;
typedef int             ARGINT;
typedef int             ARGINT;
 
 
typedef int             (*FUNCPTR) ();      /* ptr to function returning int */
typedef int             (*FUNCPTR) ();      /* ptr to function returning int */
typedef VOID            (*VOIDFUNCPTR) ();  /* ptr to function returning VOID */
typedef VOID            (*VOIDFUNCPTR) ();  /* ptr to function returning VOID */
 
 
 
 
/* historical definitions - now obsolete */
/* historical definitions - now obsolete */
 
 
typedef char            TINY;           /* obsolete */
typedef char            TINY;           /* obsolete */
typedef char            TBOOL;          /* obsolete */
typedef char            TBOOL;          /* obsolete */
typedef unsigned char   UTINY;          /* obsolete */
typedef unsigned char   UTINY;          /* obsolete */
 
 
 
 
/* architecture dependent typedefs */
/* architecture dependent typedefs */
 
 
#ifdef  CPU_FAMILY
#ifdef  CPU_FAMILY
 
 
#if     CPU_FAMILY==MC680X0
#if     CPU_FAMILY==MC680X0
typedef unsigned short INSTR;           /* word-aligned instructions */
typedef unsigned short INSTR;           /* word-aligned instructions */
#endif  /* CPU_FAMILY==MC680X0 */
#endif  /* CPU_FAMILY==MC680X0 */
 
 
#if     CPU_FAMILY==SPARC
#if     CPU_FAMILY==SPARC
typedef unsigned long INSTR;            /* 32 bit word-aligned instructions */
typedef unsigned long INSTR;            /* 32 bit word-aligned instructions */
#endif  /* CPU_FAMILY==SPARC */
#endif  /* CPU_FAMILY==SPARC */
 
 
#endif  
#endif  
 
 
#endif  /* ASMLANGUAGE */
#endif  /* ASMLANGUAGE */
#endif  /* INCvxTypesh */
#endif  /* INCvxTypesh */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.