source: rtems/c/src/exec/rtems/headers/types.h @ 7f6a24ab

4.104.114.84.95
Last change on this file since 7f6a24ab was 7f6a24ab, checked in by Joel Sherrill <joel.sherrill@…>, on 08/28/95 at 15:30:29

Added unused priority ceiling parameter to rtems_semaphore_create.

Rearranged code to created thread handler routines to initialize,
start, restart, and "close/delete" a thread.

Made internal threads their own object class. This now uses the
thread support routines for starting and initializing a thread.

Insured deleted tasks are freed to the Inactive pool associated with the
correct Information block.

Added an RTEMS API specific data area to the thread control block.

Beginnings of removing the word "rtems" from the core.

  • Property mode set to 100644
File size: 1.9 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#include <rtems/priority.h>
25#include <rtems/modes.h>
26
27/*
28 *  RTEMS basic type definitions
29 */
30
31typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
32typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
33typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
34typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
35
36typedef signed8         rtems_signed8;    /* signed 8-bit value  */
37typedef signed16        rtems_signed16;   /* signed 16-bit value */
38typedef signed32        rtems_signed32;   /* signed 32-bit value */
39typedef signed64        rtems_signed64;   /* signed 64-bit value */
40
41typedef single_precision rtems_single;    /* single precision float */
42typedef double_precision rtems_double;    /* double precision float */
43
44typedef boolean          rtems_boolean;
45
46typedef unsigned32       rtems_name;
47typedef Objects_Id       rtems_id;
48
49typedef Context_Control            rtems_context;
50typedef Context_Control_fp         rtems_context_fp;
51typedef CPU_Interrupt_frame        rtems_interrupt_frame;
52
53/*
54 *  Define the type for an RTEMS API task priority.
55 */
56
57typedef Priority_Control rtems_task_priority;
58
59#define RTEMS_NO_PRIORITY  RTEMS_CURRENT_PRIORITY
60/*
61 *  Define the type for an RTEMS API task mode.
62 */
63 
64typedef Modes_Control rtems_mode;
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
71/* end of include file */
Note: See TracBrowser for help on using the repository browser.