source: rtems/cpukit/score/cpu/unix/rtems/score/types.h @ 609b924

4.104.114.84.95
Last change on this file since 609b924 was 609b924, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/24/05 at 16:10:39

2005-01-24 Ralf Corsepius <ralf.corsepius@…>

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