Commit Graph

31238 Commits

Author SHA1 Message Date
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
Sebastian Huber
1c64c68896 epiphany: Workaround until next Newlib snapshot
At least with Binutils 2.30 and GCC 7.3 we need symbol definitions
without the leading underscore.

Fixed in Newlib 1658a57715de93d50983f34e75216101eb373993.
2018-01-31 11:17:22 +01:00
Sebastian Huber
9819425fee epiphany: Fixes for GCC 7.3
GCC 7.3 defines __USER_LABEL_PREFIX__ to nothing.
2018-01-31 08:03:30 +01:00
Sebastian Huber
865b30279a Avoid Newlib-specific _EXFUN() 2018-01-29 13:53:55 +01:00
Sebastian Huber
bc96f3b4b8 ada: Introduce RTEMS.Size type
Some time ago the Classic API object size related parameters were
changed to use size_t.  Reflect this in the Ada bindings.

Update #3082.
2018-01-29 06:58:28 +01:00
Sebastian Huber
d8de6b9dbe ada: Fix RTEMS.Time_t
Update #3111.
2018-01-29 06:58:27 +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
Christian Mauderer
9704efb4ec MAINTAINERS: Add myself to Write After Approval. 2018-01-23 11:19:51 +01:00
Sebastian Huber
6bb9b3df7b rfs: Fix format warning
Update #3082.
2018-01-23 08:00:26 +01:00
Sebastian Huber
469fdebf25 bsp/qoriq: Fix define for optional intercom
Update #3085.
2018-01-23 07:28:51 +01:00
Sebastian Huber
5fb838d181 rfs: Fix for 64-bit targets
The RTEMS_BLKIO_SETBLKSIZE IO control expects an uint32_t parameter and
not a size_t which is 64-bits on 64-bit targets.

Update #3082.
2018-01-22 15:24:13 +01:00
Sebastian Huber
0349a2b544 cdtest: Increase stack size 2018-01-22 15:24:13 +01:00
Sebastian Huber
990235d960 psxchroot01: Force release of global locations
Free deferred locations before the greedy memory allocation.  This test
fails on powerpc/qoriq_e6500_64 otherwise.
2018-01-22 15:24:13 +01:00
Sebastian Huber
e79bb0c3bb bsp/gen5200: Use public include path
Update #3254.
2018-01-22 13:16:46 +01:00
Sebastian Huber
6bc5e47c84 smptests: Fix configuration
Update #2843.
2018-01-22 07:21:21 +01:00
Sebastian Huber
fc438dae30 monitor: Fix thread priority values 2018-01-22 07:21:20 +01:00
Sebastian Huber
b391fbc61c bsp/qoriq: Fix hypervisor guest interrupt init
Update #3085.
2018-01-22 07:21:20 +01:00
Sebastian Huber
2fd684e233 bsp/qoriq: Fix hypervisor guest irq vector max
Update #3085.
2018-01-22 07:21:20 +01:00
Sebastian Huber
0df59b7cbb bsp/qoriq: Optional multiprocessing support
Update #3085.
2018-01-22 07:21:20 +01:00
Sebastian Huber
44ba969c15 bsp/qoriq: Fix hypervisor guest polled console
Update #3085.
2018-01-22 07:21:20 +01:00
Sebastian Huber
2f54488f74 bsp/qoriq: Fix hypervisor guest IRQ support
Update #3085.
2018-01-22 07:21:20 +01:00
Sebastian Huber
81eced5376 bsp/qoriq: Fix bsp_fdt_map_intr()
Update #3085.
2018-01-22 07:21:19 +01:00
Sebastian Huber
9ec5ff4e57 bsp/qoriq: Fix hypervisor guest MMU config
Account for DPAA resources defined in the device tree.

Prevent merging of areas with incompatible MAS2.

Update #3085.
2018-01-22 07:21:19 +01:00
Sebastian Huber
5ce2dfaf4e powerpc: Add FSL_EIS_EPR
Update #3085.
2018-01-22 07:21:19 +01:00
Sebastian Huber
17fd0ff0cd bsps: Move wd80x3.h to libchip/wd80x3.h
This header is used also by the motorola_powerpc BSP.

