forked from Imagelibrary/rtems
@@ -237,6 +237,7 @@ include_rtems_rtems_HEADERS += include/rtems/rtems/dpmem.h
|
|||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/dpmemdata.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/dpmemdata.h
|
||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/dpmemimpl.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/dpmemimpl.h
|
||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/event.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/event.h
|
||||||
|
include_rtems_rtems_HEADERS += include/rtems/rtems/eventdata.h
|
||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/eventimpl.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/eventimpl.h
|
||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/eventmp.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/eventmp.h
|
||||||
include_rtems_rtems_HEADERS += include/rtems/rtems/intr.h
|
include_rtems_rtems_HEADERS += include/rtems/rtems/intr.h
|
||||||
|
|||||||
@@ -1,20 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @file rtems/rtems/event.h
|
* @file
|
||||||
*
|
*
|
||||||
* @defgroup ClassicEvent Events
|
* @ingroup ClassicEvent
|
||||||
*
|
|
||||||
* @ingroup ClassicRTEMS
|
|
||||||
* @brief Information Related to Event Manager
|
|
||||||
*
|
|
||||||
* This include file contains the information pertaining to the Event
|
|
||||||
* Manager. This manager provides a high performance method of communication
|
|
||||||
* and synchronization.
|
|
||||||
*
|
|
||||||
* Directives provided are:
|
|
||||||
*
|
|
||||||
* - send an event set to a task
|
|
||||||
* - receive event condition
|
|
||||||
*
|
*
|
||||||
|
* @brief Classic Event Manager API
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* COPYRIGHT (c) 1989-2008.
|
/* COPYRIGHT (c) 1989-2008.
|
||||||
@@ -28,9 +17,9 @@
|
|||||||
#ifndef _RTEMS_RTEMS_EVENT_H
|
#ifndef _RTEMS_RTEMS_EVENT_H
|
||||||
#define _RTEMS_RTEMS_EVENT_H
|
#define _RTEMS_RTEMS_EVENT_H
|
||||||
|
|
||||||
|
#include <rtems/rtems/options.h>
|
||||||
#include <rtems/rtems/status.h>
|
#include <rtems/rtems/status.h>
|
||||||
#include <rtems/rtems/types.h>
|
#include <rtems/rtems/types.h>
|
||||||
#include <rtems/rtems/options.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -513,10 +502,6 @@ RTEMS_INLINE_ROUTINE void rtems_event_transient_clear( void )
|
|||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
rtems_event_set pending_events;
|
|
||||||
} Event_Control;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
43
cpukit/include/rtems/rtems/eventdata.h
Normal file
43
cpukit/include/rtems/rtems/eventdata.h
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @ingroup ClassicEventImpl
|
||||||
|
*
|
||||||
|
* @brief Classic Event Manager Data Structures
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* COPYRIGHT (c) 1989-2008.
|
||||||
|
* On-Line Applications Research Corporation (OAR).
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _RTEMS_RTEMS_EVENTDATA_H
|
||||||
|
#define _RTEMS_RTEMS_EVENTDATA_H
|
||||||
|
|
||||||
|
#include <rtems/rtems/event.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @addtogroup ClassicEventImpl
|
||||||
|
*
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
rtems_event_set pending_events;
|
||||||
|
} Event_Control;
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* end of include file */
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* @ingroup ClassicEventImpl
|
* @ingroup ClassicEventImpl
|
||||||
*
|
*
|
||||||
* @brief Classic Event Implementation
|
* @brief Classic Event Manager Implementation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* COPYRIGHT (c) 1989-2008.
|
/* COPYRIGHT (c) 1989-2008.
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
#ifndef _RTEMS_RTEMS_EVENTIMPL_H
|
#ifndef _RTEMS_RTEMS_EVENTIMPL_H
|
||||||
#define _RTEMS_RTEMS_EVENTIMPL_H
|
#define _RTEMS_RTEMS_EVENTIMPL_H
|
||||||
|
|
||||||
#include <rtems/rtems/event.h>
|
#include <rtems/rtems/eventdata.h>
|
||||||
#include <rtems/score/thread.h>
|
#include <rtems/score/thread.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@@ -40,11 +40,11 @@
|
|||||||
#include <rtems/score/object.h>
|
#include <rtems/score/object.h>
|
||||||
#include <rtems/score/scheduler.h>
|
#include <rtems/score/scheduler.h>
|
||||||
#include <rtems/score/thread.h>
|
#include <rtems/score/thread.h>
|
||||||
#include <rtems/rtems/types.h>
|
|
||||||
#include <rtems/rtems/event.h>
|
|
||||||
#include <rtems/rtems/asrdata.h>
|
#include <rtems/rtems/asrdata.h>
|
||||||
#include <rtems/rtems/attr.h>
|
#include <rtems/rtems/attr.h>
|
||||||
|
#include <rtems/rtems/eventdata.h>
|
||||||
#include <rtems/rtems/status.h>
|
#include <rtems/rtems/status.h>
|
||||||
|
#include <rtems/rtems/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Reference in New Issue
Block a user