Commit Graph

29977 Commits

Author SHA1 Message Date
Sebastian Huber
2e6d9865ce score: Format thread state defines
Specify all 32-bits in a thread state define.
2017-01-11 08:16:27 +01:00
Sebastian Huber
45ae4a89e7 sys/event.h: Update to FreeBSD head 2017-01-02 2017-01-09 14:53:26 +01:00
Sebastian Huber
a7cfb4bda0 score: Relax <sys/lock.h> static assertions
Only require that the Newlib defined structure is big enough.
2016-12-23 13:54:11 +01:00
Sebastian Huber
0374ccd8ab libio: Use CONSOLE_DEVICE_NAME 2016-12-23 13:53:55 +01:00
Sebastian Huber
eae4541d7b Clarify simple timecounter documentation 2016-12-21 09:27:19 +01:00
Sebastian Huber
81af80e586 Rename *.s to *.S
Consistently use *.S for assembler files.

Close #2701.
2016-12-20 10:31:06 +01:00
Sebastian Huber
71f29c1206 bsp/atsam: Use standard XDMA throughout 2016-12-20 08:49:32 +01:00
Sebastian Huber
ab834d65e4 JFFS2: RTEMS_JFFS2_ON_DEMAND_GARBAGE_COLLECTION
Update #2844.
2016-12-20 08:28:23 +01:00
Sebastian Huber
ade135d455 JFFS2: Add RTEMS_JFFS2_FORCE_GARBAGE_COLLECTION
Add IO control to force a garbage collection.

Update #2844.
2016-12-20 08:26:25 +01:00
Sebastian Huber
07c833f8f9 JFFS2: Add RTEMS_JFFS2_GET_INFO
Add IO control RTEMS_JFFS2_GET_INFO to get some JFFS2 filesystem
instance information.

Update #2844.
2016-12-20 08:26:21 +01:00
Sebastian Huber
4aba8d7986 bsp/atsam: Use standard XDMA for QSPI support 2016-12-16 13:05:57 +01:00
Sebastian Huber
08f1d2f79b bsp/atsam: Add SC16IS752 support 2016-12-16 11:26:54 +01:00
Alexander Krutwig
9edc73013b dev: Add NXP SC16IS752 serial device driver
Update #2841.
2016-12-16 11:26:50 +01:00
Alexander Krutwig
e34fe384cb termios: Add TERMIOS_IRQ_SERVER_DRIVEN
Add a new interrupt server driven Termios mode (TERMIOS_IRQ_DRIVEN).
This mode is identical to the interrupt driven mode except that a mutex
is used for device level locking. The intended use case for this mode
are device drivers that use the interrupt server, e.g. SPI or I2C
connected devices.

Update #2839.
2016-12-16 09:04:58 +01:00
Sebastian Huber
c3764ce805 termios: Use mutex for task driven mode
Termios has a task driven mode (TERMIOS_TASK_DRIVEN). This mode aims to
avoid long sections with disabled interrupts. This is only partly
implemented since the device level state is still protected by disabled
interrupts. Use a mutex to protect the device level state in task driven
mode to fix this issue.

