Commit Graph

31304 Commits

Author SHA1 Message Date
Sebastian Huber
d440a9e044 bsps/m68k: Fix entry point in linkcmds.base
Updates #3520.
2018-03-07 10:33:03 +01:00
Sebastian Huber
ff281a6fa6 smptests: Fix obsolete FIXME comments/code 2018-03-07 10:33:03 +01:00
Sebastian Huber
337a186909 Add a simple task console driver
Close #3320.
2018-03-06 12:32:09 +01:00
Thanassis Tsiodras
4899759f73 bsps/sparc: Fix global construction/destruction
The

  KEEP (*(SORT(.ctors.*)))
  KEEP (*(.ctors))

cannot be simplified to

  KEEP (*(SORT(.ctors*)))

since

  .ctors < .ctors.*

in lexicographical order.

See spglobalcon02 test case.

Update #3319.
2018-03-06 07:27:21 +01:00
Sebastian Huber
8b2d5b8407 spglobalcon02: New test
Update #3319.
2018-03-06 07:27:18 +01:00
Sebastian Huber
0d44e251d9 ada/sp04: Fix test failure due to compiler opti
The SPTEST.RUN_COUNT must be volatile since it is changed outside of the
procedure scope by the thread switch extension.
2018-02-22 16:40:16 +01:00
Sebastian Huber
5618997dfd termios: Fix use of uninitialized variable
Update #2840.
2018-02-22 15:35:20 +01:00
Joel Sherrill
40c623a883 powerpc/shared/startup/linkcmds.base: Add wildcards on some sections
Closes #3307.
2018-02-19 13:12:08 -06:00
Joel Sherrill
c232b378b8 confdefs.h: Minor rework to avoid warnings when CONFIGURE_HAS_OWN_INIT_TABLE
CONFIGURE_HAS_OWN_INIT_TABLE was used both with and without
defining CONFIGURE_RTEMS_INIT_TASKS_TABLE. This rework allows
it to work both ways without warnings.
2018-02-19 13:06:46 -06:00
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