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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [ecos-2.0/] [packages/] [devs/] [eth/] [powerpc/] [quicc2/] [v2_0/] [src/] [types.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1254 phoenix
//####ECOSGPLCOPYRIGHTBEGIN####
2
// -------------------------------------------
3
// This file is part of eCos, the Embedded Configurable Operating System.
4
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
5
// Copyright (C) 2002 Gary Thomas
6
//
7
// eCos is free software; you can redistribute it and/or modify it under
8
// the terms of the GNU General Public License as published by the Free
9
// Software Foundation; either version 2 or (at your option) any later version.
10
//
11
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
12
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14
// for more details.
15
//
16
// You should have received a copy of the GNU General Public License along
17
// with eCos; if not, write to the Free Software Foundation, Inc.,
18
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19
//
20
// As a special exception, if other files instantiate templates or use macros
21
// or inline functions from this file, or you compile this file and link it
22
// with other works to produce a work based on this file, this file does not
23
// by itself cause the resulting work to be covered by the GNU General Public
24
// License. However the source code for this file must still be made available
25
// in accordance with section (3) of the GNU General Public License.
26
//
27
// This exception does not invalidate any other reasons why a work based on
28
// this file might be covered by the GNU General Public License.
29
//
30
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
31
// at http://sources.redhat.com/ecos/ecos-license/
32
// -------------------------------------------
33
//####ECOSGPLCOPYRIGHTEND####
34
/**********************************************************************
35
 *      Copyright (c) 1999 Delphi Communication Systems
36
 *      Maynard, MA.     ALL RIGHTS RESERVED
37
 ***********************************************************************/
38
/**********************************************************************
39
 * File:
40
 *      $RCSfile: types.h,v $
41
 *      $Revision: 1.1.1.1 $
42
 *      $Date: 2004-02-14 13:33:31 $
43
 *
44
 * Purpose:
45
 *      This file defines basic types used in the ITU-T G.729A Speech
46
 *      codec.  These are defined here so that we may control
47
 *      how many bits of precision a type has on a particular
48
 *      platform.
49
 *
50
 * Operation:
51
 *      We define the following in this file:
52
 *
53
 *      typedef ... INT16
54
 *            This type definition defines the data type used for
55
 *            variables that must hold exactly 16 bits (signed).
56
 *
57
 *      typedef ... INT32
58
 *            This type definition defines the data type used for
59
 *            variables that must hold exactly 32 bits (signed).
60
 *
61
 * Notes/Issues:
62
 *      This file is correct for the following platforms (so far):
63
 *
64
 *            GNUWIN32 compiled with GCC
65
 *
66
 * $Log: not supported by cvs2svn $
67
 * Revision 1.1.1.2  2002/03/14 17:54:24  pfine
68
 * Fixed CR/LF Problem
69
 *
70
 * Revision 1.1.1.1  2002/03/13 18:20:24  pfine
71
 * DCS Ecos with Device Drivers
72
 *
73
 *
74
 ***********************************************************************/
75
#ifndef TYPES_H
76
#define TYPES_H
77
 
78
typedef char            INT8;
79
typedef unsigned char   UINT8;
80
typedef short           INT16;
81
typedef unsigned short  UINT16;
82
typedef long            INT32;
83
typedef unsigned long   UINT32;
84
 
85
typedef volatile char           VINT8;
86
typedef volatile unsigned char  VUINT8;
87
typedef volatile short          VINT16;
88
typedef volatile unsigned short VUINT16;
89
typedef volatile long           VINT32;
90
typedef volatile unsigned long  VUINT32;
91
 
92
typedef char            OCTET;
93
typedef int             INT_NATIVE;
94
typedef unsigned int    UINT_NATIVE;
95
 
96
#endif /* TYPES_H */
97
 
98
 
99
 
100
 

powered by: WebSVN 2.1.0

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