summaryrefslogtreecommitdiff
path: root/cpukit (follow)
AgeCommit message (Collapse)Author
2020-09-23or1k: Do not use printk() for _CPU_Fatal_halt()HEADmasterSebastian Huber
Debug output can be added to user-defined fatal error handlers.
2020-09-23or1k: Remove superfluous includesSebastian Huber
Including <stdio.h> in <rtems/score/cpu.h> breaks libbsd.
2020-09-23libmisc/capture: Add rtems-trace-buffer-default.c to the autotools buildChris Johns
2020-09-23cpukit/rtems: Add taskconstruct.c to the autotools buildChris Johns
2020-09-20capture: Move default trace dataSebastian Huber
Provide the default trace data in a separate file to avoid issues on targets with a small-data area. Close #3883.
2020-09-18score: Document _Scheduler_Try_to_schedule_node()Sebastian Huber
2020-09-18rtems: Generate <rtems.h>Sebastian Huber
Change license to BSD-2-Clause according to file history and documentation re-licensing agreement. Update #3053. Update #3899. Update #3993.
2020-09-18rtems: From <rtems.h> to <rtems/rtems/mp.h>Sebastian Huber
Move multiprocessing related definitions to <rtems/rtems/mp.h>. This makes <rtems.h> an include only header file.
2020-09-18rtems: From <rtems.h> to <rtems/rtems/types.h>Sebastian Huber
Move type related definition to <rtems/rtems/types.h>. The goal is to make <rtems.h> an include only header file.
2020-09-18rtems: From <rtems.h> to <rtems/rtems/tasks.h>Sebastian Huber
Move task related declarations and definitions to <rtems/rtems/tasks.h>. The goal is to make <rtems.h> an include only header file.
2020-09-18rtems: From <rtems.h> to <rtems/rtems/object.h>Sebastian Huber
Move object related declarations and definitions to <rtems/rtems/object.h>. The goal is to make <rtems.h> an include only header file.
2020-09-18rtems: Move from <rtems.h> to <rtems/config.h>Sebastian Huber
Move configuration related declarations and definitions to <rtems/config.h>. The goal is to make <rtems.h> an include only header file.
2020-09-18score: Improve Scheduler Handler documentationSebastian Huber
2020-09-18doxygen: Wrap long linesSebastian Huber
2020-09-17rtems: Fix typoSebastian Huber
Update #3959.
2020-09-17validation: Add general purpose test suiteSebastian Huber
Add a general purpose test suite for validation tests. This is the first test suite generated from a specification item in the rtems-central repository. Update #3959.
2020-09-17doxygen: Move top-level group definitionsSebastian Huber
Update #3959.
2020-09-17rtems: Add rtems_task_construct()Sebastian Huber
In contrast to rtems_task_create() this function constructs a task with a user-provided task storage area. The new directive uses a configuration structure instead of individual parameters. Add RTEMS_TASK_STORAGE_SIZE() to calculate the recommended size of a task storage area based on the task attributes and the size dedicated to the task stack and thread-local storage. This macro may allow future extensions without breaking the API. Add application configuration option CONFIGURE_MINIMUM_TASKS_WITH_USER_PROVIDED_STORAGE to adjust RTEMS Workspace size estimate. Update #3959.
2020-09-17CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber
Add this application configuration option. This configuration option can be used to reserve space for the dynamic linking of modules with thread-local storage objects. Add RTEMS_TASK_STORAGE_ALIGNMENT to define the minium alignment of a thread-local storage size. Update #4074.
2020-09-17rtems: Add RTEMS_ALIGN_UP()Sebastian Huber
Update #3959. Update #4074.
2020-09-17rtems: Add RTEMS_ALIGN_DOWN()Sebastian Huber
Update #3959. Update #4074.
2020-09-17libtest: Fix T_thread_switch_record()Sebastian Huber
If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199.
2020-09-17arm: Fix arm_cp15_set_translation_table_entries()Sebastian Huber
In a multi-processor system we must broadcast the TLB maintenance operation to the Inner Shareable domain to ensure that the other processors update their TLB caches accordingly. Close #4068.
2020-09-12i386/score: fix assembly mnemonicGedare Bloom
Closes #4076.
2020-09-11score: Fix _Thread_Initialize()Sebastian Huber
Fix an error cleanup path in SMP configurations to avoid a NULL pointer access. Update #3959.
2020-08-31score: Add stack free handler to TCBSebastian Huber
This avoids a dependency to the stack free function in the thread destruction. Update #3959.
2020-08-31score: Move _Stack_Allocator_free to separate fileSebastian Huber
This decouples the task stack allocation from the deallocation. Update #3959.
2020-08-31score: Add _Stack_Allocator_do_initialize()Sebastian Huber
Do the stack allocator initialization and sanity check only if a user-provided stack allocator was configured. This avoids a dependency of _Thread_Handler_initialization() on the stack allocator. Update #3959.
2020-08-31score: Use _Freechain_Push()Sebastian Huber
The nodes are never NULL. Update #3959.
2020-08-31score: Add <rtems/score/freechainimpl.h>Sebastian Huber
Hide implementation details. Update #3959.
2020-08-31score: Add _Freechain_Push()Sebastian Huber
Update #3959.
2020-08-31score: Fix debug assertSebastian Huber
Do not access executing->current_state outside the protection of the thread state lock. Add missing state with a comment.
2020-08-31config: Add zero file descriptor data structuresSebastian Huber
Fix linker errors in the minimum test program on some BSPs introduced by ced28f2cfcee6d32ad7bb72e16b235212eb2eaaf.
2020-08-31config: Provide file descriptors only if necessarySebastian Huber
Only provide the file descriptor array if CONFIGURE_MAXIMUM_FILE_DESCRIPTORS > 0. If someone configured CONFIGURE_MAXIMUM_FILE_DESCRIPTORS == 0 and the appplication uses something which requires a file descriptor, then a linker error will show up. An alternative would be to add a zero-length array rtems_libio_iops[ 0 ] to librtemscpu.a which would be used in this case. Conditionally include some header files.
2020-08-31score: Optimize _Objects_Name_to_id_u32()Sebastian Huber
Remove the superfluous invalid name check since the object creation directives ensure that objects with such a name cannot exist. Also finding an object with such a name would be no catastrophy if it really exists.
2020-08-31rtems: Add _RTEMS_Name_to_id()Sebastian Huber
Simplify object name to identifier directives. Using _RTEMS_Name_to_id() to implement the directives enables a tail call optimization. Change license to BSD-2-Clause according to file history. Update #3053.
2020-08-31score: Constify objects name to id functionsSebastian Huber
2020-08-21config: Conditionally include headerSebastian Huber
2020-08-21score: Fix set but not used warningSebastian Huber
2020-08-21confdefs: Fix cyclic dependencySebastian Huber
Close #4061.
2020-08-20sparc: Use RTEMS_XCONCAT()Sebastian Huber
Prefer macros with a proper namespace.
2020-08-20dd(1): Use a local swapbytes() function.eadler
swab(3) has restrict qualifiers for src and dst. Avoid relying on undefined overlapping swab behavior. Obtained From: OpenBSD
2020-08-20Fix -Wchar-subscripts warningsAschref Ben Thabet
The argument to the ctype functions must be an int and the value of the character must be representable as an unsigned char or equal to the value of the macro EOF. If the argument has any other value, the behavior is undefined.
2020-08-19ada: Add missing attributesSebastian Huber
2020-08-19rtems: Use unique option valuesSebastian Huber
The RTEMS_BARRIER_AUTOMATIC_RELEASE and RTEMS_BINARY_SEMAPHORE options had the same value. In order to better detect a misuse of option values (for example using RTEMS_BINARY_SEMAPHORE for rtems_barrier_create()), the options should have unique values. Close #4054.
2020-08-18libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber
Update #3199.
2020-08-18libtest: Use a destructorSebastian Huber
Do not set up a new test steps environment. Update #3199.
2020-08-18libtest: Change T_step() and T_assert_step()Sebastian Huber
Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
2020-08-18libtest: Add fixture stepsSebastian Huber
Support a new test plan for each nested fixture. Update #3199.
2020-08-18libtest: Add T_check_steps()Sebastian Huber
Update #3199.