summaryrefslogtreecommitdiffstats
path: root/testsuites (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-28riscv: Add dummy SMP supportSebastian Huber1-1/+2
Update #3433.
2018-06-27Rework initialization and interrupt stack supportSebastian Huber2-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.
2018-06-21spmisc01: Add test cases for basedefs.h stuffSebastian Huber2-0/+225
2018-06-21score: Macros to declare and define global symbolsSebastian Huber5-0/+74
Add RTEMS_DEFINE_GLOBAL_SYMBOL() and add RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3459.
2018-06-15Add RTEMS_SYSINIT_CPU_COUNTERSebastian Huber1-1/+17
Add initialization step for the CPU counter support. Update #3456.
2018-06-15tools: Remove packhexSebastian Huber1-4/+0
All tools should be removed from the RTEMS source repository at some point in time. Tools with a BSD-style license will be moved to the RTEMS tools repository. Unfortunately, this tool has no license information. Remove all uses of this tool from the code base. Users of HEX files should consider to use ELF instead. Close #3379.
2018-06-14tools: Remove rtems-bin2cSebastian Huber2-2/+2
This tool is now included in the RTEMS tools repository. Close #3380.
2018-06-05Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREESebastian Huber8-10/+78
An invalid heap usage such as a double free is usually a fatal error since this indicates a use after free. Replace the use of printk() in free() with a fatal error. Update #3437.
2018-06-05Update rtems_fatal_source_text()Sebastian Huber2-2/+3
Add RTEMS_FATAL_SOURCE_PANIC to rtems_fatal_source_text(). Update #3244.
2018-06-04capture: Use unlimited objectsSebastian Huber1-3/+2
Avoid resource allocation problems with unlimited objects.
2018-05-30Fix and extend error message in posix timer testMartin Erik Werner1-2/+12
_Timespec_Equal_to() does not set errno, hence avoid using perror(), instead use fprintf() to stderr, and extend the error message to provide information about what the error is (measured timer value after re-arming is not equal to the configured interval), and how large of a difference was measured. Signed-off-by: Martin Erik Werner <martin.werner@aacmicrotec.com>
2018-05-28sptests: Remove CONFIGURE_MILLISECONDS_PER_TICKSebastian Huber2-4/+0
This configuration define is not supported.
2018-05-21dltests-broken-on-this-bsp.tcfg: Add dl06Joel Sherrill1-0/+1
2018-05-18libtests/block05: Use rtems_blkdev_create()Sebastian Huber1-22/+25
Update #3358.
2018-05-18libblock: Init deps in rtems_blkdev_create()Sebastian Huber1-2/+8
Update #3358.
2018-05-14spcpucounter01: Enable floating-point outputSebastian Huber1-0/+1
2018-05-02ftpfs: Always build FTP clientSebastian Huber1-1/+1
Move FTP client filesystem to separate library libftpfs.a. Update #3419.
2018-05-02libdebugger: Move to separate librarySebastian Huber1-0/+1
Always build remote TCP support since it depends only on the POSIX socket API. It works with the legacy network stack and libbsd. Move it to a separate libdebugger.a library to allow an easy use with libbsd via "-ldebugger -lbsd" otherwise we would have a cyclic dependency between libbsd.a and librtemscpu.a. Update #3419.
2018-05-02tests: Move rtems-test-check.pySebastian Huber2-1/+161
Remove shell script variant.
2018-05-02tests: Remove difftest and sorttimes toolsSebastian Huber6-358/+0
Close #3418.
2018-05-02tests: Remove configure feature checksSebastian Huber23-334/+11
Update #3409.
2018-04-30Drop executable permissions on .[ch] filesJoel Sherrill1-0/+0
2018-04-27smptests/smpschededf02: Add test caseSebastian Huber1-3/+8
2018-04-23bsps: Move make/custom/* files to bspsSebastian Huber1-1/+1
Adjust various build files. Remove automatic generation of the c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-23smptests/smpschedaffinity02: Fix configurationSebastian Huber1-0/+2
2018-04-22sptests/sp36: Remove obsolete test programSebastian Huber5-212/+0
It tests the (never really working) strict order mutex option. That option does not exist any more. Mutexes by other good means (spmutex01, spsem*). Update #3406.
2018-04-20build: Remove subdir-objects from Ada testsSebastian Huber1-1/+1
Somehow it does not work. With this Automake option you get: gmake[6]: Entering directory '/build/sparc-rtems5/c/erc32/testsuites/ada/sptests' Making all-am in sp01 gmake[7]: Entering directory '/build/sparc-rtems5/c/erc32/testsuites/ada/sptests/sp01' gmake[7]: *** No rule to make target 'init.o', needed by 'ada_sp01.exe'. Stop. Update #3387.
2018-04-20bsps: Move startup files to bspsSebastian Huber2-3/+3
Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
2018-04-17Multiple BSP tcfg: Disable iconv files.Joel Sherrill1-0/+7
2018-04-12libdl: Fix the tests loading the correct filesChris Johns6-18/+18
2018-04-12testsuites/dl06: Add a test for RAP format.Chris Johns10-26/+428
This test loads a RAP format file that contains calls that are not in the kernel and linked from libm. It uses and test rtems-ld. Update #2769
2018-04-12build: Add support for automake's silent build support.Chris Johns1-61/+61
2018-04-11build: Fix make clean.Chris Johns1-1/+2
Update #3254.
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns15-15/+15
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-11Generate an error if a BSP in the --enable-rtemsbsp list is not validChris Johns1-14/+0
Also generate an error if the architecure does not match the --target architecture given to configure's command line. Close #2641.
2018-04-11fstest/fsrfsbitmap01: Update RFS bitmap tests to test fixes.Chris Johns1-0/+19
Add tests to check the patches for this ticket exist and are fixed. Close #3089
2018-04-10sptests: Fix AM_CONDITIONALSebastian Huber1-2/+2
Update #3382.
2018-04-10testsuites: Remove the test check from the subdir support.Chris Johns1-23/+3
Leave the parallel support so each test group builds in parallel. Update #3382
2018-04-10testsuite/tmtests: Merged nested Makefile.am files into one Makefile.amChris Johns43-1043/+437
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns219-5001/+2257
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns57-1191/+691
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/samples: Merged nested Makefile.am files into one Makefile.amChris Johns22-372/+168
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/irhealstone: Merged nested Makefile.am files into one Makefile.amChris Johns8-155/+78
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/psxtmtests: Merged nested Makefile.am files into one Makefile.amChris Johns51-1370/+711
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/psxtests: Merged nested Makefile.am files into one Makefile.amChris Johns105-2686/+1294
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/mptests: Merged nested Makefile.am files into one Makefile.amChris Johns80-633/+262
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/fstests: Merged nested Makefile.am files into one Makefile.amChris Johns97-1730/+702
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns100-2480/+1401
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite/benchmarks: Merged nested Makefile.am files into one Makefile.amChris Johns5-73/+51
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-04-10testsuite: Autoconf test check support.Chris Johns1-0/+31
The autoconf function checks the state of a test for the BSP and controls the building of the test. This change is part of the testsuite Makefile.am reorganisation. Update #3382