source: rtems/c/src/exec/rtems/include/rtems/rtems/types.h @ b541e1f

4.104.114.84.95
Last change on this file since b541e1f was b541e1f, checked in by Joel Sherrill <joel.sherrill@…>, on 10/18/00 at 14:59:18

2000-10-18 Joel Sherrill <joel@…>

  • src/regiongetinfo.c, include/rtems/rtems/region.h, include/rtems/rtems/types.h, src/Makefile.am: Added region_get_information() and information control block.
  • src/regiongetinfo.c: New file.
  • Property mode set to 100644
File size: 2.7 KB
Line 
1/*  types.h
2 *
3 *  This include file defines the types used by the RTEMS API.
4 *
5 *  COPYRIGHT (c) 1989-1999.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#ifndef __RTEMS_RTEMS_TYPES_h
16#define __RTEMS_RTEMS_TYPES_h
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <rtems/score/heap.h>
23#include <rtems/score/object.h>
24#include <rtems/score/priority.h>
25#include <rtems/score/tod.h>
26#include <rtems/score/watchdog.h>
27#include <rtems/rtems/modes.h>
28#if defined(RTEMS_MULTIPROCESSING)
29#include <rtems/score/mpci.h>
30#include <rtems/score/mppkt.h>
31#endif
32
33/*
34 *  RTEMS basic type definitions
35 */
36
37typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
38typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
39typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
40
41typedef signed8         rtems_signed8;    /* signed 8-bit value  */
42typedef signed16        rtems_signed16;   /* signed 16-bit value */
43typedef signed32        rtems_signed32;   /* signed 32-bit value */
44
45/*
46 * some C++ compilers (eg: HP's) don't do 'long long'
47 */
48#if defined(__GNUC__)
49typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
50typedef signed64        rtems_signed64;   /* signed 64-bit value */
51#endif
52
53typedef single_precision rtems_single;    /* single precision float */
54typedef double_precision rtems_double;    /* double precision float */
55
56typedef boolean          rtems_boolean;
57
58typedef unsigned32       rtems_name;
59typedef Objects_Id       rtems_id;
60
61typedef Context_Control            rtems_context;
62typedef Context_Control_fp         rtems_context_fp;
63typedef CPU_Interrupt_frame        rtems_interrupt_frame;
64
65/*
66 *  Region information block
67 */
68
69typedef Heap_Information_block region_information_block;
70
71/*
72 *  Time related
73 */
74
75typedef Watchdog_Interval rtems_interval;
76typedef TOD_Control       rtems_time_of_day;
77
78/*
79 *  Define the type for an RTEMS API task mode.
80 */
81 
82typedef Modes_Control rtems_mode;
83
84/*
85 *  MPCI related entries
86 */
87
88#if defined(RTEMS_MULTIPROCESSING)
89typedef MP_packet_Classes          rtems_mp_packet_classes;
90typedef MP_packet_Prefix           rtems_packet_prefix;
91
92typedef MPCI_initialization_entry  rtems_mpci_initialization_entry;
93typedef MPCI_get_packet_entry      rtems_mpci_get_packet_entry;
94typedef MPCI_return_packet_entry   rtems_mpci_return_packet_entry;
95typedef MPCI_send_entry            rtems_mpci_send_packet_entry;
96typedef MPCI_receive_entry         rtems_mpci_receive_packet_entry;
97
98typedef MPCI_Entry rtems_mpci_entry;
99
100typedef MPCI_Control rtems_mpci_table;
101#endif
102
103#ifdef __cplusplus
104}
105#endif
106
107#endif
108/* end of include file */
Note: See TracBrowser for help on using the repository browser.