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