summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Canonicalize @defgroup and @file commentsSebastian Huber2020-12-021-9/+8
| | | | | | | Adjust group identifier and names to be in line with a common pattern. Use common phrases for the group and file brief descriptions. Update #3706.
* doxygen: Rename Internal to ImplementationSebastian Huber2020-11-231-1/+1
| | | | | | Use a top-level implementation group to gather implementation related files. The use of "Impl" is shorter and matches with the *impl.h file names.
* config: Add <rtems/confdefs/wkspace.h>Sebastian Huber2020-02-251-263/+49
| | | | | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Change licence of <rtems/confdefs.h> to BSD-2-Clause according to file history. Update #3053. Close #3875.
* config: Add <rtems/confdefs/objectsposix.h>Sebastian Huber2020-02-251-198/+2
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/wkspacesupport.h>Sebastian Huber2020-02-251-25/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/objectsclassic.h>Sebastian Huber2020-02-251-113/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/threads.h>Sebastian Huber2020-02-251-191/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/unlimited.h>Sebastian Huber2020-02-251-87/+5
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/iodrivers.h>Sebastian Huber2020-02-251-147/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/console.h>Sebastian Huber2020-02-251-24/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/initthread.h>Sebastian Huber2020-02-251-56/+2
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/inittask.h>Sebastian Huber2020-02-251-128/+2
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/extensions.h>Sebastian Huber2020-02-251-103/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/newlib.h>Sebastian Huber2020-02-251-22/+2
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/clock.h>Sebastian Huber2020-02-251-88/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/mcpi.h>Sebastian Huber2020-02-251-115/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/malloc.h>Sebastian Huber2020-02-251-39/+1
| | | | | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Move the default configuration to library files so that application configurations do not include the definitions for the default case. Update #3053. Update #3875.
* config: Add <rtems/confdefs/bdbuf.h>Sebastian Huber2020-02-251-98/+2
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/scheduler.h>Sebastian Huber2020-02-251-452/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/libio.h>Sebastian Huber2020-02-251-448/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/percpu.h>Sebastian Huber2020-02-251-162/+2
| | | | | | | | | Remove comments and copyrightable content from the moved content. Use BSD-2-Clause for new file according to file history of <rtems/confdefs.h>. Update #3053. Update #3875.
* config: Add <rtems/confdefs/bsp.h>Sebastian Huber2020-02-251-13/+1
| | | | | | | | Remove all comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Add <rtems/confdefs/libpci.h>Sebastian Huber2020-02-251-46/+1
| | | | | | Derive copyright and license for new file form the file history. Update #3875.
* config: Add <rtems/confdefs/obsolete.h>Sebastian Huber2020-02-251-166/+1
| | | | | | | | | Unify handling of obsolete configuration options. Remove comments and copyrightable content from the moved content. Use BSD-2-Clause license for new file. Update #3053. Update #3875.
* config: Remove _Configure_Max_Objects()Sebastian Huber2020-02-251-10/+3
| | | | | | | Use rtems_resource_maximum_per_allocation() directly. The use of _Configure_Zero_or_one() was superfluous. Update #3875.
* config: Improve _Configure_From_workspace()Sebastian Huber2020-02-251-1/+1
| | | | | | | | | Commit 4c09f4b3fefc7ba5c5868a97ad00c1ee14a06677 changed the cast from size_t to ssize_t to try to fix an workspace issue on 16-bit architectures. This change was reverted by commit 7ff6115b8b913d848b8fe76daf72ca0b4bbf2548 for the workspace but not _Configure_From_workspace(). Change the cast to uintptr_t to be in line with the Heap Handler.
* config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2020-02-251-19/+0
| | | | | | | | | | The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
* config: CONFIGURE_INIT_TASK_INITIAL_MODESSebastian Huber2020-02-251-1/+1
| | | | | | | | | | Determine the default for CONFIGURE_INIT_TASK_INITIAL_MODES depeding on whether RTEMS_SMP is defined or not. In the tests, use CONFIGURE_INIT_TASK_INITIAL_MODES to explicitly request RTEMS_NO_PREEMPT mode if necessary. Update #3876.
* libio: Add POSIX user environment pointer to TCBSebastian Huber2020-02-251-15/+2
| | | | | | | | | | The IO library used a POSIX key to store an optional POSIX user environment pointer. This pulled in the POSIX keys support in every application configuration. Add a user environment pointer to the thread control block (TCB) instead. Applications which do not need the POSIX user environment will just get an overhead of one pointer per thread. Close #3882.
* config: Add _SMP_Is_enabledSebastian Huber2020-02-251-10/+4
| | | | | | | | | | Move the is SMP enabled configuration constant out of the configuration table. Since this was the last configuration constant in rtems_configuration_table, remove this type. Update #3875.
* config: Add _SMP_Processor_configure_maximumSebastian Huber2020-02-251-5/+7
| | | | | | | Move the processor maximum configuration constant out of the configuration table. Update #3875.
* config: Add _Workspace_Is_unifiedSebastian Huber2020-02-251-5/+4
| | | | | | | | | Move the unified workspace configuration constant out of the configuration table. Provide a default definition of the unified workspace constant. Update #3875.
* config: Add _Workspace_SizeSebastian Huber2020-02-251-1/+2
| | | | | | | Move the workspace size configuration constant out of the configuration table. Update #3875.
* config: Add _Thread_Idle_bodySebastian Huber2020-02-251-3/+4
| | | | | | | | | Move the idle thread body configuration constant out of the configuration table. Provide a default definition of the idle thread body constant. Update #3875.
* config: Add _Thread_Idle_stack_sizeSebastian Huber2020-02-251-1/+4
| | | | | | | | | | Move the idle thread stack size configuration constant out of the configuration table. Add THREAD_IDLE_STACK_SIZE_DEFAULT and use it to provide a default definition of the idle thread stack size constant. Update #3875.
* config: Add _Watchdog_Ticks_per_timesliceSebastian Huber2020-02-251-3/+8
| | | | | | | | | | Move the ticks per timeslice configuration constant out of the configuration table. Add WATCHDOG_TICKS_PER_TIMESLICE_DEFAULT and use it to provide a default definition of the watchdog ticks per timeslice constant. Update #3875.
* config: Add _Watchdog_Microseconds_per_tickSebastian Huber2020-02-251-7/+10
| | | | | | | | | | Move the microseconds per tick configuration constant out of the configuration table. Add WATCHDOG_MICROSECONDS_PER_TICK_DEFAULT and use it to provide a default definition of the watchdog ticks constants. Update #3875.
* config: Remove CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLESebastian Huber2020-02-251-34/+17
| | | | | | | | | | | | | | | | | | | The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE would have required the use of the undocumented CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME and CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE configuration options. Update #3874.
* config: Simplify initialization task configSebastian Huber2020-02-251-48/+11
| | | | | | | | | | With the removal of the CONFIGURE_HAS_OWN_INIT_TASK_TABLE configuration option at most one Classic API user initialization task can be configured. Provide an RTEMS API configuration table for backward compatibility. Update #3873.
* config: Remove CONFIGURE_HAS_OWN_INIT_TASK_TABLESebastian Huber2020-02-251-17/+6
| | | | | | | | | | | | | | | | | | | The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_HAS_OWN_INIT_TASK_TABLE would have required the use of the undocumented CONFIGURE_INIT_TASK_TABLE and CONFIGURE_INIT_TASK_TABLE_SIZE configuration options. Update #3873.
* config: Remove unused declaration and definesSebastian Huber2020-02-171-22/+0
| | | | Update #3875.
* config: Remove unused configuration constantSebastian Huber2020-02-171-1/+0
|
* score: Statically allocate idle/MPCI stacksSebastian Huber2020-02-121-23/+16
| | | | | | | Place idle and MPCI stacks into extra linker sections. This can be optionally used by applications to control the placement of the stacks. Update #3835.
* score: Split stack allocator configurationSebastian Huber2020-02-121-38/+25
| | | | | | This allows the linker garbage collection to perform its work. Update #3835.
* score: Simplify TLS area allocationSebastian Huber2020-02-121-1/+2
| | | | | | Use the stack area to allocate the TLS area. Update #3835.
* score: Simplify FP context allocationSebastian Huber2020-02-121-41/+3
| | | | | | | | | | | Use the stack area to allocate the FP context. This considerably simplifies the application configuration since the task count no longer influences the configured work space size. With this change the stack space size is overestimated since an FP context for each thread is accounted. Memory constraint applications can use the stack size for fine tuning. Update #3835.
* config: Add CONFIGURE_DIRTY_MEMORYSebastian Huber2020-02-061-0/+8
| | | | | | | Replace the BSP_DIRTY_MEMORY BSP option with a CONFIGURE_DIRTY_MEMORY configuration option. Update #3843.
* sysinit: Add RTEMS_SYSINIT_ZERO_MEMORYSebastian Huber2020-02-061-5/+10
| | | | | | | | Use a dedicate system initialization step to zero the memory used for the workspace and C program heap. This avoids dead code in case CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY is not configured.
* config: CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLYSebastian Huber2020-02-061-10/+5
| | | | | | | Canonicalize CONFIGURE_ZERO_WORKSPACE_AUTOMATICALLY and use defined/undefined instead of TRUE/FALSE. Close #3862.
* config: Remove BSP_ZERO_WORKSPACE_AUTOMATICALLYSebastian Huber2020-02-061-7/+1
| | | | Update #3863.