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