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