Commit Graph

30760 Commits

Author SHA1 Message Date
Sebastian Huber
7e195e66c7 bsp/imx: Add imx_get_irq_of_node()
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
4cfce5cb64 i2c: Add temperature sensor LM75A driver
Close #3163.
2017-10-02 13:40:46 +02:00
Sebastian Huber
9c063df3ab i2c: Fix EEPROM driver program timeout handling
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it
to calculate the program timeout in ticks. Check program done condition
after the timeout check to account for pre-emptions.

Update #3162.
2017-10-02 13:34:00 +02:00
Sebastian Huber
2e1d595972 i2c: Send MSB of address first for EEPROMs
Update #3161.
2017-10-02 13:34:00 +02:00
Daniel Hellstrom
f9fbb3336f libpci: fix pci device allocation
The refactoring of pci_dev_create() was incorrect since the code relied on
different defines before including pci/cfg.h. This reverts back to the
original code having two pci_dev_create() one in auto and one in read library.
confdefs.h selectes between the two libraries so both there is no link
conflict.

Updates #3029
2017-09-29 13:36:44 +02:00
Sebastian Huber
0b134aca35 bsp/bf537Stamp: Fix warning 2017-09-29 07:43:08 +02:00
Sebastian Huber
7192313802 shell: Fix missing prototype warning 2017-09-28 13:18:52 +02:00
Sebastian Huber
910adc3e83 bsps: Fix integer to/from pointer warnings
Update #3082.
2017-09-28 13:18:35 +02:00
Sebastian Huber
610ffd7a32 bsp/gen5200: Fix warning
Update #3122.
2017-09-28 13:17:15 +02:00
Sebastian Huber
f2b5d67297 bsps/powerpc: Fix print format warnings 2017-09-28 07:12:53 +02:00
Sebastian Huber
441993a8c7 network: Add missing forward declaration 2017-09-28 07:05:01 +02:00
Sebastian Huber
dbdb6a32f1 posix: Remove superfluous includes 2017-09-27 15:33:01 +02:00
Sebastian Huber
e2fe881a87 score: Simplify red-black tree debug support
Make the RBTree_Node layout independent of RTEMS_DEBUG (and all other
build configuration options).  This allows the use of this structure in
Newlib.

Update #3112.
2017-09-27 14:56:47 +02:00
Sebastian Huber
ef18d3680c posix: Remove superfluous includes 2017-09-27 12:10:10 +02:00
Sebastian Huber
e460cd00fd score: Rename to _Scheduler_Control
Rename struct Scheduler_Control to _Scheduler_Control to allow its use
in standard header files, e.g. <pthread.h>.

Update #3112.
2017-09-27 12:09:37 +02:00
Sebastian Huber
561698315f bsp/imx: Add nocache section
Update #3090.
2017-09-27 10:59:09 +02:00
Sebastian Huber
362e96ab8b bsp/imx: Provide a default console
Update #3090.
2017-09-26 14:01:40 +02:00
Sebastian Huber
4bf2ce3115 bsp/imx: Add register headers
Update #3090.
2017-09-26 07:31:58 +02:00
Joel Sherrill
ea4488ae89 posix shm: Add oflag to Shm_Control 2017-09-22 16:45:05 -05:00
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