Commit Graph

31674 Commits

Author SHA1 Message Date
Sebastian Huber
b46f943c56 bsp/motorola_powerpc: Move polled_io.c
This file was used by this BSP only.  Avoid RTEMS_RELLDFLAGS.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-12 07:09:11 +02:00
Sebastian Huber
efb893f6d9 bsp/beatnik: Avoid RTEMS_RELLDFLAGS
Avoid extra CPPFLAGS.
2018-04-12 07:09:10 +02:00
Sebastian Huber
b43ea9fed2 bsps: Move legacy console driver to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-12 07:09:10 +02:00
Sebastian Huber
f0bcae383e bsps: Remove unused console_select_simple.c
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-12 07:09:10 +02:00
Sebastian Huber
9e3691096e NFS: Remove support for cexp
Avoid use of RTEMS_RELLDFLAGS.

Close #3390.
2018-04-12 07:08:53 +02:00
Chris Johns
af6168c6ef build: Add support for automake's silent build support. 2018-04-12 07:26:10 +10:00
Chris Johns
b8c5935355 build: Fix make clean.
Update #3254.
2018-04-11 13:26:58 +10:00
Chris Johns
d13a62409e cpukit/mttpd: Add a callback to generate a per file HTTP etag
Close #3323.
2018-04-11 12:47:01 +10:00
Chris Johns
aa567bc1cc configure: Add subdir-objects to all automake flags.
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-11 11:52:29 +10:00
Chris Johns
7ff743d549 Generate an error if a BSP in the --enable-rtemsbsp list is not valid
Also generate an error if the architecure does not match the --target
architecture given to configure's command line.

Close #2641.
2018-04-11 11:52:29 +10:00
Chris Johns
9e8df1fe2f fstest/fsrfsbitmap01: Update RFS bitmap tests to test fixes.
Add tests to check the patches for this ticket exist and are fixed.

Close #3089
2018-04-11 11:51:57 +10:00
Fan Deng
d869c1824a Fill in the correct d_off in rtems_rfs_dir_read.
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.
2018-04-11 11:51:57 +10:00
Fan Deng
64908df116 Fixes bitmap allocation accounting logic in rtems-rfs-bitmaps.c
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.
2018-04-11 11:51:57 +10:00
Fan Deng
095a807bc3 Reset free count properly in rtems_rfs_bitmap_map_clear_all().
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.
2018-04-11 11:51:57 +10:00
Fan Deng
0c2241c0a9 Make bit addressing consistent in rtems_rfs_group.c
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.
2018-04-11 11:51:57 +10:00
Chris Johns
343f208409 Updated README. 2018-04-11 11:49:03 +10:00
Sebastian Huber
2eaea4223f sptests: Fix AM_CONDITIONAL
Update #3382.
2018-04-10 12:38:37 +02:00
Sebastian Huber
1ce4a9e073 bsps: Fix typo in MPCI support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-10 07:00:15 +02:00
Chris Johns
cb7b4dc459 bsp/lpc24xx: Exclude iconv POSIX tests.
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
2018-04-10 08:25:35 +10:00
Chris Johns
ee3d7dcb7f testsuites: Remove the test check from the subdir support.
Leave the parallel support so each test group builds in parallel.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
cc14545ed9 testsuite/tmtests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
bc0675393d testsuite/sptests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
8074fa0b83 testsuite/smptests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
d027e6bb8e testsuite/samples: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
590a5809bd testsuite/irhealstone: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
dfc57eb34f testsuite/psxtmtests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
2a99a6a066 testsuite/psxtests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
3206879f06 testsuite/mptests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
8967e5fa78 testsuite/fstests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
5c65b9881b testsuite/libtests: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
32f2629bb7 testsuite/benchmarks: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization.

Update #3382
2018-04-10 08:24:54 +10:00
Chris Johns
18f77699a8 testsuite: Autoconf test check support.
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
2018-04-10 08:24:54 +10:00
Chris Johns
e1664027fe Require the user to provide a BSP list when build SMP or MP.
Close 3383.
2018-04-10 08:22:07 +10:00
Chris Johns
9f6f0261c1 Generate an error if no valid gcc is found when configure runs.
Close #3385.
2018-04-10 08:22:07 +10:00
Sebastian Huber
b6069985b5 bsp/genmcf548x: Fix IRQ support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 11:41:11 +02:00
Sebastian Huber
01d34a3705 bsp/csb337: Fix umon support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 11:37:55 +02:00
Sebastian Huber
9edb72e4be build: Remove DISTCLEANFILES
A "make distclean" is not supported. So, it makes no sense to have pure
"make distclean" related stuff in the Makefile.am.
2018-04-09 07:09:47 +02:00
Sebastian Huber
9b7c456732 bsps: Move generic IRQ support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:47 +02:00
Sebastian Huber
d5842691e1 bsps: Remove librtemsbsp.a wrapup
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:47 +02:00
Sebastian Huber
4b28d3c797 bsps: Move shmdr to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:47 +02:00
Sebastian Huber
814eccb4cf bsps: Move VME support to bsps
The VME support is only used by powerpc BSPs.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:46 +02:00
Sebastian Huber
671c31fc5d bsp: Move umon support to bsps
The umon support is only used by the csb337 BSP.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-09 07:09:46 +02:00
Chris Johns
1ce7bcb950 Allow rtems-bsps to be run from any path. 2018-04-09 14:56:43 +10:00
Sebastian Huber
d03ec77d09 bsps/powerpc: Rename to shared-sources.am
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-05 07:26:24 +02:00
Sebastian Huber
6799a78983 bsps/powerpc: Rename to exceptions-sources.am
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-05 07:26:24 +02:00
Sebastian Huber
0f0f249c79 bsps/m68k: Rename fpsp.am to fpsp-sources.am
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-05 07:26:24 +02:00
Sebastian Huber
82bc97663b bsps/bfin: Rename shared.am to shared-sources.am
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-05 07:26:24 +02:00
Sebastian Huber
27de4e1fb8 bsps: Move libchip to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-04 10:13:28 +02:00
Sebastian Huber
8621ed3806 bsps: Move config macros to RTEMS_BSP_CONFIGURE
Provide HAS_NETWORKING and HAS_SMP Automake conditionals for all BSPs.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-04 10:13:27 +02:00
Sebastian Huber
4f0dca3ad2 bsps: Move version.c and use bspopts.h
This patch is a part of the BSP source reorganization.

Update #3285.
Update #3375.
2018-04-04 10:13:26 +02:00