Commit Graph

30776 Commits

Author SHA1 Message Date
Sebastian Huber
b39cda6ca4 bsp/imx: Fix I2C registration with path
Update #3090.
2017-10-06 12:49:29 +02:00
Sebastian Huber
8bdbefedd5 libdl: Fix warnings
Update #3155.
2017-10-06 09:43:17 +02:00
Sebastian Huber
4e38aed005 libdl: Use 64-bit ELF on 64-bit targets
Update #3155.
2017-10-06 09:43:17 +02:00
Sebastian Huber
900fda4567 rtems: Fix format warnings
Update #3111.
2017-10-06 09:43:17 +02:00
Sebastian Huber
de59c065c5 posix: Implement self-contained POSIX mutex
POSIX mutexes are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3112.
2017-10-05 14:29:02 +02:00
Sebastian Huber
5222488573 posix: Implement self-contained POSIX condvar
POSIX condition variables are now available in all configurations and no
longer depend on --enable-posix.

Update #2514.
Update #3113.
2017-10-05 14:29:02 +02:00
Sebastian Huber
89fc9345de posix: Implement self-contained POSIX rwlocks
POSIX rwlocks are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3115.
2017-10-05 14:29:02 +02:00
Sebastian Huber
e67929c4c0 posix: Implement self-contained POSIX barriers
POSIX barriers are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3114.
2017-10-05 14:29:01 +02:00
Sebastian Huber
c090db7405 posix: Implement self-contained POSIX semaphores
For semaphore object pointer and object validation see
POSIX_SEMAPHORE_VALIDATE_OBJECT().

Destruction or close of a busy semaphore returns an error status.  The
object is not flushed.

POSIX semaphores are now available in all configurations and no longer
depend on --enable-posix.

Update #2514.
Update #3116.
2017-10-05 14:29:01 +02:00
Sebastian Huber
47b1e31f11 posix: Optimize pthread_once_t
Reduce size of pthread_once_t and make it zero-initialized.

Update #3142.
2017-10-05 14:29:01 +02:00
Sebastian Huber
e46a075d35 Enforce compatible Newlib version
This Newlib check ensures that we have a 64-bit time_t and
self-contained POSIX synchronization objects.

Update #2514.
Update #3111.
Update #3112.
Update #3113.
Update #3114.
Update #3115.
Update #3116.
2017-10-05 14:28:56 +02:00
Sebastian Huber
5cf5d46ec8 score: Make status codes unconditional
The internal status codes encode a Classic rtems_status_code and error
codes used by the POSIX and C11/C++11 APIs.  In case the POSIX API is
disabled, the C11/C++11 support must still work.

Close #3167.
2017-10-05 09:45:30 +02:00
Sebastian Huber
dcdd329e5c posix: Fix aio_cancel()
Update #3164.
2017-10-04 09:25:22 +02:00
Sebastian Huber
f043b9bd3b bsp/imx: Add I2C bus driver
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
9db9024b7d bsp/imx: Fix I2C register header
Update #3090.
2017-10-02 13:40:56 +02:00
Sebastian Huber
ce28d601c9 bsp/imx: Add imx_get_reg_of_node()
Update #3090.
2017-10-02 13:40:56 +02:00
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