summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* validation: rtems_task_construct() errorsSebastian Huber2020-09-172-0/+2368
| | | | | | | This is the first test case generated from a specification item in the rtems-central repository. Update #3959.
* validation: Add general purpose test suiteSebastian Huber2020-09-178-1/+286
| | | | | | | | | 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.
* doxygen: Move top-level group definitionsSebastian Huber2020-09-172-18/+44
| | | | Update #3959.
* rtems: Add rtems_task_construct()Sebastian Huber2020-09-1711-236/+604
| | | | | | | | | | | | | | | | | 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.
* CONFIGURE_MAXIMUM_THREAD_LOCAL_STORAGE_SIZESebastian Huber2020-09-1713-8/+186
| | | | | | | | | | | 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.
* rtems: Add RTEMS_ALIGN_UP()Sebastian Huber2020-09-171-0/+15
| | | | | Update #3959. Update #4074.
* rtems: Add RTEMS_ALIGN_DOWN()Sebastian Huber2020-09-171-0/+15
| | | | | Update #3959. Update #4074.
* build: Allow test program item UIDs with a "-"Sebastian Huber2020-09-171-2/+4
| | | | Update #3818.
* build: Fix mghttpd01 test excludeSebastian Huber2020-09-173-17/+2
| | | | Update #3818.
* libtest: Fix T_thread_switch_record()Sebastian Huber2020-09-171-0/+1
| | | | | | | If RTEMS_DEBUG is not defined, then we have to explicitly set the node off the chain. Update #3199.
* riscv: Make sifive_test finisher 4 bytesHesham Almatary2020-09-171-1/+1
| | | | | | QEMU is now stricter with MMIO sizes and accesses. uintptr_t on RV64 is 8 bytes and generates an sd instruction that Store/AMO faults because sifive_test MMIO expects 4 bytes accesses.
* build: Fix dependencies for start and asm filesSebastian Huber2020-09-171-7/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a feature to enforce an explicit target file for assembler sources. Add a build start file node list and use it as a test program dependency. The fix for #3846 and #4080 needs to be combined, because the fix for #3846 requires the removal of 'before=["cstlib"]'. This patch fixes two issues: 1. The tracking of start file dependencies. 2. Reflect that executables depend on the start files. We need a start.o file in the right path so that the linker can find is as specified by the linker script, and not for example a start.S.17.o file in some path. This part is addressed by the "explicit_asm_target" feature. This build process extension @after("apply_link") @feature("cprogram", "cxxprogram") def process_start_files(self): if getattr(self, "start_files", False): self.link_task.dep_nodes.extend(self.bld.start_files) addresses 2. Close #3846. Close #4080.
* bsps/arm: Use RTEMS_SECTION()Sebastian Huber2020-09-171-6/+12
|
* arm: Fix arm_cp15_set_translation_table_entries()Sebastian Huber2020-09-172-1/+17
| | | | | | | | 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.
* build: Fix multiple defintion error for i386/pc386Sebastian Huber2020-09-151-4/+9
| | | | | | Make the objcopy an bld.objects() task generator. Close #4079.
* bsp/pc386: Remove support for obsolete BinutilsSebastian Huber2020-09-151-11/+1
| | | | Update #3818.
* build: Fix i386/pc386 link of SMP start fileSebastian Huber2020-09-151-1/+1
| | | | Update #3818.
* build: Add RELOCADDR to i386/pc386 optionsSebastian Huber2020-09-152-0/+29
| | | | Update #3818.
* build: Fix i386/pc386 ABI flagsSebastian Huber2020-09-151-5/+0
| | | | Update #3818.
* build: Fix i386/pc386 with SMP enabledSebastian Huber2020-09-154-1/+68
| | | | Update #3818.
* bsps/riscv: Use far jump to boot_card()Sebastian Huber2020-09-151-1/+1
| | | | | | Use a far jump to avoid errors like this: relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'
* irqs01/smpirqs01: New testsSebastian Huber2020-09-148-0/+568
| | | | Close #4034.
* build: Use Python tarfile instead of paxSebastian Huber2020-09-1412-39/+24
| | | | This patch is for the new build system.
* 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.