Commit Graph

184 Commits

Author SHA1 Message Date
Sebastian Huber
a884df3594 bsp/motorola_powerpc: Move bspstart.c to bsps
This shared powerpc file was only used by this BSP.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-20 09:49:35 +02:00
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
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
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
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
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
Joel Sherrill
0b8a6d77a8 Eliminate PowerPC libcpu/page.h
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.
2018-03-28 11:17:45 -05:00
Sebastian Huber
5f59e2ad3f bsps/powerpc: Move dec timer driver
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:41:19 +02:00
Sebastian Huber
2d33672a18 bsps/powerpc: Move ppc403 clock driver to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:49 +02:00
Sebastian Huber
d7c232f700 bsps/powerpc: Remove unused files
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:49 +02:00
Sebastian Huber
4fd1ff0f0d bsps/powerpc: Move AltiVec support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:49 +02:00
Sebastian Huber
d813d9aa75 bsps/powerpc: Move dec clock driver to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:49 +02:00
Sebastian Huber
11fe8c59c6 bsps/powerpc: Move MMU support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:48 +02:00
Sebastian Huber
b8c468bc9a bsp/tqm8xx: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:48 +02:00
Sebastian Huber
a12dcff877 bsp/mpc8260: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:48 +02:00
Sebastian Huber
0cab067f1c bsps/powerpc: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-26 10:40:42 +02:00
Thomas Doerfler
df8a31d6ba bsp/tqm8xx: Fix network interface driver 2018-03-22 14:51:22 +01:00
Sebastian Huber
dc1ea019f3 bsps/mpc55xx: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:26:32 +01:00
Sebastian Huber
bb22a3f3af bsp/powerpc: Move libcpu timer to bsps
Use only one timer driver variant based on the standard PowerPC time
base.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-22 07:01:36 +01:00
Sebastian Huber
f3a51d62e9 bsps/powerpc: Remove bsp_timer_internal_clock
The only consumer of this variable was the ppc403 clock driver used by
the

* haleakala,
* virtex, and
* virtex4

BSPs which set bsp_timer_internal_clock unconditionally to true.

Update #3285.
2018-03-22 07:01:35 +01:00
Sebastian Huber
7341dbd676 bsps/powerpc: Remove obsolete BSP_Configuration 2018-03-21 08:20:00 +01:00
Sebastian Huber
09dd82a597 bsp/ss555: Move libcpu content to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
bd1508019c bsps/powerpc: Move exceptions support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
7dbc43da43 bsps/powerpc: Move basic support to bsps
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Sebastian Huber
ac04bb85eb bsps/powerpc: Move legacy IRQ support
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-19 07:00:20 +01:00
Joel Sherrill
8307723dd3 beatnik/include/bsp.h: Add spaces around "."
Closes #3348.
2018-03-16 08:38:21 -05:00
Joel Sherrill
b33602354d mvme5500/include/bsp/VMEConfig.h: Remove spaces after \ and remove tabs 2018-03-16 08:38:21 -05:00
Joel Sherrill
dce920aea8 mvme3100/include/bsp.h: Add spaces around "."
Closes #3345.
2018-03-16 08:38:18 -05:00
Sebastian Huber
9b61342778 bsp/gen83xx: Fix define redefinitions
Close #3340.
2018-03-16 14:24:24 +01:00
Sebastian Huber
abc2164d3c bsps/powerpc: Fix redefinitions 2018-02-07 09:23:49 +01:00
Sebastian Huber
4cf93658ef bsps: Rework cache manager implementation
The previous cache manager support used a single souce file
(cache_manager.c) which included an implementation header (cache_.h).
This required the use of specialized include paths to find the right
header file.  Change this to include a generic implementation header
(cacheimpl.h) in specialized source files.

Use the following directories and files:

* bsps/shared/cache

* bsps/@RTEMS_CPU@/shared/cache

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILY/start/cache.c

Update #3285.
2018-01-31 12:49:09 +01:00
Sebastian Huber
d8d6a08d46 bsps: Move network define to source files
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
2018-01-31 11:18:17 +01:00
Chris Johns
2afb22b7e1 Remove make preinstall
A speciality of the RTEMS build system was the make preinstall step.  It
copied header files from arbitrary locations into the build tree.  The
header files were included via the -Bsome/build/tree/path GCC command
line option.

This has at least seven problems:

* The make preinstall step itself needs time and disk space.

* Errors in header files show up in the build tree copy.  This makes it
  hard for editors to open the right file to fix the error.

* There is no clear relationship between source and build tree header
  files.  This makes an audit of the build process difficult.

* The visibility of all header files in the build tree makes it
  difficult to enforce API barriers.  For example it is discouraged to
  use BSP-specifics in the cpukit.

* An introduction of a new build system is difficult.

* Include paths specified by the -B option are system headers.  This
  may suppress warnings.

* The parallel build had sporadic failures on some hosts.

This patch removes the make preinstall step.   All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc.  Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.

The new cpukit include directories are:

* cpukit/include

* cpukit/score/cpu/@RTEMS_CPU@/include

* cpukit/libnetworking

The new BSP include directories are:

* bsps/include

* bsps/@RTEMS_CPU@/include

* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include

There are build tree include directories for generated files.

The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.

The "bootstrap -p" option was removed.  The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.

Update #3254.
2018-01-25 08:45:26 +01:00