source: rtems/c/src/exec/score/cpu/unix/unixtypes.h @ 5c491aef

4.104.114.84.95
Last change on this file since 5c491aef was e864cfe, checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/95 at 14:57:16

Added "signed" keyword to typedef of signed RTEMS types

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  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, 1990, 1991, 1992, 1993, 1994.
7 *  On-Line Applications Research Corporation (OAR).
8 *  All rights assigned to U.S. Government, 1994.
9 *
10 *  This material may be reproduced by or for the U.S. Government pursuant
11 *  to the copyright license under the clause at DFARS 252.227-7013.  This
12 *  notice must appear in all copies of this file and its derivatives.
13 *
14 *  $Id$
15 */
16
17#ifndef __UNIX_TYPES_h
18#define __UNIX_TYPES_h
19
20#ifndef ASM
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26/*
27 *  This section defines the basic types for this processor.
28 */
29
30typedef unsigned char  unsigned8;      /* unsigned 8-bit  integer */
31typedef unsigned short unsigned16;     /* unsigned 16-bit integer */
32typedef unsigned int   unsigned32;     /* unsigned 32-bit integer */
33typedef unsigned long long unsigned64; /* unsigned 64-bit integer */
34
35typedef unsigned16     Priority_Bit_map_control;
36
37typedef signed char      signed8;      /* 8-bit  signed integer */
38typedef signed short     signed16;     /* 16-bit signed integer */
39typedef signed int       signed32;     /* 32-bit signed integer */
40typedef signed long long signed64;     /* 64 bit signed integer */
41
42typedef unsigned32 boolean;     /* Boolean value   */
43
44typedef float          single_precision;     /* single precision float */
45typedef double         double_precision;     /* double precision float */
46
47typedef void unix_isr;
48
49typedef unix_isr ( *unix_isr_entry )( void );
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif  /* !ASM */
56
57#endif
58/* end of include file */
Note: See TracBrowser for help on using the repository browser.