Update #3254.
2018-01-22 07:17:41 +01:00
Sebastian Huber
168277e759 tests: Change TEST BUILD to use define names 2018-01-22 07:08:57 +01:00
Sebastian Huber
d898f6e18e bsp/gen5200: Fix i2c.h and i2cdrv.h installation
Install these files only as <bsp/i2c.h> and <bsp/i2cdrv.h>.

Update #3254.
2018-01-19 15:29:31 +01:00
Sebastian Huber
cf2024bc8a smp03: Use floating-point tasks
This test uses sprintf().
2018-01-19 13:08:46 +01:00
Sebastian Huber
cf099be766 smp03: Use floating-point task
This test uses sprintf().
2018-01-19 13:04:25 +01:00
Sebastian Huber
5e3ef46a9a smpaffinity01: Use floating-point task
This test uses sprintf().
2018-01-19 10:57:38 +01:00
Sebastian Huber
7274e6769f smp08: Use floating-point task
This test uses sprintf().
2018-01-19 10:56:13 +01:00
Sebastian Huber
60dc0205ca psxfile01: Use floating-point task
This test uses fprintf().
2018-01-19 10:54:23 +01:00
Sebastian Huber
654fa58a1d block06: Use floating-point task
This test uses sprintf().
2018-01-19 10:50:44 +01:00
Sebastian Huber
5b7f922710 fstests: Use floating-point task
The fstests use snprintf().
2018-01-19 10:49:27 +01:00
Sebastian Huber
32d50688c6 psxpasswd02: Use floating-point task
This test uses sprintf().
2018-01-19 10:05:24 +01:00
Sebastian Huber
e9588d5fde psxstat: Use floating-point task
This test uses sprintf().
2018-01-19 10:03:53 +01:00
Sebastian Huber
d2f9d10fad psximfs02: Use floating-point task
This test uses sprintf().
2018-01-19 10:00:56 +01:00
Sebastian Huber
32e8fc3c1d spassoc01: Use floating-point task
This test uses sprintf().
2018-01-19 10:00:53 +01:00
Sebastian Huber
3205fd6ad9 tests: Use vprintk() in locked_printf()
This avoids blocking output and the use of the floating-point unit.
2018-01-19 09:53:34 +01:00
Sebastian Huber
047e8aa952 tests: Remove unused locked_printk() 2018-01-19 09:53:18 +01:00
Sebastian Huber
e6d89860a1 smpmigration01: Enable floating-point output 2018-01-19 09:52:23 +01:00
Sebastian Huber
9c270ac663 fstests: Use floating-point task
The fstests use snprintf().
2018-01-19 09:47:39 +01:00
Sebastian Huber
a5b4db4bc2 rtems: Fix rtems_task_mode()
A rtems_configuration_is_smp_enabled() inside a !defined( RTEMS_SMP)
block makes no sense.

Remove !defined( RTEMS_SMP ) conditions.

Test tm04 works now again.

Update #3000.
2018-01-19 07:45:21 +01:00
Sebastian Huber
0a4992927d bsp/leon3: Fix interrupt timestamp timecounter 2018-01-18 13:15:27 +01:00
Joel Sherrill
ac0e020845 leon3: Simplify bsp_specs
Updates #3520.
2018-01-18 07:31:29 +01:00
Joel Sherrill
85b59a57e8 leon2: Simplify bsp_specs
Updates #3520.
2018-01-18 07:31:29 +01:00
Joel Sherrill
ca188aa6ff sparc/erc32: Simplify bsp_specs
Updates #3520.
2018-01-18 07:31:29 +01:00
Joel Sherrill
9d68284828 qemuppc: Simplify bsp_specs
Updates #3520.
2018-01-18 07:31:29 +01:00
Joel Sherrill
f387e8f40b testsupport/testbeginend.c: Fix redefined warning 2018-01-16 13:47:53 -06:00