RTEMS
config.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 
12 /*
13  * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
14  * Copyright (C) 1989, 2008 On-Line Applications Research Corporation (OAR)
15  *
16  * Redistribution and use in source and binary forms, with or without
17  * modification, are permitted provided that the following conditions
18  * are met:
19  * 1. Redistributions of source code must retain the above copyright
20  * notice, this list of conditions and the following disclaimer.
21  * 2. Redistributions in binary form must reproduce the above copyright
22  * notice, this list of conditions and the following disclaimer in the
23  * documentation and/or other materials provided with the distribution.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
29  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35  * POSSIBILITY OF SUCH DAMAGE.
36  */
37 
38 /*
39  * Do not manually edit this file. It is part of the RTEMS quality process
40  * and was automatically generated.
41  *
42  * If you find something that needs to be fixed or worded better please
43  * post a report to an RTEMS mailing list or raise a bug report:
44  *
45  * https://docs.rtems.org/branches/master/user/support/bugs.html
46  *
47  * For information on updating and regenerating please refer to:
48  *
49  * https://docs.rtems.org/branches/master/eng/req/howto.html
50  */
51 
52 /* Generated from spec:/rtems/config/if/header-2 */
53 
54 #ifndef _RTEMS_RTEMS_CONFIG_H
55 #define _RTEMS_RTEMS_CONFIG_H
56 
57 #include <stdbool.h>
58 #include <stdint.h>
59 #include <rtems/rtems/tasks.h>
60 
61 #ifdef __cplusplus
62 extern "C" {
63 #endif
64 
65 /* Generated from spec:/rtems/config/if/api-table */
66 
75 typedef struct {
80  uint32_t maximum_tasks;
81 
87 
92  uint32_t maximum_timers;
93 
99 
105 
111 
116  uint32_t maximum_regions;
117 
122  uint32_t maximum_ports;
123 
128  uint32_t maximum_periods;
129 
135 
141 
148 
149 /* Generated from spec:/rtems/config/if/get-api-configuration */
150 
159 
160 /* Generated from spec:/rtems/config/if/get-maximum-barriers */
161 
169 
170 /* Generated from spec:/rtems/config/if/get-maximum-message-queues */
171 
179 
180 /* Generated from spec:/rtems/config/if/get-maximum-partitions */
181 
189 
190 /* Generated from spec:/rtems/config/if/get-maximum-periods */
191 
199 
200 /* Generated from spec:/rtems/config/if/get-maximum-ports */
201 
209 
210 /* Generated from spec:/rtems/config/if/get-maximum-regions */
211 
219 
220 /* Generated from spec:/rtems/config/if/get-maximum-semaphores */
221 
229 
230 /* Generated from spec:/rtems/config/if/get-maximum-tasks */
231 
239 
240 /* Generated from spec:/rtems/config/if/get-maximum-timers */
241 
249 
250 #ifdef __cplusplus
251 }
252 #endif
253 
254 #endif /* _RTEMS_RTEMS_CONFIG_H */
uint32_t rtems_configuration_get_maximum_partitions(void)
Returns the maximum number of Classic API Partitions which are configured for this application...
uint32_t rtems_configuration_get_maximum_message_queues(void)
Returns the maximum number of Classic API Message Queues which are configured for this application...
uint32_t maximum_regions
This member contains the maximum number of Classic API Regions which are configured for this applicat...
Definition: config.h:116
This structure contains a summary of the Classic API configuration.
Definition: config.h:75
uint32_t maximum_ports
This member contains the maximum number of Classic API Dual Ported Memory Areas which are configured ...
Definition: config.h:122
uint32_t rtems_configuration_get_maximum_ports(void)
Returns the maximum number of Classic API Dual Ported Memory Areas which are configured for this appl...
uint32_t maximum_tasks
This member contains the maximum number of Classic API Tasks which are configured for this applicatio...
Definition: config.h:80
uint32_t rtems_configuration_get_maximum_semaphores(void)
Returns the maximum number of Classic API Semaphores which are configured for this application...
uint32_t maximum_barriers
This member contains the maximum number of Classic API Barriers which are configured for this applica...
Definition: config.h:134
uint32_t rtems_configuration_get_maximum_tasks(void)
Returns the maximum number of Classic API Tasks which are configured for this application.
uint32_t maximum_timers
This member contains the maximum number of Classic API Timers which are configured for this applicati...
Definition: config.h:92
const rtems_api_configuration_table * rtems_configuration_get_rtems_api_configuration(void)
Returns the pointer to the Classic API Configuration Table of this application.
const rtems_initialization_tasks_table * User_initialization_tasks_table
This member contains the pointer to Classic API Initialization Tasks Table of this application...
Definition: config.h:146
uint32_t maximum_periods
This member contains the maximum number of Classic API Rate Monotonic Periods which are configured fo...
Definition: config.h:128
uint32_t rtems_configuration_get_maximum_timers(void)
Returns the maximum number of Classic API Timers which are configured for this application.
uint32_t maximum_semaphores
This member contains the maximum number of Classic API Semaphores which are configured for this appli...
Definition: config.h:98
uint32_t rtems_configuration_get_maximum_periods(void)
Returns the maximum number of Classic API Rate Monotonic Periods which are configured for this applic...
This header file defines the main parts of the Tasks Manager API.
bool notepads_enabled
This member indicates if Classic API Notepads are enabled or disabled for this application.
Definition: config.h:86
uint32_t rtems_configuration_get_maximum_regions(void)
Returns the maximum number of Classic API Regions which are configured for this application.
uint32_t number_of_initialization_tasks
This member contains the number of Classic API Initialization Tasks which are configured for this app...
Definition: config.h:140
uint32_t maximum_partitions
This member contains the maximum number of Classic API Partitions which are configured for this appli...
Definition: config.h:110
uint32_t maximum_message_queues
This member contains the maximum number of Classic API Message Queues which are configured for this a...
Definition: config.h:104
uint32_t rtems_configuration_get_maximum_barriers(void)
Returns the maximum number of Classic API Barriers which are configured for this application.