1 | /* |
---|
2 | * ITRON Message Buffer Manager |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.OARcorp.com/rtems/license.html. |
---|
7 | * |
---|
8 | * $Id$ |
---|
9 | */ |
---|
10 | |
---|
11 | #include <itron.h> |
---|
12 | |
---|
13 | #include <rtems/itron/msgbuffer.h> |
---|
14 | #include <rtems/itron/task.h> |
---|
15 | |
---|
16 | /* |
---|
17 | * _ITRON_Message_buffer_Manager_initialization |
---|
18 | * |
---|
19 | * This routine initializes all message buffer manager related data |
---|
20 | * structures. |
---|
21 | * |
---|
22 | * Input parameters: |
---|
23 | * maximum_message_buffers - maximum configured message buffers |
---|
24 | * |
---|
25 | * Output parameters: NONE |
---|
26 | */ |
---|
27 | |
---|
28 | void _ITRON_Message_buffer_Manager_initialization( |
---|
29 | unsigned32 maximum_message_buffers |
---|
30 | ) |
---|
31 | { |
---|
32 | _Objects_Initialize_information( |
---|
33 | &_ITRON_Message_buffer_Information, /* object information table */ |
---|
34 | OBJECTS_ITRON_MESSAGE_BUFFERS, /* object class */ |
---|
35 | FALSE, /* TRUE if this is a |
---|
36 | global object class */ |
---|
37 | maximum_message_buffers, /* maximum objects of this class */ |
---|
38 | sizeof( ITRON_Message_buffer_Control ), /* size of this |
---|
39 | object's control |
---|
40 | block */ |
---|
41 | FALSE, /* TRUE if names for this |
---|
42 | object are strings */ |
---|
43 | RTEMS_MAXIMUM_NAME_LENGTH, /* maximum length of each |
---|
44 | object's name */ |
---|
45 | FALSE /* TRUE if this class is threads */ |
---|
46 | ); |
---|
47 | |
---|
48 | /* |
---|
49 | * Register the MP Process Packet routine. |
---|
50 | * |
---|
51 | * NOTE: No MP Support YET in RTEMS ITRON implementation. |
---|
52 | */ |
---|
53 | } |
---|
54 | |
---|