URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [itron/] [include/] [rtems/] [itron/] [mbox.h] - Rev 173
Compare with Previous | Blame | View Log
/* * COPYRIGHT (c) 1989-1999. * 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.OARcorp.com/rtems/license.html. * * $Id: mbox.h,v 1.2 2001-09-27 11:59:12 chris Exp $ */ #ifndef __RTEMS_ITRON_MBOX_h_ #define __RTEMS_ITRON_MBOX_h_ #ifdef __cplusplus extern "C" { #endif #include <rtems/itron/object.h> #include <rtems/score/coremsg.h> /* * The following defines the control block used to manage each mailbox. */ typedef struct { ITRON_Objects_Control Object; unsigned32 count; boolean do_message_priority; CORE_message_queue_Control message_queue; } 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 ); /* * _ITRON_Mailbox_Translate_core_message_queue_return_code * * DESCRIPTION: * * This routine translates a core message queue object status * into the appropriate ITRON status code. */ ER _ITRON_Mailbox_Translate_core_message_queue_return_code( CORE_message_queue_Status status ); #include <rtems/itron/mbox.inl> #ifdef __cplusplus } #endif #endif /* end of include file */