summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Fix PER_CPU_DATA_GET_BY_OFFSET()Sebastian Huber2018-09-101-0/+10
| | | | | | | Add uniprocessor version for PER_CPU_DATA_GET_BY_OFFSET(). Fix warnings in uniprocessor configurations. Update #3507.
* score: Add thread pin/unpin supportSebastian Huber2018-09-105-0/+679
| | | | | | | | | Add support to temporarily pin a thread to its current processor. This may be used to access per-processor data structures in critical sections with enabled thread dispatching, e.g. a pinned thread is allowed to block. Update #3508.
* score: Add flexible per-CPU dataSebastian Huber2018-09-107-0/+371
| | | | Update #3507.
* sptests/spconfig01: New testSebastian Huber2018-09-065-0/+150
| | | | Close #3435.
* score: Fix EDF SMP schedulerSebastian Huber2018-09-031-0/+24
| | | | | Fix a special case: block a one-to-one scheduled thread while having a non-empty affine ready queue on the same processor.
* spglobalcon01: LLVM optimization makes variable i always 1Daniel Hellstrom2018-08-241-2/+2
| | | | | Declare i volatile to avoid compiler optimization putting i into data section with initialization value 1.
* psxfile01: floating point context required when calling fprintfDaniel Hellstrom2018-08-241-0/+2
| | | | | This avoids an exception (FP disabled) when RTEMS/Newlib have been built with LLVM/Sparc.
* psx13: floating point context required when calling fprintfDaniel Hellstrom2018-08-241-0/+2
| | | | | This avoids an exception (FP disabled) when RTEMS/Newlib have been built with LLVM/Sparc.
* dl06/dl06-o1.c: Remove set, not used warningJoel Sherrill2018-08-151-1/+4
|
* fsdosfssync01/init.c: Remove unused variableJoel Sherrill2018-08-151-1/+0
|
* libtests/POSIX: Fix warnings and style.Joel Sherrill2018-08-1046-148/+140
|
* CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZESebastian Huber2018-08-081-0/+17
| | | | | | Make CONFIGURE_MINIMUM_POSIX_THREAD_STACK_SIZE configurable by the user. Update #3434.
* tests: Remove CONFIGURE_MAXIMUM_DRIVERSSebastian Huber2018-08-0713-28/+0
| | | | This configuration is superfluous in these tests.
* libblock: Add RTEMS_DEPRECATEDSebastian Huber2018-08-072-4/+5
| | | | Close #3358.
* fileio: Avoid deprecated rtems_disk_obtain()Sebastian Huber2018-08-071-22/+25
| | | | Update #3358.
* tests: Avoid deprecated rtems_disk_io_initialize()Sebastian Huber2018-08-076-26/+0
| | | | Update #3358.
* libtests/block15: Use rtems_blkdev_create()Sebastian Huber2018-08-071-18/+24
| | | | Update #3358.
* libtests/block14: Use rtems_blkdev_create()Sebastian Huber2018-08-071-19/+25
| | | | Update #3358.
* libtests/block13: Use rtems_blkdev_create()Sebastian Huber2018-08-071-19/+25
| | | | Update #3358.
* libtests/block12: Use rtems_blkdev_create()Sebastian Huber2018-08-071-18/+25
| | | | Update #3358.
* libtests/block10: Use rtems_blkdev_create()Sebastian Huber2018-08-071-41/+28
| | | | Update #3358.
* libtests/block09: Use rtems_blkdev_create()Sebastian Huber2018-08-071-40/+25
| | | | Update #3358.
* libtests/block08: Use rtems_blkdev_create()Sebastian Huber2018-08-074-77/+27
| | | | Update #3358.
* libtests/block06: Use rtems_blkdev_create()Sebastian Huber2018-08-072-555/+499
| | | | Update #3358.
* libtests/block05: Avoid uninitialized variableSebastian Huber2018-08-071-1/+1
| | | | Update #3358.
* flashdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-071-8/+1
| | | | Update #3358.
* nvdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-072-59/+3
| | | | Update #3358.
* ramdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-0710-196/+171
| | | | Update #3358.
* libtests: Use CONFIGURE_INIT_TASK_TABLE_SIZESebastian Huber2018-07-307-28/+17
| | | | | | | | Using CONFIGURE_MINIMUM_TASK_STACK_SIZE increases also the interrupt stack size. This is an issue on some BSPs. Use CONFIGURE_INIT_TASK_TABLE_SIZE instead. Update #3433.
* samples/minimum: Use default interrupt stack sizeSebastian Huber2018-07-251-0/+10
| | | | Update #3433.
* score: RTEMS_PREDICT_TRUE(), RTEMS_PREDICT_FALSE()Sebastian Huber2018-07-251-0/+25
| | | | | | | Add RTEMS_PREDICT_TRUE() and RTEMS_PREDICT_FALSE() for static branch prediction hints. Close #3475.
* bsps: bsp_start_on_secondary_processor()Sebastian Huber2018-07-251-2/+4
| | | | | | Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit.
* smptests: Fix format warningsSebastian Huber2018-07-242-14/+36
|
* block05: Remove unused variableSebastian Huber2018-07-241-5/+0
|
* psxthreadname01: Fix out of bounds memory accessSebastian Huber2018-07-241-6/+6
|
* psxtimer02: Fix parameter type castSebastian Huber2018-07-241-1/+1
|
* sptests/sp20: Remove unused variableSebastian Huber2018-07-241-1/+0
|
* samples: Fix warningsSebastian Huber2018-07-242-2/+6
|
* score: Add _CPU_Instruction_illegal()Sebastian Huber2018-07-231-34/+6
| | | | | | | | On some architectures/simulators it is difficult to provoke an exception with misaligned or illegal data loads. Use an illegal instruction instead. Update #3433.
* score: Add _CPU_Instruction_no_operation()Sebastian Huber2018-07-201-5/+2
| | | | | This helps to reduce the use of architecture-specific defines throughout the code base.
* score: Move context validation declarationsSebastian Huber2018-07-201-1/+3
| | | | | | | The context validation support functions _CPU_Context_validate() and _CPU_Context_volatile_clobber() are used only by one test program (spcontext01). Move the function declarations to the CPU port implementation header file.
* score: Fix _Scheduler_EDF_SMP_Set_affinity()Sebastian Huber2018-07-185-0/+172
| | | | | | Commit 8744498752ad4f0eaf9fb5640c6a0e0f2dc92fda broke the _Scheduler_EDF_SMP_Set_affinity() implementation. We must test the overall affinity against the online processors.
* posix: Fix rwlock auto initializationSebastian Huber2018-07-163-0/+49
| | | | Add more test cases.
* linux: Add rbtree_postorder_for_each_entry_safe()Sebastian Huber2018-07-161-0/+22
| | | | Update #3465.
* score: Add postorder tree iteration supportSebastian Huber2018-07-161-0/+182
| | | | Update #3465.
* riscv: Add dummy SMP supportSebastian Huber2018-06-281-1/+2
| | | | Update #3433.
* Rework initialization and interrupt stack supportSebastian Huber2018-06-272-37/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Statically initialize the interrupt stack area (_Configuration_Interrupt_stack_area_begin, _Configuration_Interrupt_stack_area_end, and _Configuration_Interrupt_stack_size) via <rtems/confdefs.h>. Place the interrupt stack area in a special section ".rtemsstack.interrupt". Let BSPs define the optimal placement of this section in their linker command files (e.g. in a fast on-chip memory). This change makes makes the CPU_HAS_SOFTWARE_INTERRUPT_STACK and CPU_HAS_HARDWARE_INTERRUPT_STACK CPU port defines superfluous, since the low level initialization code has all information available via global symbols. This change makes the CPU_ALLOCATE_INTERRUPT_STACK CPU port define superfluous, since the interrupt stacks are allocated by confdefs.h for all architectures. There is no need for BSP-specific linker command file magic (except the section placement), see previous ARM linker command file as a bad example. Remove _CPU_Install_interrupt_stack(). Initialize the hardware interrupt stack in _CPU_Initialize() if necessary (e.g. m68k_install_interrupt_stack()). The optional _CPU_Interrupt_stack_setup() is still useful to customize the registration of the interrupt stack area in the per-CPU information. The initialization stack can reuse the interrupt stack, since * interrupts are disabled during the sequential system initialization, and * the boot_card() function does not return. This stack resuse saves memory. Changes per architecture: arm: * Mostly replace the linker symbol based configuration of stacks with the standard <rtems/confdefs.h> configuration via CONFIGURE_INTERRUPT_STACK_SIZE. The size of the FIQ, ABT and UND mode stack is still defined via linker symbols. These modes are rarely used in applications and the default values provided by the BSP should be sufficient in most cases. * Remove the bsp_processor_count linker symbol hack used for the SMP support. This is possible since the interrupt stack area is now allocated by the linker and not allocated from the heap. This makes some configure.ac stuff obsolete. Remove the now superfluous BSP variants altcycv_devkit_smp and realview_pbx_a9_qemu_smp. bfin: * Remove unused magic linker command file allocation of initialization stack. Maybe a previous linker command file copy and paste problem? In the start.S the initialization stack is set to a hard coded value. lm32, m32c, mips, nios2, riscv, sh, v850: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. m68k: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. powerpc: * Remove magic linker command file allocation of initialization stack. Reuse interrupt stack for initialization stack. * Used dedicated memory region (REGION_RTEMSSTACK) for the interrupt stack on BSPs using the shared linkcmds.base (replacement for REGION_RWEXTRA). sparc: * Remove the hard coded initialization stack. Use the interrupt stack for the initialization stack on the boot processor. This saves 16KiB of RAM. Update #3459.
* spmisc01: Add test cases for basedefs.h stuffSebastian Huber2018-06-212-0/+225
|
* score: Macros to declare and define global symbolsSebastian Huber2018-06-215-0/+74
| | | | | | Add RTEMS_DEFINE_GLOBAL_SYMBOL() and add RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3459.
* Add RTEMS_SYSINIT_CPU_COUNTERSebastian Huber2018-06-151-1/+17
| | | | | | Add initialization step for the CPU counter support. Update #3456.