Commit Graph

31295 Commits

Author SHA1 Message Date
Joel Sherrill
dad79bb9a8 unhex.c: Remove unnecessary extern of errno
Closes #2610.
2018-02-19 12:36:51 -06:00
Christian Mauderer
b2e26b7c66 dev/sc16is752: Check return values.
Escalate a failed installation of the interrupts to the next higher
level.
2018-02-12 14:36:29 +01:00
Christian Mauderer
bf7070232f dev/sc16is752: Add GPIO access via ioctl. 2018-02-12 14:36:23 +01:00
Christian Mauderer
6878519aea bsp/atsam: Fix cache / DMA handling in SPI.
This patch fixes the cache handling for the atsam SPI driver. Note that
this solution might doesn't have the best performance for small packets.
2018-02-12 14:25:02 +01:00
Christian Mauderer
538a0a836a bsp/atsam: Allow to use a decoder for SPI CS.
The SPI controller supports a decoder connected to the chip select
lines. This patch allows to use this mode.
2018-02-12 14:25:02 +01:00
Christian Mauderer
03fecae9c4 bsp/atsam: Add option to disable 32kHz XTAL. 2018-02-12 14:25:02 +01:00
Sebastian Huber
a3eec5cf35 fsclose01: Fix task mode, use attribute
Update #1971.
2018-02-09 13:17:45 +01:00
Sebastian Huber
48aa4b5d50 fsclose01: Use floating-point task
The tmpfile() uses sprintf().

