Commit Graph

30211 Commits

Author SHA1 Message Date
Sebastian Huber
49d8f653fb termios: Change tty_rcvwakeup to bool
Optimize callout invocation check.
2017-02-28 08:51:31 +01:00
Sebastian Huber
9f69ac2a9d termios: Ignore carriage return early if desired
In case carriage return characters should be ignored in the input
(IGNCR), then drop them early before they reach the raw input buffer.
This makes it easier to calculate the content size of the raw input
buffer.
2017-02-28 08:51:31 +01:00
Sebastian Huber
bb087cb0f9 termios: Protect raw input buffer with device lock
Use the device lock to protect the raw input buffer management, e.g.
tail, head and buffer content updates.

Close #2914.
2017-02-28 08:51:27 +01:00
Sebastian Huber
d60c2d7943 termios: Simplify rtems_termios_read_tty()
Remove dead code.

Update #2914.
2017-02-28 08:51:15 +01:00
Sebastian Huber
5bfeddc0c2 termios: Add kqueue() and poll() support
Real implementation is provided by libbsd.
2017-02-23 07:27:43 +01:00
Sebastian Huber
c8339709e0 score: Add RTEMS_WEAK_ALIAS() 2017-02-23 07:27:43 +01:00
Sebastian Huber
33986022af Add rtems_interrupt_server_request_submit()
This function may be used to do a two-step interrupt processing.  The
first step is done in interrupt context which calls this function.  The
second step is then done in the context of the interrupt server.
2017-02-23 07:27:39 +01:00
Sebastian Huber
11f0d528b5 bsp/xilinx-zynq: Add interrupt support to UART 2017-02-22 14:20:33 +01:00
Sebastian Huber
6b2fcc40ac bsp/xilinx-zynq: Use new Termios device driver 2017-02-21 12:11:44 +01:00
Sebastian Huber
c54769e71e spextensions01: Fix extension create order
Update #2692.
2017-02-21 12:11:44 +01:00
Nick Withers
df184ebea1 Remove old CVS keywords
Update #2388.
2017-02-15 14:52:15 +01:00
Sebastian Huber
7318e7db91 bsp/lpc24xx: Remove debug output 2017-02-15 13:41:02 +01:00
Sebastian Huber
6afeedaa71 bsps/powerpc: Fix warnings 2017-02-15 13:39:02 +01:00
Sebastian Huber
f6f764c131 bsps/powerpc: Fix warnings 2017-02-15 13:28:02 +01:00
Sebastian Huber
c847451b56 sapi: Fix warnings 2017-02-15 13:22:56 +01:00
Sebastian Huber
32292d5d7c bsps/powerpc: Fix warning 2017-02-15 13:14:40 +01:00
Sebastian Huber
661be20777 shell: Fix warnings 2017-02-15 13:05:27 +01:00
Sebastian Huber
bc74461882 bsps/sparc: Fix warnings 2017-02-15 12:57:56 +01:00
Sebastian Huber
f5cf2fe293 libdl: Fix warning 2017-02-15 11:19:50 +01:00
Sebastian Huber
444cb5cd23 bsps/arm: Fix prototype 2017-02-15 11:12:57 +01:00
Sebastian Huber
73f8d93847 bsps/powerpc: Fix warnings 2017-02-15 11:09:50 +01:00
Sebastian Huber
7a462cc60d score: Fix warning 2017-02-15 11:09:32 +01:00
Sebastian Huber
611f926212 psxtests: Fix warnings 2017-02-15 10:35:07 +01:00
Sebastian Huber
468e9a4d99 monitor: Print short and long task names
Print wait object identifier only if it exists.

Update #2858.
2017-02-14 11:12:00 +01:00
Sebastian Huber
71ac0a60ca spqreslib: Remove invalid test cases 2017-02-14 10:05:24 +01:00
Sebastian Huber
ad25f10d5b spcbssched02: Remove invalid test cases 2017-02-14 10:03:42 +01:00
Sebastian Huber
ecf53c8dd5 psxsem01: Fix warning 2017-02-14 09:57:22 +01:00
Sebastian Huber
54835ae9b3 Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS
since the SMP part is superfluous.

