summaryrefslogtreecommitdiffstats
path: root/testsuites (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* tools: Remove packhexSebastian Huber2018-06-151-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.
* tools: Remove rtems-bin2cSebastian Huber2018-06-142-2/+2
| | | | | | This tool is now included in the RTEMS tools repository. Close #3380.
* Add RTEMS_FATAL_SOURCE_INVALID_HEAP_FREESebastian Huber2018-06-058-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.
* Update rtems_fatal_source_text()Sebastian Huber2018-06-052-2/+3
| | | | | | Add RTEMS_FATAL_SOURCE_PANIC to rtems_fatal_source_text(). Update #3244.
* capture: Use unlimited objectsSebastian Huber2018-06-041-3/+2
| | | | Avoid resource allocation problems with unlimited objects.
* Fix and extend error message in posix timer testMartin Erik Werner2018-05-301-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>
* sptests: Remove CONFIGURE_MILLISECONDS_PER_TICKSebastian Huber2018-05-282-4/+0
| | | | This configuration define is not supported.
* dltests-broken-on-this-bsp.tcfg: Add dl06Joel Sherrill2018-05-211-0/+1
|
* libtests/block05: Use rtems_blkdev_create()Sebastian Huber2018-05-181-22/+25
| | | | Update #3358.
* libblock: Init deps in rtems_blkdev_create()Sebastian Huber2018-05-181-2/+8
| | | | Update #3358.
* spcpucounter01: Enable floating-point outputSebastian Huber2018-05-141-0/+1
|
* ftpfs: Always build FTP clientSebastian Huber2018-05-021-1/+1
| | | | | | Move FTP client filesystem to separate library libftpfs.a. Update #3419.
* libdebugger: Move to separate librarySebastian Huber2018-05-021-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.
* tests: Move rtems-test-check.pySebastian Huber2018-05-022-1/+161
| | | | Remove shell script variant.
* tests: Remove difftest and sorttimes toolsSebastian Huber2018-05-026-358/+0
| | | | Close #3418.
* tests: Remove configure feature checksSebastian Huber2018-05-0223-334/+11
| | | | Update #3409.
* Drop executable permissions on .[ch] filesJoel Sherrill2018-04-301-0/+0
|
* smptests/smpschededf02: Add test caseSebastian Huber2018-04-271-3/+8
|
* bsps: Move make/custom/* files to bspsSebastian Huber2018-04-231-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.
* smptests/smpschedaffinity02: Fix configurationSebastian Huber2018-04-231-0/+2
|
* sptests/sp36: Remove obsolete test programSebastian Huber2018-04-225-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.
* build: Remove subdir-objects from Ada testsSebastian Huber2018-04-201-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.
* bsps: Move startup files to bspsSebastian Huber2018-04-202-3/+3
| | | | | | | | Adjust build support files to new directory layout. This patch is a part of the BSP source reorganization. Update #3285.
* Multiple BSP tcfg: Disable iconv files.Joel Sherrill2018-04-171-0/+7
|
* libdl: Fix the tests loading the correct filesChris Johns2018-04-126-18/+18
|
* testsuites/dl06: Add a test for RAP format.Chris Johns2018-04-1210-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
* build: Add support for automake's silent build support.Chris Johns2018-04-121-61/+61
|
* build: Fix make clean.Chris Johns2018-04-111-1/+2
| | | | Update #3254.
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-1115-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.
* Generate an error if a BSP in the --enable-rtemsbsp list is not validChris Johns2018-04-111-14/+0
| | | | | | | Also generate an error if the architecure does not match the --target architecture given to configure's command line. Close #2641.
* fstest/fsrfsbitmap01: Update RFS bitmap tests to test fixes.Chris Johns2018-04-111-0/+19
| | | | | | Add tests to check the patches for this ticket exist and are fixed. Close #3089
* sptests: Fix AM_CONDITIONALSebastian Huber2018-04-101-2/+2
| | | | Update #3382.
* testsuites: Remove the test check from the subdir support.Chris Johns2018-04-101-23/+3
| | | | | | Leave the parallel support so each test group builds in parallel. Update #3382
* testsuite/tmtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1043-1043/+437
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/sptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-10219-5001/+2257
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1057-1191/+691
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/samples: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1022-372/+168
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/irhealstone: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-108-155/+78
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/psxtmtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1051-1370/+711
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/psxtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-10105-2686/+1294
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/mptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1080-633/+262
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/fstests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1097-1730/+702
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-10100-2480/+1401
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite/benchmarks: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-105-73/+51
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* testsuite: Autoconf test check support.Chris Johns2018-04-101-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