RTEMS 6.1-rc7
Loading...
Searching...
No Matches
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 & Co. KG
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 * This file is part of the RTEMS quality process and was automatically
40 * generated. If you find something that needs to be fixed or
41 * worded better please post a report or patch to an RTEMS mailing list
42 * or raise a bug report:
43 *
44 * https://www.rtems.org/bugs.html
45 *
46 * For information on updating and regenerating please refer to the How-To
47 * section in the Software Requirements Engineering chapter of the
48 * RTEMS Software Engineering manual. The manual is provided as a part of
49 * a release. For development sources please refer to the online
50 * documentation at:
51 *
52 * https://docs.rtems.org
53 */
54
55/* Generated from spec:/rtems/config/if/header-2 */
56
57#ifndef _RTEMS_RTEMS_CONFIG_H
58#define _RTEMS_RTEMS_CONFIG_H
59
60#include <stdbool.h>
61#include <stdint.h>
62#include <rtems/rtems/tasks.h>
63
64#ifdef __cplusplus
65extern "C" {
66#endif
67
68/* Generated from spec:/rtems/config/if/api-table */
69
78typedef struct {
85 uint32_t maximum_tasks;
86
92
100
108
116
124
132
140
148
156
164
173
174/* Generated from spec:/rtems/config/if/get-maximum-barriers */
175
200
201/* Generated from spec:/rtems/config/if/get-maximum-message-queues */
202
227
228/* Generated from spec:/rtems/config/if/get-maximum-partitions */
229
254
255/* Generated from spec:/rtems/config/if/get-maximum-periods */
256
281
282/* Generated from spec:/rtems/config/if/get-maximum-ports */
283
308
309/* Generated from spec:/rtems/config/if/get-maximum-regions */
310
335
336/* Generated from spec:/rtems/config/if/get-maximum-semaphores */
337
362
363/* Generated from spec:/rtems/config/if/get-maximum-tasks */
364
389
390/* Generated from spec:/rtems/config/if/get-maximum-timers */
391
416
417/* Generated from spec:/rtems/config/if/get-api-configuration */
418
438
439#ifdef __cplusplus
440}
441#endif
442
443#endif /* _RTEMS_RTEMS_CONFIG_H */
uint32_t rtems_configuration_get_maximum_partitions(void)
Gets the resource number of Partition Manager objects configured for this application.
Definition: getconfigmax.c:87
uint32_t rtems_configuration_get_maximum_regions(void)
Gets the resource number of Region Manager objects configured for this application.
Definition: getconfigmax.c:102
uint32_t rtems_configuration_get_maximum_message_queues(void)
Gets the resource number of Message Manager objects configured for this application.
Definition: getconfigmax.c:82
uint32_t rtems_configuration_get_maximum_barriers(void)
Gets the resource number of Barrier Manager objects configured for this application.
Definition: getconfigmax.c:72
uint32_t rtems_configuration_get_maximum_timers(void)
Gets the resource number of Timer Manager objects configured for this application.
Definition: getconfigmax.c:112
uint32_t rtems_configuration_get_maximum_semaphores(void)
Gets the resource number of Semaphore Manager objects configured for this application.
Definition: getconfigmax.c:107
uint32_t rtems_configuration_get_maximum_periods(void)
Gets the resource number of Rate-Monotonic Manager objects configured for this application.
Definition: getconfigmax.c:92
const rtems_api_configuration_table * rtems_configuration_get_rtems_api_configuration(void)
Gets the Classic API Configuration Table of this application.
Definition: getapiconfig.c:47
uint32_t rtems_configuration_get_maximum_ports(void)
Gets the resource number of Dual-Ported Memory Manager objects configured for this application.
Definition: getconfigmax.c:97
uint32_t rtems_configuration_get_maximum_tasks(void)
Gets the resource number of Task Manager objects configured for this application.
Definition: getconfigmax.c:117
This structure contains a summary of the Classic API configuration.
Definition: config.h:78
uint32_t maximum_semaphores
This member contains the maximum number of Classic API Semaphores configured for this application.
Definition: config.h:107
uint32_t maximum_ports
This member contains the maximum number of Classic API Dual-Ported Memories configured for this appli...
Definition: config.h:139
uint32_t maximum_tasks
This member contains the maximum number of Classic API Tasks configured for this application.
Definition: config.h:85
uint32_t number_of_initialization_tasks
This member contains the number of Classic API Initialization Tasks configured for this application.
Definition: config.h:163
uint32_t maximum_partitions
This member contains the maximum number of Classic API Partitions configured for this application.
Definition: config.h:123
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:171
uint32_t maximum_periods
This member contains the maximum number of Classic API Rate Monotonic Periods configured for this app...
Definition: config.h:147
uint32_t maximum_message_queues
This member contains the maximum number of Classic API Message Queues configured for this application...
Definition: config.h:115
uint32_t maximum_regions
This member contains the maximum number of Classic API Regions configured for this application.
Definition: config.h:131
uint32_t maximum_barriers
This member contains the maximum number of Classic API Barriers configured for this application.
Definition: config.h:155
uint32_t maximum_timers
This member contains the maximum number of Classic API Timers configured for this application.
Definition: config.h:99
bool notepads_enabled
This member is true, if the Classic API Notepads are enabled, otherwise it is false.
Definition: config.h:91
This structure defines the properties of the Classic API user initialization task.
Definition: tasks.h:249
This header file defines the main parts of the Tasks Manager API.