summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Generate an error if a BSP in the --enable-rtemsbsp list is not validChris Johns2018-04-113-28/+36
| | | | | | | 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
* Fill in the correct d_off in rtems_rfs_dir_read.Fan Deng2018-04-111-1/+1
| | | | | | | | | | | | | | | | | | rtems_rfs_dir_read searches the directory inode's entries list starting at the specified offset until an empty entry (last entry) is encountered. It fills in a struct dirent with the name of the entry, length of the name, ino of the entry, and the absolute offset of the entry in the parent directory's entries list. Unfortunately, the stock implementation of rtems_rfs_dir_read returns a somewhat arbitrary offset (as dirent::d_off), while rtems_rfs_dir_lookup_ino always returns the correct offset. This change fixes that logic so the returned offset is accurate. Tested by comparing the offset returned in dirent with the result of rtems_rfs_dir_lookup_ino.
* Fixes bitmap allocation accounting logic in rtems-rfs-bitmaps.cFan Deng2018-04-111-18/+47
| | | | | | | | | | | | | | | | | | | | The bitmap allocation accounting logic in rtems-rfs-bitmaps.c is flawed around control->free. Specifically: In rtems_rfs_bitmap_map_set(): control->free is only decremented when its corresponding search bit is toggled. This is wrong and will miss on average 31/32 set updates. In rtems_rfs_bitmap_map_clear(): control->free is incremented unconditionally. The correct behavior is: When updating the map, check if the bit is already set/clear. Only update control->free when the bit is toggled. This change enforced the correct behavior. Tested by inspecting the internal data structure.
* Reset free count properly in rtems_rfs_bitmap_map_clear_all().Fan Deng2018-04-111-1/+1
| | | | | | | | In rtems_rfs_bitmap_map_clear_all(), control->free is set to 'elements', which is the number of elements in the bitmap. This is incorrect, as control->free should contain the number of free bits, not elements. This change fixes the logic and resets control->free to a correct value.
* Make bit addressing consistent in rtems_rfs_group.cFan Deng2018-04-111-1/+12
| | | | | | | | | | | | | This change fixes https://devel.rtems.org/ticket/3089. Briefly, rtems_rfs_group.c contains conflicting conversions between block numbers and group number and bit offset pairs. This caused the actual bit stored on the bitmask to be one bit displaced from its intended location. For more details, please see the associated ticket. Tested by inspecting the written bitmasks with and without this change.
* Updated README.Chris Johns2018-04-111-17/+50
|
* sptests: Fix AM_CONDITIONALSebastian Huber2018-04-101-2/+2
| | | | Update #3382.
* bsps: Fix typo in MPCI supportSebastian Huber2018-04-101-1/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/lpc24xx: Exclude iconv POSIX tests.Chris Johns2018-04-101-0/+3
| | | | | | | | These are now built to executables and are too large for this BSP. This change is part of the testsuite Makefile.am reorganization. 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
* Require the user to provide a BSP list when build SMP or MP.Chris Johns2018-04-104-7/+10
| | | | Close 3383.
* Generate an error if no valid gcc is found when configure runs.Chris Johns2018-04-102-1/+14
| | | | Close #3385.
* bsp/genmcf548x: Fix IRQ supportSebastian Huber2018-04-091-4/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsp/csb337: Fix umon supportSebastian Huber2018-04-091-0/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove DISTCLEANFILESSebastian Huber2018-04-0989-94/+0
| | | | | A "make distclean" is not supported. So, it makes no sense to have pure "make distclean" related stuff in the Makefile.am.
* bsps: Move generic IRQ support to bspsSebastian Huber2018-04-0951-240/+96
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Remove librtemsbsp.a wrapupSebastian Huber2018-04-0991-2307/+2254
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move shmdr to bspsSebastian Huber2018-04-0919-23/+18
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move VME support to bspsSebastian Huber2018-04-0922-35/+14
| | | | | | | | The VME support is only used by powerpc BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsp: Move umon support to bspsSebastian Huber2018-04-097-7/+4
| | | | | | | | The umon support is only used by the csb337 BSP. This patch is a part of the BSP source reorganization. Update #3285.
* Allow rtems-bsps to be run from any path.Chris Johns2018-04-091-1/+2
|
* bsps/powerpc: Rename to shared-sources.amSebastian Huber2018-04-0519-18/+18
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/powerpc: Rename to exceptions-sources.amSebastian Huber2018-04-0518-17/+17
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/m68k: Rename fpsp.am to fpsp-sources.amSebastian Huber2018-04-054-3/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/bfin: Rename shared.am to shared-sources.amSebastian Huber2018-04-054-3/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move libchip to bspsSebastian Huber2018-04-0483-91/+55
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move config macros to RTEMS_BSP_CONFIGURESebastian Huber2018-04-0484-381/+9
| | | | | | | | Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs. This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move version.c and use bspopts.hSebastian Huber2018-04-045-15/+5
| | | | | | | This patch is a part of the BSP source reorganization. Update #3285. Update #3375.
* bsps: Add shared-sources.amSebastian Huber2018-04-0484-0/+83
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Add RTEMS_BSP to bspopts.hSebastian Huber2018-04-041-0/+3
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* build: Remove EXTRA_DISTSebastian Huber2018-04-04118-529/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* Eliminate PowerPC libcpu/page.hJoel Sherrill2018-03-288-76/+13
| | | | | | | | Started to eliminate warnings and then realized that only one one-line macro in the file was used by a few files. The rest of the file was was not needed. Eliminate the file. Closes #3354.
* bsps/riscv: Fix warningsSebastian Huber2018-03-272-7/+1
|
* Remove unused POSIX_NOT_IMPLEMENTED() declarationSebastian Huber2018-03-271-5/+0
|
* bsps: Remove libcpuSebastian Huber2018-03-265-41/+1
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/m68k: Remove libcpu/m68kSebastian Huber2018-03-2622-219/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps/mcf5225x: Move libcpu content to bspsSebastian Huber2018-03-261-0/+0
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.