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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [unix/] [rtems/] [score/] [unixtypes.h] - Blame information for rev 593

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  unixtypes.h
2
 *
3
 *  This include file contains type definitions which are appropriate
4
 *  for a typical modern UNIX box using GNU C for the RTEMS simulator.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: unixtypes.h,v 1.2 2001-09-27 11:59:31 chris Exp $
14
 */
15
 
16
#ifndef __UNIX_TYPES_h
17
#define __UNIX_TYPES_h
18
 
19
#ifndef ASM
20
 
21
#ifdef __cplusplus
22
extern "C" {
23
#endif
24
 
25
/*
26
 * some C++ compilers (eg: HP's) don't do 'signed' or 'volatile'
27
 */
28
#if defined(__cplusplus) && !defined(__GNUC__)
29
#define signed
30
#define volatile
31
#endif
32
 
33
/*
34
 *  This section defines the basic types for this processor.
35
 */
36
 
37
typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
38
typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
39
typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
40
 
41
typedef unsigned16     Priority_Bit_map_control;
42
 
43
typedef signed char      signed8;      /* 8-bit  signed integer */
44
typedef signed short     signed16;     /* 16-bit signed integer */
45
typedef signed int       signed32;     /* 32-bit signed integer */
46
 
47
/*
48
 * some C++ compilers (eg: HP's) don't do 'long long'
49
 */
50
#if defined(__GNUC__)
51
typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
52
typedef signed long long signed64;     /* 64 bit signed integer */
53
#endif
54
 
55
typedef unsigned32 boolean;     /* Boolean value   */
56
 
57
typedef float          single_precision;     /* single precision float */
58
typedef double         double_precision;     /* double precision float */
59
 
60
typedef void unix_isr;
61
 
62
typedef unix_isr ( *unix_isr_entry )( void );
63
 
64
#ifdef __cplusplus
65
}
66
#endif
67
 
68
#endif  /* !ASM */
69
 
70
#endif
71
/* end of include file */

powered by: WebSVN 2.1.0

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