Update #2894.
2017-02-14 09:52:05 +01:00
Sebastian Huber
c341463c97 tmacros.h: Fix print defines 2017-02-14 08:59:23 +01:00
Sebastian Huber
9333de2fa8 sppagesize: Include missing header file 2017-02-14 08:54:51 +01:00
Sebastian Huber
5eee7184ad shell: Fix warnings 2017-02-14 08:46:22 +01:00
Sebastian Huber
6dbbafc6b0 score: Fix warning in _Thread_Set_name() 2017-02-14 08:42:48 +01:00
Sebastian Huber
d9c6542970 dosfs: Fix msdos_find_file_in_directory()
For a filename match the entry must match without anything remaining.

Close #2908.
2017-02-14 08:07:22 +01:00
Sebastian Huber
239dd35fce smptests: Fix warnings 2017-02-03 11:25:04 +01:00
Sebastian Huber
07d71279b4 Prefix confdefs.h internal def with an underscore
Close #2895.
2017-02-03 11:14:58 +01:00
Sebastian Huber
85ed95ec48 termios: Fix static device initalization
This enables early printk() support.

Update #2838.
2017-02-03 10:49:13 +01:00
Sebastian Huber
bbfbfc847e score: Move _Thread_Scheduler_ask_for_help()
Move _Thread_Scheduler_ask_for_help(), rename it to
_Thread_Ask_for_help() and make it static.
2017-02-03 10:17:39 +01:00
Sebastian Huber
ca1e546e77 score: Improve scheduler helping protocol
Only register ask for help requests in the scheduler unblock and yield
operations.  The actual ask for help operation is carried out during
_Thread_Do_dispatch() on a processor related to the thread.  This yields
a better separation of scheduler instances.  A thread of one scheduler
instance should not be forced to carry out too much work for threads on
other scheduler instances.

Update #2556.
2017-02-03 10:17:38 +01:00
Sebastian Huber
e2b1c47d8c sparc: Fix volatile clobber
Do not adjust the stack pointer, since this is already done by the
restor instruction.

Update #2270.
2017-02-03 10:17:38 +01:00
Sebastian Huber
d4ff66e423 confdefs.h: Simplify 2017-02-03 08:44:27 +01:00
Kevin Kirspel
f9db6fd63d confdefs.h: Only define _CONFIGURE_SMP_APPLICATION if RTEMS_SMP defined 2017-02-02 16:44:31 -06:00
Sebastian Huber
6dd96afce9 rtems: Fix RTEMS_NO_TIMEOUT define
Cast the internal WATCHDOG_NO_TIMEOUT to the right type for a Classic
API interval to avoid implict type conversion warnings.
2017-02-02 09:16:53 +01:00
Sebastian Huber
f95fa38764 Remove CONFIGURE_SMP_APPLICATION
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1.

Update #2893.
2017-02-02 09:07:08 +01:00
Sebastian Huber
70f559d835 rtems: Fix RTEMS_MAXIMUM_PRIORITY define
Cast the internal PRIORITY_MAXIMUM to the right type for a Classic API
task priority to avoid integer conversion warnings.
2017-02-01 14:03:12 +01:00
Sebastian Huber
f7ba2945d3 monitor: Add support for BSD wakeup messages 2017-01-31 09:38:08 +01:00
Sebastian Huber
e366f774a7 score: Add _Thread_queue_Object_name
Add the special thread queue name _Thread_queue_Object_name to mark
thread queues embedded in an object with identifier.  Using the special
thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for
this purpose since the thread wait information and thread state are
protected by different SMP locks in separate critical sections.  Remove
STATES_THREAD_QUEUE_WITH_IDENTIFIER.

Add and use _Thread_queue_Object_initialize().

Update #2858.
2017-01-31 09:38:07 +01:00
Sebastian Huber
70488f5655 score: Fix _Thread_Initialize() 2017-01-31 09:38:07 +01:00
Kuan-Hsun Chen
166a9f67cd sprmsched01/spedfsched04: Revise
Instead of using the target time and console driver, both tests now use
assertions and rtems_rate_monotonic_get_status() to verify the count of
postponed jobs.  The setting of spedfsched04 is slightly changed.

Close #2795.
2017-01-31 07:20:06 +01:00
Sebastian Huber
c5430e0618 score: Fix unused parameter warning
Close #2890.
2017-01-30 12:29:31 +01:00
Stavros Passas
575c2e21e2 Complete STACK_CHECKER_EXTENSION. Fixes #2889 2017-01-30 11:50:47 +01:00