Update #1971.
2018-02-09 13:14:52 +01:00
Sebastian Huber
dc8fd01529 tests: Support %g print format specifier 2018-02-09 08:56:20 +01:00
Sebastian Huber
ed24ed4e0a Use _Thread_Dispatch_direct()
Use _Thread_Dispatch_direct() for operations that block the executing
thread.  This ensures that we get a fatal error
(INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL) if we try to block in
an invalid context, e.g. during system start or an interrupt handler.
2018-02-08 11:20:40 +01:00
Sebastian Huber
a49dfb16cc rtems: Use _Per_CPU_Get_executing() 2018-02-08 10:46:11 +01:00
Sebastian Huber
9ace264875 fdt: Use self-contained mutex
Update #2843.
2018-02-08 09:37:25 +01:00
Sebastian Huber
abc2164d3c bsps/powerpc: Fix redefinitions 2018-02-07 09:23:49 +01:00
Sebastian Huber
18f285c296 bsps/sparc64: Fix redefinitions 2018-02-07 09:23:26 +01:00
Sebastian Huber
0f7913b911 network: Fix integer types 2018-02-07 09:23:08 +01:00
Sebastian Huber
2fd3111708 stdio-redirector: Use self-contained mutex
Update #2843.
2018-02-07 08:58:31 +01:00
Sebastian Huber
2aa5b98c32 syslog: Use self-contained recursive mutex
Update #2843.
2018-02-07 08:58:31 +01:00
Sebastian Huber
3535439f5c tftpfs: Use self-contained mutex
Update #2843.
2018-02-07 08:58:31 +01:00
Sebastian Huber
71a84461d5 libdl: Fix potential overwrite of dest buffer
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
87b7117ffd libdl: Use self-contained mutex for RAP
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
d9800ac58d libdl: Use self-contained recursive mutex
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
0a593c2d3f ftpd: Use self-contained synchronization objects
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
a59a61828b libblock: Use self-contained mutex for media
Update #2843.
2018-02-07 08:58:30 +01:00
Sebastian Huber
868ca746c2 libblock: Use self-contained mutex for sparse disk
Update #2843.
2018-02-07 08:58:29 +01:00
Sebastian Huber
f9027ccfd3 libblock: Use self-contained mutex for flashdisk
Update #2843.
2018-02-07 08:58:29 +01:00
Sebastian Huber
c8d5bed13c libblock: Use self-contained mutex for nvdisk
Update #2843.
2018-02-07 08:58:29 +01:00
Sebastian Huber
e16111b2cf NFS: Fix use of self-contained objects
Update #2843.
2018-02-07 08:58:22 +01:00
Joel Sherrill
ea7f4a0ca1 sparc/*/linkcmds*: Move ENTRY() from linkcmds.base to top linkcmds
This was at the request of a user to make it easier to have a
custom entry point. This way they just provide their own top
level linkcmds and include linkcmds.base.

Updates #3520.
2018-02-05 10:35:08 -06:00
Sebastian Huber
3454179dee bsp/altera-cyclone-v: Add device tree support
Update #3290.
2018-02-05 13:55:24 +01:00
Sebastian Huber
0f4a7391bb bsps/powerpc: Remove support for mpc505
Close #3270.
2018-02-05 11:45:17 +01:00
Sebastian Huber
53b6484d38 termios: Remove obsolete configuration options
Update #2843.
2018-02-05 09:57:45 +01:00
Sebastian Huber
4ac5ffbb83 fsclose01: Add tmpfile() test case
Close #1971.
2018-02-05 09:31:32 +01:00
Sebastian Huber
03e5a7800d NFS: Use self-contained recursive mutex
Update #2843.
2018-02-02 15:01:23 +01:00
Sebastian Huber
8ddd92d56a pipe: Use self-contained mutex
Update #2843.
2018-02-02 15:01:23 +01:00
Sebastian Huber
0940648f6f RFS: Use self-contained recursive mutex
Update #2843.
2018-02-02 15:01:22 +01:00
Sebastian Huber
3b77417ba7 dosfs: Use self-contained recursive mutex
Update #2843.
2018-02-02 15:01:22 +01:00
Sebastian Huber
b17bcb3855 JFFS2: Use self-contained recursive mutex
Update #2843.
2018-02-02 15:01:22 +01:00
Sebastian Huber
16fc3f9a54 network: Use self-contained recursive mutex
Update #2843.
2018-02-02 15:01:22 +01:00
Sebastian Huber
36304f3d7a spi: Use self-contained mutex
Update #2843.
2018-02-02 15:01:21 +01:00
Sebastian Huber
dc158ad4ec i2c: Use self-contained mutex
Update #2843.
2018-02-02 15:01:21 +01:00
Sebastian Huber
2c12262f9a termios: Use self-contained objects
Update #2840.
2018-02-02 15:01:21 +01:00
Sebastian Huber
8d7f36807c libblock: Use self-contained mutex and cond var
Update #2843.
2018-02-02 15:01:21 +01:00
Sebastian Huber
1b2da177ef libblock: Use self-contained mutex for disk lock
Update #2843.
2018-02-02 15:01:21 +01:00
Sebastian Huber
f14a04c6ef Add RTEMS thread API
Update #2843.
2018-02-02 15:01:20 +01:00
Sebastian Huber
8fa4549eb2 posix: Use one second based CLOCK_MONOTONIC
This simplifies the CLOCK_MONOTONIC based time services.  It is
potentially important for libbsd.

Close #3265.
2018-02-02 15:01:20 +01:00
Sebastian Huber
9480815a22 score: Introduce new monotonic clock
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS.  Add new
PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured
by timecounter).

Close #3264.
2018-02-02 15:01:20 +01:00
Sebastian Huber
3a4e044e64 score: Rename _Watchdog_Realtime_from_*()
Rename _Watchdog_Realtime_from_*() to _Watchdog_Ticks_from_*().

Update #3264.
2018-02-02 15:01:20 +01:00
Sebastian Huber
89c0313938 score: Optimize watchdog tickle
Avoid unnecessary lock acquire/release operations.  Get realtime via
timecounter only if necessary.

Update #3264.
2018-02-02 15:01:20 +01:00
Sebastian Huber
0c5d22f509 smptests/smpopenmp01: New test 2018-02-02 15:01:19 +01:00
Sebastian Huber
d71d1da508 spsyslock01: Fix object compare
Due to structure internal padding the use of memcmp() may lead to
sporadic test failures.

Update #3082.
2018-02-02 15:01:19 +01:00