source: rtems/c/src/exec/rtems/headers/types.h @ 3235ad9

4.104.114.84.95
Last change on this file since 3235ad9 was 3235ad9, checked in by Joel Sherrill <joel.sherrill@…>, on 08/23/95 at 19:30:23

Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*  types.h
2 *
3 *  This include file defines the types used by the RTEMS API.
4 *
5 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
6 *  On-Line Applications Research Corporation (OAR).
7 *  All rights assigned to U.S. Government, 1994.
8 *
9 *  This material may be reproduced by or for the U.S. Government pursuant
10 *  to the copyright license under the clause at DFARS 252.227-7013.  This
11 *  notice must appear in all copies of this file and its derivatives.
12 *
13 *  $Id$
14 */
15
16#ifndef __RTEMS_RTEMS_TYPES_h
17#define __RTEMS_RTEMS_TYPES_h
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#include <rtems/object.h>
24
25/*
26 *  RTEMS basic type definitions
27 */
28
29typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
30typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
31typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
32typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
33
34typedef signed8         rtems_signed8;    /* signed 8-bit value  */
35typedef signed16        rtems_signed16;   /* signed 16-bit value */
36typedef signed32        rtems_signed32;   /* signed 32-bit value */
37typedef signed64        rtems_signed64;   /* signed 64-bit value */
38
39typedef single_precision rtems_single;    /* single precision float */
40typedef double_precision rtems_double;    /* double precision float */
41
42typedef boolean          rtems_boolean;
43
44typedef unsigned32       rtems_name;
45typedef Objects_Id       rtems_id;
46
47typedef Context_Control            rtems_context;
48typedef Context_Control_fp         rtems_context_fp;
49typedef CPU_Interrupt_frame        rtems_interrupt_frame;
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif
56/* end of include file */
Note: See TracBrowser for help on using the repository browser.