source: rtems/cpukit/itron/src/mbox.c @ 20f78a3

4.104.114.84.95
Last change on this file since 20f78a3 was 20f78a3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/23/04 at 13:13:17

2004-03-23 Ralf Corsepius <ralf_corsepius@…>

  • itron/include/itronsys/mbox.h, itron/include/itronsys/types.h, itron/include/rtems/itron/eventflags.h, itron/include/rtems/itron/fmempool.h, itron/include/rtems/itron/mbox.h, itron/include/rtems/itron/msgbuffer.h, itron/include/rtems/itron/port.h, itron/include/rtems/itron/semaphore.h, itron/include/rtems/itron/task.h, itron/include/rtems/itron/vmempool.h, itron/inline/rtems/itron/semaphore.inl, itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c, itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c, itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c: Convert to using c99 fixed size types.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*
2 *  ITRON 3.0 Mailbox Manager
3 *
4 *  COPYRIGHT (c) 1989-1999.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <itron.h>
19
20#include <rtems/itron/mbox.h>
21#include <rtems/itron/task.h>
22
23/*   
24 *  _ITRON_Mailbox_Manager_initialization
25 * 
26 *  This routine initializes all mailboxes manager related data structures.
27 *
28 *  Input parameters:
29 *    maximum_mailboxes - maximum configured mailboxes
30 *
31 *  Output parameters:  NONE
32 */
33
34void _ITRON_Mailbox_Manager_initialization(
35  uint32_t   maximum_mailboxes
36)
37{
38  _Objects_Initialize_information(
39    &_ITRON_Mailbox_Information, /* object information table */
40    OBJECTS_ITRON_API,           /* object API */
41    OBJECTS_ITRON_MAILBOXES,     /* object class */
42    maximum_mailboxes,           /* maximum objects of this class */
43    sizeof( ITRON_Mailbox_Control ), /* size of this object's control block */
44    FALSE,                       /* TRUE if names for this object are strings */
45    ITRON_MAXIMUM_NAME_LENGTH    /* maximum length of each object's name */
46#if defined(RTEMS_MULTIPROCESSING)
47    ,
48    FALSE,                       /* TRUE if this is a global object class */
49    NULL                         /* Proxy extraction support callout */
50#endif
51  );
52   
53  /*
54   *  Register the MP Process Packet routine.
55   *
56   *  NOTE: No MP Support YET in RTEMS ITRON implementation.
57   */
58 
59}
Note: See TracBrowser for help on using the repository browser.