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 | |
---|
34 | void _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 | } |
---|