summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: Alternative build system based on wafSebastian Huber2020-09-142071-2/+65911
| | | | Update #3818.
* i386/score: fix assembly mnemonicGedare Bloom2020-09-121-1/+1
| | | | Closes #4076.
* Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill2020-09-1119-4646/+2
| | | | Closes #4040.
* score: Fix _Thread_Initialize()Sebastian Huber2020-09-111-5/+6
| | | | | | Fix an error cleanup path in SMP configurations to avoid a NULL pointer access. Update #3959.
* Remove remaining references to coverhd.hJoel Sherrill2020-09-102-2/+0
| | | | Closes #4040.
* spintrcritical08: Increase clock tick intervalSebastian Huber2020-09-101-1/+1
| | | | | On some simulators, a clock tick interval of 1ms seems to be too short. For example, the test failed on sparc/erc32 using the SIS.
* htif_console_handler is defined in htif.cHesham Almatary2020-09-061-1/+1
| | | | closes #4069.
* score: Add stack free handler to TCBSebastian Huber2020-08-319-24/+78
| | | | | | | This avoids a dependency to the stack free function in the thread destruction. Update #3959.
* score: Move _Stack_Allocator_free to separate fileSebastian Huber2020-08-313-2/+36
| | | | | | This decouples the task stack allocation from the deallocation. Update #3959.
* score: Add _Stack_Allocator_do_initialize()Sebastian Huber2020-08-317-21/+78
| | | | | | | | 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.
* score: Use _Freechain_Push()Sebastian Huber2020-08-312-2/+2
| | | | | | The nodes are never NULL. Update #3959.
* score: Add <rtems/score/freechainimpl.h>Sebastian Huber2020-08-3110-126/+170
| | | | | | Hide implementation details. Update #3959.
* score: Add _Freechain_Push()Sebastian Huber2020-08-312-4/+18
| | | | Update #3959.
* score: Fix debug assertSebastian Huber2020-08-311-4/+12
| | | | | Do not access executing->current_state outside the protection of the thread state lock. Add missing state with a comment.
* config: Add zero file descriptor data structuresSebastian Huber2020-08-312-0/+47
| | | | | Fix linker errors in the minimum test program on some BSPs introduced by ced28f2cfcee6d32ad7bb72e16b235212eb2eaaf.
* config: Provide file descriptors only if necessarySebastian Huber2020-08-311-9/+15
| | | | | | | | | | | | 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.
* score: Optimize _Objects_Name_to_id_u32()Sebastian Huber2020-08-312-3/+2
| | | | | | | 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.
* rtems: Add _RTEMS_Name_to_id()Sebastian Huber2020-08-3117-230/+480
| | | | | | | | | | 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.
* score: Constify objects name to id functionsSebastian Huber2020-08-314-17/+17
|
* bsps: Always install IPI in SMP configsSebastian Huber2020-08-314-42/+29
| | | | | | | The inter-processor interrupt (IPI) may be used to process per-CPU jobs. See for example the blocked handler in T_interrupt_test(). Update #3199.
* bsp/xilinx-zynq: Flush TX-Buffer before initializing uartJan Sommer2020-08-221-0/+2
| | | | | Closes #4055 Closes #4056
* spintrcritical22: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* spintrcritical16: Use right thread wait flagsSebastian Huber2020-08-211-1/+1
|
* config: Conditionally include headerSebastian Huber2020-08-211-1/+4
|
* mp03: Include missing header fileSebastian Huber2020-08-211-0/+2
|
* score: Fix set but not used warningSebastian Huber2020-08-211-1/+1
|
* confdefs: Fix cyclic dependencySebastian Huber2020-08-212-12/+8
| | | | Close #4061.
* sparc: Use RTEMS_XCONCAT()Sebastian Huber2020-08-201-4/+2
| | | | Prefer macros with a proper namespace.
* bsps/leon3: Remove superfluous includesSebastian Huber2020-08-202-8/+2
|
* bsps/arm: Use _Assert()Sebastian Huber2020-08-201-3/+2
|
* dd(1): Use a local swapbytes() function.eadler2020-08-201-1/+16
| | | | | | | swab(3) has restrict qualifiers for src and dst. Avoid relying on undefined overlapping swab behavior. Obtained From: OpenBSD
* spintrcritical23: Fix unused variable warningsSebastian Huber2020-08-201-2/+2
|
* sp37: Fix unused variable warningsSebastian Huber2020-08-201-0/+2
|
* psxkey01: Fix configurationAschref Ben Thabet2020-08-201-1/+1
| | | | | | | Key_ID array must have the right size, it shall have a value greater than zero. Note: In Standard C and C++, zero-size array is not allowed..
* Fix -Wchar-subscripts warningsAschref Ben Thabet2020-08-202-6/+6
| | | | | | | 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.
* ada: Add missing attributesSebastian Huber2020-08-191-0/+9
|
* rtems: Use unique option valuesSebastian Huber2020-08-191-1/+1
| | | | | | | | | 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.
* libtest: Add T_push_plan() and T_pop_plan()Sebastian Huber2020-08-184-2/+44
| | | | Update #3199.
* libtest: Use a destructorSebastian Huber2020-08-181-10/+5
| | | | | | Do not set up a new test steps environment. Update #3199.
* libtest: Change T_step() and T_assert_step()Sebastian Huber2020-08-185-18/+34
| | | | | | | | | | | 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.
* libtest: Add fixture stepsSebastian Huber2020-08-185-49/+80
| | | | | | Support a new test plan for each nested fixture. Update #3199.
* libtest: Add T_check_steps()Sebastian Huber2020-08-181-18/+13
| | | | Update #3199.
* libtest: Use line buffer in T_check()Sebastian Huber2020-08-181-31/+86
| | | | Update #3199.
* libtest: Add T_puts()Sebastian Huber2020-08-182-0/+26
| | | | Update #3199.
* libtest: Add T_do_is_runner()Sebastian Huber2020-08-181-30/+34
| | | | Update #3199.
* libtest: Add output buffer drain and fillSebastian Huber2020-08-181-25/+35
| | | | Update #3199.
* libtest: Change fixture scope methodSebastian Huber2020-08-183-67/+86
| | | | | | | Return the produced character count. There is no need for a NUL termination. Update #3199.
* rtems/printer.h Fix build warnings -Wclass-memaccessAschref Ben Thabet2020-08-171-1/+5
|
* powerpc/io: The eieio() function clashes with FreeBSD. Change.Chris Johns2020-08-121-4/+4
|
* posix: Only check shm_unlink obj_err if necessaryKinsey Moore2020-08-111-22/+23
| | | | | | | | | | In the nominal case checked by spsysinit01, obj_err is unmodified if _POSIX_Shm_Get_by_name returns non-NULL. In the case of shm_unlink, this means an uninitialized value is passed into the switch and it appears tests using it were passing by virtue of the stack having the right value on it in most cases. This now checks obj_err only if _POSIX_Shm_Get_by_name returns NULL. Close #4016