OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [sapi/] [src/] [rtemsapi.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 158 chris
/*
2
 *  POSIX API Initialization Support
3
 *
4
 *  NOTE:
5
 *
6
 *  COPYRIGHT (c) 1989-1999.
7
 *  On-Line Applications Research Corporation (OAR).
8
 *
9
 *  The license and distribution terms for this file may be
10
 *  found in the file LICENSE in this distribution or at
11
 *  http://www.OARcorp.com/rtems/license.html.
12
 *
13 208 chris
 *  $Id: rtemsapi.c,v 1.2 2001-09-27 11:59:20 chris Exp $
14 158 chris
 */
15
 
16
/*
17
 *  RTEMS_API_INIT is defined so all of the RTEMS API
18
 *  data will be included in this object file.
19
 */
20
 
21
#define RTEMS_API_INIT
22
 
23
#include <rtems/system.h>
24
#include <rtems/rtems/status.h>
25
#include <rtems/rtems/rtemsapi.h>
26
 
27
#include <rtems/rtems/intr.h>
28
#include <rtems/rtems/clock.h>
29
#include <rtems/rtems/tasks.h>
30
#include <rtems/rtems/dpmem.h>
31
#include <rtems/rtems/event.h>
32
#include <rtems/rtems/message.h>
33
#if defined(RTEMS_MULTIPROCESSING)
34
#include <rtems/rtems/mp.h>
35
#endif
36
#include <rtems/rtems/part.h>
37
#include <rtems/rtems/ratemon.h>
38
#include <rtems/rtems/region.h>
39
#include <rtems/rtems/sem.h>
40
#include <rtems/rtems/signal.h>
41
#include <rtems/rtems/timer.h>
42
 
43
/*PAGE
44
 *
45
 *  _RTEMS_API_Initialize
46
 *
47
 *  XXX
48
 */
49
 
50
void _RTEMS_API_Initialize(
51
  rtems_configuration_table *configuration_table
52
)
53
{
54
  rtems_api_configuration_table *api_configuration;
55
 
56
  api_configuration = configuration_table->RTEMS_api_configuration;
57
 
58
  _Attributes_Handler_initialization();
59
 
60
  _Interrupt_Manager_initialization();
61
 
62
#if defined(RTEMS_MULTIPROCESSING)
63
  _Multiprocessing_Manager_initialization();
64
#endif
65
 
66
  _RTEMS_tasks_Manager_initialization(
67
    api_configuration->maximum_tasks,
68
    api_configuration->number_of_initialization_tasks,
69
    api_configuration->User_initialization_tasks_table
70
  );
71
 
72
  _Timer_Manager_initialization( api_configuration->maximum_timers );
73
 
74
  _Signal_Manager_initialization();
75
 
76
  _Event_Manager_initialization();
77
 
78
  _Message_queue_Manager_initialization(
79
    api_configuration->maximum_message_queues
80
  );
81
 
82
  _Semaphore_Manager_initialization( api_configuration->maximum_semaphores );
83
 
84
  _Partition_Manager_initialization( api_configuration->maximum_partitions );
85
 
86
  _Region_Manager_initialization( api_configuration->maximum_regions );
87
 
88
  _Dual_ported_memory_Manager_initialization( api_configuration->maximum_ports);
89
 
90
  _Rate_monotonic_Manager_initialization( api_configuration->maximum_periods );
91
}
92
 
93
/* end of file */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.