Martin Aberg
6ecad1d526
leon, grspw_pkt: Preserve DMA address enable at start.
...
The EN bit (enable separate node address for this channel) is preserved when
grspw_dma_start is called. This preserves any previous address configuration.
2017-03-06 07:54:55 +01:00
Martin Aberg
a48bfc0ffa
leon, grspw_pkt: Fixed txpkt flag for link error
...
There was a mixup between the transmit descriptor Link error (LE) bit and
Interrupt enable (IE) bit. TXPKT_FLAG_LINKERR now correctly indicates the link
error condition.
2017-03-06 07:54:55 +01:00
Martin Aberg
3395ca9912
leon, grspw_pkt: Fixed parameter check in grspw_dma_open()
2017-03-06 07:54:55 +01:00
Daniel Hellstrom
4431f7d262
leon, gr1553b: RT status words register declarations fix
...
The fix does not affect the driver since the bit definitions
were never used by the GR5133B drivers. However it could affect
and application using the definitions.
2017-03-06 07:54:55 +01:00
Daniel Hellstrom
d7452976e4
leon, gr1553b: comment cleanup
2017-03-06 07:54:55 +01:00
Daniel Hellstrom
91df5a6995
libpci: code cleanup
2017-03-06 07:54:55 +01:00
Daniel Hellstrom
be66bbc1e8
leon, grspw: rxPktSize must set DMA RX max length
2017-03-06 07:54:55 +01:00
Sebastian Huber
cb056d02c5
cdtest: Print begin of test only once
2017-03-03 09:04:12 +01:00
Sebastian Huber
c0dafd7ba3
bsp/qoriq: Use at most 2GiB of RAM
2017-03-02 16:53:45 +01:00
Sebastian Huber
d3f60afbfe
bsp/qoriq: Adjust workspace according to FDT
2017-03-02 15:25:34 +01:00
Sebastian Huber
35136d3d4e
bsp/qoriq: Use -O2
2017-03-02 15:20:52 +01:00
Sebastian Huber
62f16ad4e3
bsp/qoriq: Enable linker garbage collection
2017-03-02 15:20:19 +01:00
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