summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-10Doxyfile: Change version to 6.0.0Sebastian Huber
Update #4020.
2020-08-08shell: Only clear std handles when the shell task exitsChris Johns
Clearing the std file handles when the main loop exited crashes telnetd as it reuses its session threads.
2020-08-07libtest: Improve T_check_task_contextSebastian Huber
Update #3199.
2020-08-07Document application configuration optionsSebastian Huber
Add a new directory for Doxygen-specific documentation content. Add a Doxygen only header file containing documentation of the application configuration options. The header file is generated from specification items. Close #3994.
2020-08-06Remove accidentally committed fileSebastian Huber
2020-08-06libtest: Fix T_interrupt_test() in SMP configsSebastian Huber
Update #3199.
2020-08-05psxhdrs/strncpy/stpncpy: Fix string turncation warningAschref Ben Thabet
Since we need to test the strncpy function, using a character array with a fixed array size in this case in place of character pointer can avoid the string turncation warning.
2020-08-05dev/sc16is752: Fix declarationSebastian Huber
2020-08-05arm/atsam: Make interrupt server configurableSebastian Huber
The external UART over SPI device SC16IS752 uses the interrupt server for interrupt processing. The interrupt server is also heavily used by libbsd. The interrupt processing for the SC16IS752 is time critical and doesn't work if network traffic is processed at the same priority. With #4033 custom interrupt servers are available. Change atsam_sc16is752_spi_create() to support user-defined interrupt servers. Introduced atsam_sc16is752_spi_config to cut down the argument count of this function. Close #4039.
2020-08-04smpschededf02: Document reset() functionSebastian Huber
2020-08-04termios: Make rtems_termios_ttyMutex privateSebastian Huber
This mutex is used to maintain termios internal data structures.
2020-08-04score: Use flexible-array member for C99 and laterSebastian Huber
This addresses compiler warnings like this: warning: array subscript 0 is outside the bounds of an interior zero-length array 'abc[0]' [-Wzero-length-bounds]
2020-08-04dosfs: Fix memory leak on failed mounts.Christian Mauderer
Currently if mount fails, a converter isn't destroyed. We have to take care of two cases: 1. The user doesn't provide a converter. In this case mounting a dosfs creates a default converter. This patch makes sure that the converter is destroyed again if mount failes for this case. 2. The user provides a converter. In this case it's not sure that the dosfs specific routines are reached because mount can fail before that. Therefore the user has to destroy the converter himself again. This patch adds a documentation for that and implements it in the media server. Closes #4042.
2020-08-03bsps/beagle: Remove some debug output from I2C.Christian Mauderer
2020-08-03dev/spi-memdrv: Fix use of uninit mem_param_ptrSebastian Huber
2020-08-03rtems: Add rtems_interrupt_server_create()Sebastian Huber
Add rtems_interrupt_server_destroy(). Before this patch, the only way to create interrupt servers was rtems_interrupt_server_initialize(). This function creates the default interrupt server and in SMP configurations additional interrupt servers for the additional processors. The interrupt server is heavily used by libbsd. This includes the epoch based reclamation which performs time consuming resource and memory deallocation work. This does not work well with time critical services, for example an UART over SPI or I2C. One approach to address this problem is to allow the application to create custom interrupt servers with the right priority and task properties. The interrupt server API accounted for this, however, it was not implemented before this patch. Close #4034.
2020-07-31bsps/fdt: Make sure data is cache alignedChristian Mauderer
The cache of the fdt blob is flushed after copy. Therefore it should be aligned.
2020-07-31bsp/imx: Use GPIOs for SPI CSChristian Mauderer
The chip select lines of the iMX SPI module doesn't work well for a generic API like the one RTEMS uses. The existing solution only worked in some special cases and had odd bugs when trying transfers of different sizes (like deselecting between each byte for lengths that are not dividable by 4). With this patch the same approach like on FreeBSD or Linux is used: Treat the CS lines as GPIOs. Update 3869
2020-07-31bsp/imx: Add a GPIO driverChristian Mauderer
Update 3869
2020-07-31bsps/lm32: Use shared <bsp/irq.h>Sebastian Huber
Having a duplicate header with the shared includes is a build system inconsistency. You may use one header file to build the libraries and another one is installed (overwriting the other). Update #3269.
2020-07-30psxhdrs/strncat: Fix string truncation warningAschref Ben Thabet
2020-07-29i386: Fix possible race condition on first context restoreJan Sommer
Make sure that the esp is restored before the eflags register. When the init task is initially restored, system interrupts are activated when the eflags register is loaded. If the esp register still points to an address in the interrupt stack area (from early system initlization) the ISR might overwrite its own stack. Closes #4031
2020-07-24spmisc01: Include missing header fileSebastian Huber
Update #4032.
2020-07-24malloc: Make deferred free support optionalSebastian Huber
Only include the deferred free support if free() is actually used by the application. The free() implementation in RTEMS supports that allocated memory is freed in interrupt context. Since the heap is protected by a mutex, the frees issued in interrupt context cannot immediately be freed to the heap, instead they are placed on a deferred free list. This list is emptied by the core allocation function rtems_heap_allocate_aligned_with_boundary(). This adds a dependency to free() in rtems_heap_allocate_aligned_with_boundary(). In order to better support applications which only allocate memory and never free it, this dependency should be avoided. Provide a weak default implementation of _Malloc_Process_deferred_frees() for rtems_heap_allocate_aligned_with_boundary(). In the free() module provide the strong implementation. Close #4032.
2020-07-24score: Add RTEMS_WEAKSebastian Huber
Update #4032.
2020-07-23spintrcritical_support: RemoveSebastian Huber
This test support was replaced by T_interrupt_test() is no longer used.
2020-07-23spintrcritical24: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical23: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical22: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical21: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical20: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical18: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical16: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical15: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical13/14: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical11/12: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical10: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical09: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical08: Use T_interrupt_test()Sebastian Huber
2020-07-23spintrcritical06/spintrcritical07: Remove testsSebastian Huber
These two tests check conditions which no longer exist in the thread queue implementation. The are obsolete since the change to use red-black trees for the priority queues.
2020-07-23spintrcritical01/2/3/4/5: Use T_interrupt_test()Sebastian Huber
2020-07-23psxintrcritical01: Use T_interrupt_test()Sebastian Huber
2020-07-23libtest: Add T_interrupt_test()Sebastian Huber
Update #3199.
2020-07-23libtest: Add rtems_test_run()Sebastian Huber
Update #3199.
2020-07-23libtest: Add quiet assert NULL pointer checksSebastian Huber
Update #3199.
2020-07-23libtest: Add T_unreachable()Sebastian Huber
Update #3199.
2020-07-23libtest: Make check message optionalSebastian Huber
This macro magic is in line with C11 and C++11, but limits the maximum count of arguments. Update #3199.
2020-07-23libtest: Add T_CHECK_FMTSebastian Huber
Rename internal function T_check_true() to T_check() and use the new flag T_CHECK_FMT to indicate if a format string is present. This is a preparation step to make the format string optional. Make the check context the first parameter. The API remains the same. Update #3199.
2020-07-23libtest: Add T_stop()Sebastian Huber
Update #3199.
2020-07-23libtest: Split POSIX Keys supportSebastian Huber
Update #3199.