Commit Graph

30741 Commits

Author SHA1 Message Date
Sebastian Huber
05f9858ffd bsps: Generalize bsp_fdt_map_intr()
Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use
an array to describe an interrupt.

Update #3090.
2017-09-22 14:32:37 +02:00
Sebastian Huber
29919242db bsp/imx: Add SMP support
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
3ad3849a89 bsp/imx: Add register headers
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
8e6a407a2a bsps/arm: Copy FDT only on boot processor
Update #3090.
2017-09-22 14:15:51 +02:00
Sebastian Huber
560acb62ef score: Include missing header file
Update #3059.
2017-09-22 14:15:50 +02:00
Sebastian Huber
bdc468a9c5 posix: Allow PTHREAD_PROCESS_SHARED for rwlocks
Close #3153.
2017-09-22 08:24:57 +02:00
Joel Sherrill
714cb06f18 psxrdwrv/test.c: Clear iovec to ensure consistent results
closes #3148.
2017-09-21 10:16:46 -05:00
Sebastian Huber
a4bca68586 bsps/powerpc: Fix robust thread dispatch
Implement thread dispatch code in ppc_exc_wrapup() similar to
ppc_exc_interrupt().

Update #2811.
2017-09-21 13:33:00 +02:00
Sebastian Huber
b800f88a63 bsp/t32mppc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Fix link-time error.

Update #3085.
2017-09-21 13:32:56 +02:00
Sebastian Huber
821acce64f bsp/qemuppc: Fix for RTEMS_DEBUG 2017-09-20 10:30:19 +02:00
Sebastian Huber
cf2ec29d96 bsp/psim: Fix for RTEMS_DEBUG 2017-09-20 10:18:17 +02:00
Sebastian Huber
927e1f8c7c bsp/mpc8260ads: Fix for RTEMS_DEBUG 2017-09-20 09:39:07 +02:00
Sebastian Huber
4e0dd1fd43 bsp/mpc8260ads: Fix for RTEMS_DEBUG 2017-09-20 09:35:10 +02:00
Sebastian Huber
d7ed684d70 bsps/powerpc: Fix PPC_EXC_CONFIG_USE_FIXED_HANDLER
Fix link-time error on BSPs not using PPC_EXC_CONFIG_USE_FIXED_HANDLER.

Update #3085.
2017-09-20 07:18:53 +02:00
Sebastian Huber
4c1f442e25 bsp/qoriq: Update README
Close #3085.
2017-09-19 14:41:36 +02:00
Sebastian Huber
f100a58c82 bsp/qoriq: Add hypervisor guest SMP support
Update #3085.
2017-09-19 14:35:02 +02:00
Sebastian Huber
31540bfb81 bsp/qoriq: MMU configuration as hypervisor guest
Re-enable MMU configuration as hypervisor guest.  Make sure the
QORIQ_TLB1_ENTRY_COUNT is set according to the hypervisor configuration.

Update #3085.
2017-09-19 14:34:21 +02:00
Sebastian Huber
2720fbf0c2 bsp/qoriq: Avoid IVOR38..42 access as hv guest
Update #3085.
2017-09-19 14:33:04 +02:00
Sebastian Huber
6600882b19 bsp/qoriq: Avoid MAS8 access as hypervisor guest
Update #3085.
2017-09-19 14:33:04 +02:00
Sebastian Huber
44c011439c bsp/qoriq: Reduce static memory demands
Update #3085.
2017-09-19 10:57:28 +02:00
Sebastian Huber
ec28f31138 bsp/qoriq: Add decrementer clock driver
Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
fd70e20621 bsp/qoriq: Add early debug output initialization
Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
599e6fbdd8 bsps/powerpc: PPC_EXC_CONFIG_USE_FIXED_HANDLER
Make PPC_EXC_CONFIG_USE_FIXED_HANDLER mandatory for BSPs using
ppc_exc_interrupt().  Pass exception number to bsp_interrupt_dispatch()
to allow processing of decrementer and doorbell exceptions as hypervisor
guest.

Update #3085.
2017-09-19 10:57:27 +02:00
Sebastian Huber
9a50e32ded score: Include missing <limits.h>
Update #2132.
Close #3140.
2017-09-19 10:57:27 +02:00
Sebastian Huber
a029230aec Add "\n" to "\r\n" translation to rtems_putc()
Update #3122.
2017-09-19 07:21:37 +02:00
Sebastian Huber
f3b292365f bsps: Clock_driver_support_install_isr()
Remove old ISR parameter since is not used by the clock driver shell.
Make an implementation optional.

