Commit Graph

30201 Commits

Author SHA1 Message Date
Sebastian Huber
544b59bf47 configure: Remove HAVE_SEMAPHORE_H support 2017-01-13 09:35:01 +01:00
Sebastian Huber
7c49927911 posix: Add pthread_getname_np(), ...
Add pthread_getname_np() and pthread_setname_np().

Update #2858.
2017-01-13 08:10:28 +01:00
Sebastian Huber
da6ad56a68 score: Add _Thread_Set_name()
Add configuration option CONFIGURE_MAXIMUM_THREAD_NAME_SIZE.

Update #2858.
2017-01-13 08:10:28 +01:00
Sebastian Huber
7ced9d9bb2 score: Add and use _Thread_Get_name()
Update #2858.
2017-01-13 08:10:24 +01:00
Sebastian Huber
2b72162b81 score: Add Thread_queue_Queue::name
Update #2858.
2017-01-13 07:19:21 +01:00
Sebastian Huber
b8bcebea18 score: Add and use _Objects_Name_to_string()
Update #2858.
2017-01-13 07:19:21 +01:00
Sebastian Huber
1772a04f68 configure: Add RTEMS_TOOL_CHAIN_ERROR
Stop the build with a common error message in case the tool chain is
seriously out of date.
2017-01-13 07:19:15 +01:00
Christian Spindeldreier
a1e4e3bf31 GRETH: Interrupt Handler Uses Wrong Events
closes #2796.
2017-01-12 09:36:26 -06:00
Sebastian Huber
61c14a31c8 cpuuse: Call printer only once 2017-01-12 14:19:05 +01:00
Sebastian Huber
3b784ba028 Fix documentation comment 2017-01-12 14:18:58 +01:00
Sebastian Huber
96bb2e4bdf rtems: Use header file for rtems_object_get_name() 2017-01-12 07:53:12 +01:00
Sebastian Huber
a3730b38cc Add and use rtems_assoc_thread_states_to_string() 2017-01-12 07:44:37 +01:00
Sebastian Huber
b7f1fc3b36 libdebugger: Fix const qualifier 2017-01-12 07:44:36 +01:00
Sebastian Huber
0c431303cc Add rtems_assoc_32_to_string() 2017-01-12 07:44:36 +01:00
Sebastian Huber
fa9f964f73 score: Remove unused _States_Is_*() 2017-01-12 07:44:36 +01:00
Sebastian Huber
d063e7b3d8 score: Replace STATES_DELAYING
Replace STATES_DELAYING with STATES_WAITING_FOR_TIME.

There is no need for separate timeout thread states.  The
Thread_Control::Timer::header and Watchdog_Control::cpu members can be
used to figure out the kind of timeout.
2017-01-12 07:44:36 +01:00
Joel Sherrill
48a7fa31f9 Remove texinfo format documentation. Replaced by Sphinx formatted documentation.
closes #2812.
2017-01-11 12:13:21 -06:00
Joel Sherrill
7a4b264574 Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__ 2017-01-11 09:45:32 -06:00
Joel Sherrill
ef362818df Add support for posix_devctl() 2017-01-11 09:45:32 -06:00
Sebastian Huber
5aa0fa1cec posix: Fix alarm() in SMP configurations
Avoid to change the CPU of the watchdog right in the middle of the
critical section.  This would corrupt the watchdog lock states.
2017-01-11 13:52:15 +01:00
Sebastian Huber
3d35bc00d8 score: Improve SMP lock debug support
The CPU index starts with zero.  Increment it by one, to allow global
SMP locks to reside in the BSS section.
2017-01-11 13:52:08 +01:00
Sebastian Huber
4e07d9b3de score: Optimize thread state values 2017-01-11 08:16:28 +01:00
Sebastian Huber
9a448aabe6 score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER
Add thread state bit to identify thread queues that are embedded in an
object with identifier.
2017-01-11 08:16:27 +01:00
Sebastian Huber
c6000d2b54 score: Delete STATES_WAITING_FOR_BUFFER 2017-01-11 08:16:27 +01:00
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