OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [rtems/] [include/] [rtems/] [rtems/] [options.h] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  options.h
2
 *
3
 *  This include file contains information which defines the
4
 *  options available on many directives.
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13
 *  $Id: options.h,v 1.2 2001-09-27 11:59:18 chris Exp $
14
 */
15
 
16
#ifndef __RTEMS_OPTIONS_h
17
#define __RTEMS_OPTIONS_h
18
 
19
#ifdef __cplusplus
20
extern "C" {
21
#endif
22
 
23
/*
24
 *  The following type defines the control block used to manage
25
 *  option sets.
26
 */
27
 
28
typedef unsigned32 rtems_option;
29
 
30
/*
31
 *  The following constants define the individual options which may
32
 *  be used to compose an option set.
33
 */
34
 
35
#define RTEMS_DEFAULT_OPTIONS   0x00000000
36
 
37
#define RTEMS_WAIT      0x00000000        /* wait on resource */
38
#define RTEMS_NO_WAIT   0x00000001        /* do not wait on resource */
39
 
40
#define RTEMS_EVENT_ALL 0x00000000        /* wait for all events */
41
#define RTEMS_EVENT_ANY 0x00000002        /* wait on any event */
42
 
43
#ifndef __RTEMS_APPLICATION__
44
#include <rtems/rtems/options.inl>
45
#endif
46
 
47
#ifdef __cplusplus
48
}
49
#endif
50
 
51
#endif
52
/* end of include file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.