Sebastian Huber
891b834fb5
bsp/qoriq: Do not overwrite configured baud
2017-03-02 15:17:35 +01:00
Sebastian Huber
805d721304
powerpc: Fix warnings
2017-03-02 12:02:49 +01:00
Sebastian Huber
09dab28da0
powerpc: Fix interrupt thread dispatch
...
Update #2751 .
2017-03-02 12:02:49 +01:00
Sebastian Huber
1f618ab00f
posix_devctl: Fix for pre C99
...
Use __restrict just like in <devctl.h> to avoid compiler errors with
older GCC, e.g. 4.8 or 4.9.
2017-03-02 07:54:52 +01:00
Sebastian Huber
08d8599245
bsps/powerpc: Fix warnings
2017-03-01 11:31:57 +01:00
Sebastian Huber
a60db6958f
dosfs: Fix FAT32 formatter
...
The second FAT entry contains a bit to indicate if the FAT32 filesystem
is not dirty and a bit to indicate if there was no IO error. Set both
bits for a fresh filesystem. This prevents a warning if mounted on
Windows.
Close #2913 .
2017-02-28 09:31:04 +01:00
Sebastian Huber
267de79ad2
dosfs: Directories should have a file size of 0
...
Close #2755 .
2017-02-28 09:31:04 +01:00
Sebastian Huber
f71ccc345e
termios: Simplify some calculations
...
Use the modular arithmetic addition rule.
2017-02-28 09:31:04 +01:00
Sebastian Huber
902ffeddb5
termios09: Test send callback
2017-02-28 09:09:23 +01:00
Sebastian Huber
3663543392
termios: Implement non-blocking write
2017-02-28 09:09:23 +01:00
Sebastian Huber
a165a9607a
termios: Make write POSIX compatible
...
Currently only blocking read/write operations are implemented. A
blocking write must transfer at least one character. It should not wait
for the device for the second character and so on.
Close #2917 .
2017-02-28 09:09:19 +01:00
Sebastian Huber
c41b47e3e4
termios: Introduce doTransmit()
2017-02-28 09:05:47 +01:00
Sebastian Huber
5244d31ef7
termios: Simplify oproc()
...
Call rtems_termios_puts() only once. Adjust column in one place.
2017-02-28 09:05:47 +01:00
Sebastian Huber
06d14667f7
termios09: Test output post processing
2017-02-28 09:05:47 +01:00
Sebastian Huber
c80f6aa916
termios: Fix infinite loop in receive path
...
In canonical mode, the raw input buffer or the canonical buffer may
overflow without an end of line. Avoid an infinite loop in this case.
Close #2915 .
2017-02-28 09:05:47 +01:00
Sebastian Huber
9fa0f543ec
termios: Change receive callback invocation
...
Call the receive callback in case a read will succeed without to block.
This enables the use of the receive callback for a poll() and select()
support. Increase raw input buffer size to allow buffering of one line.
Close #2916 .
2017-02-28 09:05:42 +01:00
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