Update #3139.
2017-09-18 08:22:38 +02:00
Sebastian Huber
c030edde3f posix: Allow PTHREAD_PROCESS_SHARED for condvar
Close #3137.
2017-09-15 13:57:53 +02:00
Sebastian Huber
8230a329d3 posix: Allow PTHREAD_PROCESS_SHARED for barriers
Close #3126.
2017-09-15 13:57:53 +02:00
Sebastian Huber
3b47ce73fa posix: Allow PTHREAD_PROCESS_SHARED for mutexes
Close #3125.
2017-09-15 13:57:38 +02:00
Sebastian Huber
8fa75d35cb libio: Remove rtems_libio_t::driver
This member was apparently unused.

Close #3133.
2017-09-15 12:52:08 +02:00
Sebastian Huber
ac741625b0 libio: Use FIFO for iop free list
Update #3136.
2017-09-15 10:55:38 +02:00
Sebastian Huber
baef823cd5 libio: Add hold/drop iop reference
Check iop reference count in close() and return -1 with errno set to
EBUSY in case the file descriptor is still in use.

Update #3132.
2017-09-15 10:29:34 +02:00
Sebastian Huber
98041b685e libio: Unify readv() and writev()
Update #3132.
2017-09-15 10:27:13 +02:00
Sebastian Huber
9012db84f6 libio: LIBIO_GET_IOP() LIBIO_GET_IOP_WITH_ACCESS()
Replace rtems_libio_check_fd(), rtems_libio_iop(),
rtems_libio_check_open() and rtems_libio_check_permissions()
combinations with new LIBIO_GET_IOP() and LIBIO_GET_IOP_WITH_ACCESS()
macros.

Update #3132.
2017-09-15 10:27:13 +02:00
Sebastian Huber
d4c54416b7 libio: Add rtems_libio_iop_is_append()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
3cffd66d76 libio: Add rtems_libio_iop_is_writeable()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
a937a5a534 libio: Add rtems_libio_iop_is_readable()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
bbcdc302cd libio: Add rtems_libio_iop_is_no_delay()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
e2b1db2311 libio: Add rtems_libio_iop_flags()
Update #3132.
2017-09-15 10:27:12 +02:00
Sebastian Huber
ca90c6c1db libio: Add rtems_libio_iop_flags_initialize()
Update #3132.
2017-09-15 10:27:08 +02:00
Sebastian Huber
856ede4f91 libio: Add iop set/clear flags
Update #3132.
2017-09-15 07:48:03 +02:00
Sebastian Huber
ec10d266ba libio: rtems_libio_check_permissions_with_error()
Rename rtems_libio_check_permissions_with_error() in
rtems_libio_check_permissions().

Update #3132.
2017-09-15 07:47:46 +02:00
Sebastian Huber
48dbb6cf16 libio: Remove rtems_libio_check_permissions()
Remove rtems_libio_check_permissions() and convert single user to
rtems_libio_check_permissions_with_error().

Update #3132.
2017-09-15 07:34:03 +02:00
Sebastian Huber
0169e90e84 libio: Do simple parameter checks early
This simplifies error handling later.

Update #3132.
2017-09-15 07:33:43 +02:00
Sebastian Huber
4b759b1892 libio: Avoid direct use of rtems_libio_iops
Update #3132.
2017-09-14 07:02:29 +02:00
Sebastian Huber
7b4520258d libio: Simplify rtems_libio_iop()
Remove the file descriptor validation.  This is the job of
rtems_libio_check_fd().  Use an inline function instread of a macro.

Update #3132.
2017-09-14 07:02:29 +02:00
Sebastian Huber
5eb67f3ad0 libio: Remove LIBIO_FLAGS_CREATE
Close #3134.
2017-09-14 07:02:29 +02:00
Sebastian Huber
62f3fa84aa fstests/fsimfsgeneric01: Fix test assert 2017-09-14 07:02:29 +02:00
Sebastian Huber
ead1281fe0 bsp/mrm332: Remove dead code
Update #3132.
2017-09-14 07:02:28 +02:00
Sebastian Huber
694e946dbd libio: Remove special-case reference count
The top-level IO library structures should contain no special-case data.

Update #2859.
2017-09-14 07:02:28 +02:00