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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  eventset.h
2
 *
3
 *  This include file contains the information pertaining to the
4
 *  Event Sets Handler.  This handler provides methods for the manipulation
5
 *  of event sets which will be sent and received by tasks.
6
 *
7
 *  COPYRIGHT (c) 1989-1999.
8
 *  On-Line Applications Research Corporation (OAR).
9
 *
10
 *  The license and distribution terms for this file may be
11
 *  found in the file LICENSE in this distribution or at
12
 *  http://www.OARcorp.com/rtems/license.html.
13
 *
14
 *  $Id: eventset.h,v 1.2 2001-09-27 11:59:18 chris Exp $
15
 */
16
 
17
#ifndef __RTEMS_EVENT_SET_h
18
#define __RTEMS_EVENT_SET_h
19
 
20
#ifdef __cplusplus
21
extern "C" {
22
#endif
23
 
24
/*
25
 *  The following defines the type used to control event sets.
26
 */
27
 
28
typedef unsigned32 rtems_event_set;
29
 
30
/*
31
 *  The following constants define the individual events which may
32
 *  be used to compose an event set.
33
 */
34
 
35
#define RTEMS_PENDING_EVENTS      0           /* receive pending events   */
36
#define RTEMS_ALL_EVENTS  0xFFFFFFFF
37
 
38
#define RTEMS_EVENT_0     0x00000001
39
#define RTEMS_EVENT_1     0x00000002
40
#define RTEMS_EVENT_2     0x00000004
41
#define RTEMS_EVENT_3     0x00000008
42
#define RTEMS_EVENT_4     0x00000010
43
#define RTEMS_EVENT_5     0x00000020
44
#define RTEMS_EVENT_6     0x00000040
45
#define RTEMS_EVENT_7     0x00000080
46
#define RTEMS_EVENT_8     0x00000100
47
#define RTEMS_EVENT_9     0x00000200
48
#define RTEMS_EVENT_10    0x00000400
49
#define RTEMS_EVENT_11    0x00000800
50
#define RTEMS_EVENT_12    0x00001000
51
#define RTEMS_EVENT_13    0x00002000
52
#define RTEMS_EVENT_14    0x00004000
53
#define RTEMS_EVENT_15    0x00008000
54
#define RTEMS_EVENT_16    0x00010000
55
#define RTEMS_EVENT_17    0x00020000
56
#define RTEMS_EVENT_18    0x00040000
57
#define RTEMS_EVENT_19    0x00080000
58
#define RTEMS_EVENT_20    0x00100000
59
#define RTEMS_EVENT_21    0x00200000
60
#define RTEMS_EVENT_22    0x00400000
61
#define RTEMS_EVENT_23    0x00800000
62
#define RTEMS_EVENT_24    0x01000000
63
#define RTEMS_EVENT_25    0x02000000
64
#define RTEMS_EVENT_26    0x04000000
65
#define RTEMS_EVENT_27    0x08000000
66
#define RTEMS_EVENT_28    0x10000000
67
#define RTEMS_EVENT_29    0x20000000
68
#define RTEMS_EVENT_30    0x40000000
69
#define RTEMS_EVENT_31    0x80000000
70
 
71
 
72
/*
73
 *  The following constant is the value of an event set which
74
 *  has no events pending.
75
 */
76
 
77
#define EVENT_SETS_NONE_PENDING 0
78
 
79
#ifndef __RTEMS_APPLICATION__
80
#include <rtems/rtems/eventset.inl>
81
#endif
82
 
83
#ifdef __cplusplus
84
}
85
#endif
86
 
87
#endif
88
/* end of include file */

powered by: WebSVN 2.1.0

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