Update #2838.
2016-12-16 09:04:58 +01:00
Sebastian Huber
a5c56afa35 bsp/atsam: Move interrupt setup to PIO_Configure() 2016-12-16 09:04:58 +01:00
Sebastian Huber
a4936b59cb bsp/atsam: System initialization for PIO IRQs 2016-12-16 09:04:57 +01:00
Sebastian Huber
8eb5fbb64c bsp/atsamv: Move XDMAD instance out of SPI driver
Use system initialization for XDMAD.  Remove support for polling.
2016-12-16 09:04:57 +01:00
Sebastian Huber
d1c771cc8b bsp/atsam: Move XDMA IRQ handler to XDMA module
The XDMA is shared by all DMA capable modules.  Placing the XDMA
interrupt handler into the SPI module is wrong.
2016-12-15 11:05:09 +01:00
Sebastian Huber
cb592763d3 bsp/atsam: Use _Assert() instead of assert() 2016-12-15 11:05:08 +01:00
Sebastian Huber
fd12159a11 bsp/atsam: Use inline functions for XDMA access 2016-12-15 11:05:05 +01:00
Sebastian Huber
8dd83d39b4 bsp/atsam: Optimize SPI interrupt 2016-12-14 13:09:30 +01:00
Sebastian Huber
9686c6140f bsp/atsam: Simplify SPI transfer status 2016-12-14 13:09:30 +01:00
Sebastian Huber
de7c17192a bsp/atsam: Reduce context switches for SPI transf 2016-12-14 13:09:30 +01:00
Sebastian Huber
b52513b3a4 bsp/atsam: Optimize SPI DMA transfer setup 2016-12-14 13:09:29 +01:00
Sebastian Huber
f104bd342f bsp/atsam: Simplify SPI DMA transfer setup 2016-12-14 13:09:29 +01:00
Sebastian Huber
49b6931842 bsp/atsam: Simplify SPI DMA initialization 2016-12-14 13:09:29 +01:00
Sebastian Huber
d0452eb965 bsp/atsam: Simplify SPI interrupt handler 2016-12-14 13:09:29 +01:00
Sebastian Huber
c78928fcac bsp/atsam: Remove superfluous irq field 2016-12-14 13:09:29 +01:00
Sebastian Huber
9035630f00 bsp/atsam: Remove duplicate SPI register field 2016-12-14 13:09:28 +01:00
Sebastian Huber
62e1e0ff03 bsp/atsam: Simplify SPI initialization 2016-12-14 13:09:28 +01:00
Sebastian Huber
3afa95bae0 bsp/atsam: Hide details of SPI driver 2016-12-14 13:09:28 +01:00
Sebastian Huber
1505eca59c bsp/atsam: Align SPI API with PIO_Configure() 2016-12-14 13:09:28 +01:00
Sebastian Huber
5dd02e9569 bsp/atsam: Avoid to power on/off the SPI module 2016-12-14 13:09:27 +01:00
Sebastian Huber
f74e2959de bsp/atsam: Speed up SPI DMA transfer start 2016-12-14 13:09:27 +01:00
Sebastian Huber
0396f60e59 bsp/atsam: Optimize transfer setup checks 2016-12-14 13:09:27 +01:00
Sebastian Huber
3417070dc9 bsp/atsam: No timeout for SPI DMA transfers 2016-12-14 13:09:27 +01:00
Chris Johns
c6eead1353 libdl: Add C++ exception support to loaded modules.
This has been tested on SPARC, i386, PowerPC and ARM.

Closes #2767.
2016-12-14 09:07:16 +11:00
Christian Mauderer
fe7012a0d1 score: Prevent thread_dispatch_disable_level < 0. 2016-12-12 15:51:05 +01:00
Sebastian Huber
c69d6aa265 libblock: Fix for RTEMS_DEBUG 2016-12-12 15:49:59 +01:00
Sebastian Huber
e203b65e51 Add INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
a5ba08eb4f Add INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
af8ced5e2d libio: Ensure proper std file descriptors 2016-12-12 08:03:30 +01:00
Sebastian Huber
9622f7796f Add INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED
Update #2825.
2016-12-12 08:03:30 +01:00
Sebastian Huber
8252968812 INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
3a659b0481 score: Introduce _Internal_error() 2016-12-12 08:03:29 +01:00
Sebastian Huber
0a81a58254 Add INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
279d5260c3 Add INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED
Update #2825.
2016-12-12 08:03:29 +01:00
Sebastian Huber
6a9282d9bb Rename is_internal to always_set_to_false
Update #2825.
2016-12-12 08:03:14 +01:00
Sebastian Huber
b6606e8d99 score: Remove fatal is internal indicator
The fatal is internal indicator is redundant since the fatal source and
error code uniquely identify a fatal error.  Keep the fatal user
extension is internal parameter for backward compatibility and set it to
false always.

Update #2825.
2016-12-09 08:47:51 +01:00