Commit Graph

31525 Commits

Author SHA1 Message Date
Joel Sherrill
00acca28d6 nios2/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:38 -05:00
Joel Sherrill
c83d16943c epiphany/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:38 -05:00
Joel Sherrill
c98d4748b7 lm32/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:38 -05:00
Joel Sherrill
a1df2fdcc8 i386/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:37 -05:00
Joel Sherrill
859251a3ac mips/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:37 -05:00
Joel Sherrill
cbbe68ba0e bfin/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:37 -05:00
Sebastian Huber
2cec5acdf2 shell: Fix rtems_shell_init_env()
Do not discard a user provided task name in rtems_shell_init_env().
2018-03-12 11:24:44 +01:00
Sebastian Huber
0fb724a7bd libblock: C++ compatibility 2018-03-12 10:05:09 +01:00
Sebastian Huber
6fadb7af09 config: Use new scheduler configuration defines
Update #3325.
2018-03-12 07:01:30 +01:00
Sebastian Huber
2ef85b1c76 config: Simplify clustered scheduler configuration
Do not use names derived from scheduler implementation details.  Instead
use names derived from the scheduler configuration or documentation.

Provide defines for backward compatibility.

Update #3325.
2018-03-12 07:01:30 +01:00
Amaan Cheval
4dfeba3a0e bootstrap: Use printf instead of echo -e for POSIX shells
On POSIX compliant shells, echo does not have the -e option.
This causes the "-e" to be echoed as well, causing potential buggy
build processes.

Example shell session:

-> % sh
$ echo -e "foo bar"
-e foo bar
$

According to POSIX, "\$" should be fine regardless due to the use of
double-quotes[1]. However, since printf is recommended over echo anyway,
we replace "echo -e" with printf where required.

[1] http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_02_03
2018-03-09 13:16:01 -06:00
Sebastian Huber
16f4661fd1 network: Optionally install network headers
Install the network headers only if --enable-networking is specified.

Update #3254.
2018-03-09 08:43:29 +01:00
Joel Sherrill
89ac281f5b cpukit/include/mqueue.h: Delete unneeded includes 2018-03-08 11:22:48 -06:00
Joel Sherrill
c006bf5086 score/cpu/powerpc/include/rtems/score/powerpc.h: Fix typo 2018-03-08 11:22:48 -06:00
Joel Sherrill
bc16c65e39 powerpc/include/rtems/score/types.h: Remove unused ppc_isr
Updates #3327.
2018-03-08 11:22:36 -06:00
Sebastian Huber
828049cb47 sptests/sp19: Fix test output methods
Do not use fprintf() in non-fp tasks.
2018-03-08 08:49:15 +01:00
Sebastian Huber
0231ebc22f config: Remove RTEMS prefix from internal defines
Update #3325.
2018-03-08 07:05:07 +01:00
Sebastian Huber
d39cc06873 bsps: More verbose bsp_fatal_extension()
Close #3318.
2018-03-07 13:03:36 +01:00
Sebastian Huber
ef900abd90 capture: Fix get priority methods 2018-03-07 13:03:36 +01:00
Sebastian Huber
a4151d0661 libtests/capture01: Fix configuration 2018-03-07 13:03:35 +01:00
Sebastian Huber
befae6ab98 bsp/genmcf548x: Fix printk() support 2018-03-07 13:03:32 +01:00
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