summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-18unit: Add test for misaligned builtin memcpy()unit-testsSebastian Huber
2020-09-18testsuites: Add testsuite for unit testsSebastian Huber
2020-09-18doxygen: Wrap long linesSebastian Huber
2020-09-17rtems: Fix typoSebastian Huber
Update #3959.
2020-09-17validation: rtems_task_construct() errorsSebastian Huber
This is the first test case generated from a specification item in the rtems-central repository. 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-17build: Allow test program item UIDs with a "-"Sebastian Huber
Update #3818.
2020-09-17build: Fix mghttpd01 test excludeSebastian Huber
Update #3818.
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-17riscv: Make sifive_test finisher 4 bytesHesham Almatary
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.
2020-09-17build: Fix dependencies for start and asm filesSebastian Huber
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.
2020-09-17bsps/arm: Use RTEMS_SECTION()Sebastian Huber
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-15build: Fix multiple defintion error for i386/pc386Sebastian Huber
Make the objcopy an bld.objects() task generator. Close #4079.
2020-09-15bsp/pc386: Remove support for obsolete BinutilsSebastian Huber
Update #3818.
2020-09-15build: Fix i386/pc386 link of SMP start fileSebastian Huber
Update #3818.
2020-09-15build: Add RELOCADDR to i386/pc386 optionsSebastian Huber
Update #3818.
2020-09-15build: Fix i386/pc386 ABI flagsSebastian Huber
Update #3818.
2020-09-15build: Fix i386/pc386 with SMP enabledSebastian Huber
Update #3818.
2020-09-15bsps/riscv: Use far jump to boot_card()Sebastian Huber
Use a far jump to avoid errors like this: relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'
2020-09-14irqs01/smpirqs01: New testsSebastian Huber
Close #4034.
2020-09-14build: Use Python tarfile instead of paxSebastian Huber
This patch is for the new build system.
2020-09-14build: Alternative build system based on wafSebastian Huber
Update #3818.
2020-09-12i386/score: fix assembly mnemonicGedare Bloom
Closes #4076.
2020-09-11Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill
Closes #4040.
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-09-10Remove remaining references to coverhd.hJoel Sherrill
Closes #4040.
2020-09-10spintrcritical08: Increase clock tick intervalSebastian Huber
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.
2020-09-06htif_console_handler is defined in htif.cHesham Almatary
closes #4069.
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-31bsps: Always install IPI in SMP configsSebastian Huber
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.
2020-08-22bsp/xilinx-zynq: Flush TX-Buffer before initializing uartJan Sommer
Closes #4055 Closes #4056
2020-08-21spintrcritical22: Use right thread wait flagsSebastian Huber
2020-08-21spintrcritical16: Use right thread wait flagsSebastian Huber