Commit Graph

10611 Commits

Author SHA1 Message Date
Sebastian Huber
2d0bc839ed build: Remove EXTRA_DIST
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
2018-04-04 10:09:04 +02:00
Sebastian Huber
549b1d6bbe Remove unused POSIX_NOT_IMPLEMENTED() declaration 2018-03-27 08:33:06 +02:00
Sebastian Huber
7353422fc3 mpci: Fix _MPCI_Enqueue_callout()
Update #3117.
Update #3182.
2018-03-22 09:05:26 +01:00
Sebastian Huber
2c65588862 config: Fix re-definition warning 2018-03-22 08:39:07 +01:00
Sebastian Huber
3da2f4711d mpci: Update due to thread queue API changes
Update #3117.
Update #3182.
2018-03-22 08:39:07 +01:00
Amaan Cheval
efa0039ee9 i386/smp: Export _CPU_SMP_Prepare_start_multitasking as a function
When it's a macro, a function declaration causes a compiler error due to the
macro being expanded.

Partial log showing error:
https://gist.github.com/AmaanC/ab3521141479aa6f61ea25f5d74ebb4d

Closes #3331
2018-03-16 11:01:55 -05:00
Amaan Cheval
e9fb313376 i386/smp: Define CPU_Interrupt_frame as non-void struct
This change, excluding the #error directive, lets us make progress towards
compiling i386 targets with --enable-smp.

The #error directive needs to be there since the CPU_Interrupt_frame is used by
the SMP context switching code, and this placeholder struct, if used, would only
lead to more subtle bugs and errors. With the directive, the SMP context
switching code can be improved separately.

Updates #3331
2018-03-16 11:01:55 -05:00
Joel Sherrill
74fe9ceda5 rtems/bfin/bf533.h: Eliminate redefinition warning and add sanity check
Closes #3346.
2018-03-16 08:38:20 -05:00
Sebastian Huber
478dc8968f imfs: Use most efficient way to get the time
As a side-effect, this fixes some warnings.

Close #3350.
2018-03-16 07:52:45 +01:00
Joel Sherrill
0a7a30d19d Add PowerPC paravirtualization support
Cannot read or write MSR when executing in user mode. This
is used when RTEMS_PARAVIRT is defined.

Provide alternate methods to disable/enable interrupts

Closes #3306.
2018-03-13 09:55:23 -05:00
Joel Sherrill
c0443b4ce9 Add ARM Paravirtualization support
Closes #3305.
2018-03-13 09:55:23 -05:00
Joel Sherrill
7c39cab92a Rework i386 Paravirtualization to have paravirt.h 2018-03-13 09:49:21 -05:00
Sebastian Huber
7633f5b394 sparc64: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:40 +01:00
Sebastian Huber
8b5778e69e sparc: Move libcpu content to cpukit
This patch is a part of the BSP source reorganization.

Update #3285.
2018-03-13 08:05:39 +01:00
Joel Sherrill
c2282d6dca sparc/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:41 -05:00
Joel Sherrill
55e76c270f sparc64/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:41 -05:00
Joel Sherrill
d978d1b473 powerpc/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:40 -05:00
Joel Sherrill
8d96b46fa1 m68k/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:40 -05:00
Joel Sherrill
5b88ec5b68 riscv/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:40 -05:00
Joel Sherrill
eb142feec4 arm/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:40 -05:00
Joel Sherrill
43bd6b15e8 v850/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:40 -05:00
Joel Sherrill
e88abc0a1e no_cpu/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:39 -05:00
Joel Sherrill
7dde32f04e or1k/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:39 -05:00
Joel Sherrill
924cecd9fa m32c/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:39 -05:00
Joel Sherrill
a518ff4ba9 moxie/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:39 -05:00
Joel Sherrill
fce900b543 sh/include/rtems/score/types.h: Eliminate this file
Updates #3327.
2018-03-12 14:29:38 -05:00
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
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
0231ebc22f config: Remove RTEMS prefix from internal defines
Update #3325.
2018-03-08 07:05:07 +01:00
Sebastian Huber
ef900abd90 capture: Fix get priority methods 2018-03-07 13:03:36 +01:00
Sebastian Huber
337a186909 Add a simple task console driver
Close #3320.
2018-03-06 12:32:09 +01:00
Sebastian Huber
5618997dfd termios: Fix use of uninitialized variable
Update #2840.
2018-02-22 15:35:20 +01: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
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
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