diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-09 22:07:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-09 22:07:23 +0000 |
commit | 352c9b2035e32e56f10f261d94955d97f4ab0f1c (patch) | |
tree | f433e95ae0ab8d8854ea19b7f4bfab3ffb431726 /c/src/exec/itron/include/rtems/itron/mbox.h | |
parent | Fixed warning where initialized default POSIX API structure did (diff) | |
download | rtems-352c9b2035e32e56f10f261d94955d97f4ab0f1c.tar.bz2 |
This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/itron/include/rtems/itron/mbox.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/c/src/exec/itron/include/rtems/itron/mbox.h b/c/src/exec/itron/include/rtems/itron/mbox.h new file mode 100644 index 0000000000..5ce4180643 --- /dev/null +++ b/c/src/exec/itron/include/rtems/itron/mbox.h @@ -0,0 +1,58 @@ +/* + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#ifndef __RTEMS_ITRON_MBOX_h_ +#define __RTEMS_ITRON_MBOX_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include <rtems/itron/object.h> + +/* + * The following defines the control block used to manage each mailbox. + */ + +typedef struct { + ITRON_Objects_Control Object; + unsigned32 XXX_more_stuff_goes_here; +} ITRON_Mailbox_Control; + +/* + * The following defines the information control block used to manage + * this class of objects. + */ + +ITRON_EXTERN Objects_Information _ITRON_Mailbox_Information; + +/* + * _ITRON_Mailbox_Manager_initialization + * + * DESCRIPTION: + * + * This routine performs the initialization necessary for this manager. + */ + +void _ITRON_Mailbox_Manager_initialization( + unsigned32 maximum_mailboxes +); + +/* + * XXX insert private stuff here + */ + +#include <rtems/itron/mbox.inl> + +#ifdef __cplusplus +} +#endif + +#endif +/* end of include file */ + |