Commit Graph

28453 Commits

Author SHA1 Message Date
Chris Johns
6470d02cd6 Fix rtems-bsps for GNU find hosts.
Fixed as reported by Pavel:

 https://lists.rtems.org/pipermail/devel/2015-December/013189.html

Closes #2498.
2015-12-16 11:48:41 +11:00
Sebastian Huber
07b76fd76a score: Avoid dependency on bcopy() 2015-12-15 11:32:44 +01:00
Sebastian Huber
2b137eda38 psxtests/psxcleanup02: New test 2015-12-15 08:21:42 +01:00
Nick Withers
7a0c4854c6 libmisc: Include missing header file, fix warnings 2015-12-15 07:47:27 +01:00
Sebastian Huber
e01b184350 rtems: Delete empty function 2015-12-15 07:41:35 +01:00
Sebastian Huber
173d1f8473 posix: Store unblocked signals
Store the unblock signals to exploit the zero-initialization of the
thread control block.
2015-12-15 07:41:34 +01:00
Sebastian Huber
54c3fbd63e score: Initialize thread control to zero
This reduces the code size of the thread initialization.
2015-12-15 07:41:34 +01:00
Joel Sherrill
af418e8f6b configure.ac: Do not reference ep1a 2015-12-14 21:31:59 -06:00
Aun-Ali Zaidi
f39e173c47 mips/genmongoosev: Remove
updates #2448.
2015-12-14 11:31:11 -05:00
Aun-Ali Zaidi
f6a8a77f0e h8300: Regenerate h8300 architecture
closes #2453.
2015-12-14 11:31:11 -05:00
Ethan Ordentlich
f8d8a7345e doc: grammar fix as part of GCI 2016 2015-12-14 11:24:16 -05:00
Sebastian Huber
00dbecb820 score: Help GCC to inline a function 2015-12-14 07:56:29 +01:00
Chris Johns
717368c9c1 Display only valid BSPs, ignore other .cfg files.
Show the architecture and BSP count.

Closes #2491.
2015-12-14 17:05:24 +11:00
Aun-Ali Zaidi
357fdfc246 h8300/h8sim: Remove
updates #2453.
2015-12-13 22:02:57 -05:00
Aun-Ali Zaidi
f2a228b2cb arm/gp32: Remove
updates #2451.
2015-12-13 08:39:14 -05:00
Jan Sommer
687463d7f3 Store task_id of the current thread for the ISR before waiting for the transient event
The ISR will send a transient event to the task specified in bus->taskid.
Make sure that the correct task_id is written to this field before waiting
for the transient event to arrive.

Fixes #2483
2015-12-12 20:22:03 -05:00
Aun-Ali Zaidi
c8a8a6013f arm/gba: Remove
updates #2449.
2015-12-12 20:21:33 -05:00
Aun-Ali Zaidi
32c2cd2be1 arm/nds: Remove
updates #2450.
2015-12-11 09:20:34 -05:00
Sebastian Huber
df55d07f2e score: Untangle thread actions
Remove the thread action handler parameter from
_Thread_Action_initialize() and instead set it later in
_Thread_Add_post_switch_action().  This avoids a dependency on the
thread action handler via the thread initialization.
2015-12-11 08:20:48 +01:00
Sebastian Huber
d0c3983814 Use linker set for system initialization
Make rtems_initialize_data_structures(),
rtems_initialize_before_drivers() and rtems_initialize_device_drivers()
static.  Rename rtems_initialize_start_multitasking() to
rtems_initialize_executive() and call the registered system
initialization handlers in this function.  Add system initialization API
available via #include <rtems/sysinit.h>.  Update the documentation
accordingly.

This is no functional change, only the method to call the existing
initialization routines changes.  Instead of direct function calls a
table of function pointers contained in the new RTEMS system
initialization linker set is used.  This table looks like this (the
actual addresses depend on the target).

nm *.exe | grep _Linker | sort
0201a2d0 D _Linker_set__Sysinit_begin
0201a2d0 D _Linker_set__Sysinit_bsp_work_area_initialize
0201a2d4 D _Linker_set__Sysinit_bsp_start
0201a2d8 D _Linker_set__Sysinit_rtems_initialize_data_structures
0201a2dc D _Linker_set__Sysinit_bsp_libc_init
0201a2e0 D _Linker_set__Sysinit_rtems_initialize_before_drivers
0201a2e4 D _Linker_set__Sysinit_bsp_predriver_hook
0201a2e8 D _Linker_set__Sysinit_rtems_initialize_device_drivers
0201a2ec D _Linker_set__Sysinit_bsp_postdriver_hook
0201a2f0 D _Linker_set__Sysinit_end

Add test sptests/spsysinit01.

Update #2408.
2015-12-11 08:17:16 +01:00
Joel Sherrill
d19d1c23ec m32r/configure.ac: Looked for m32rsim to exist and now is gone 2015-12-10 07:46:14 -06:00
Aun-Ali Zaidi
f7c47a6880 m32r/m32rsim: Remove
updates #2447.
2015-12-10 09:28:47 +01:00
Sebastian Huber
2858939a2c bsps: Delete superfluous bsp_pretasking_hook()
Use the bsp_predriver_hook() instead.

Update #2408.
2015-12-10 08:32:37 +01:00
Sebastian Huber
e7545f1b40 bsps/powerpc: Use default bsp_pretasking_hook()
Update #2408.
2015-12-10 08:32:37 +01:00
Sebastian Huber
afe87e1a1f bsps/bfin: Use default bsp_pretasking_hook()
Rename BSP-specific bsp_pretasking_hook() to bsp_predriver_hook().

Update #2408.
2015-12-10 08:32:37 +01:00
Sebastian Huber
ac78f35cb1 bsp/beatnik: Delete superfluous declaration
Update #2408.
2015-12-10 08:32:36 +01:00
Sebastian Huber
20d7093a9a bsps/virtex*: Use default bsp_pretasking_hook()
Update #2408.
2015-12-10 08:32:36 +01:00
Sebastian Huber
37030e38c6 bsps: Call bsp_work_area_initialize() early
Call bsp_work_area_initialize() before bsp_start().  This allows
bsp_start() to use malloc() etc. which is beneficial for systems with a
plug-and-play hardware enumeration.

Update #2408.
2015-12-10 08:32:36 +01:00
Sebastian Huber
938ef78cc4 bsps/sparc: Use default bsp_pretasking_hook()
Move content to bsp_predriver_hook() functions of the BSPs.

Update #2408.
2015-12-10 08:32:36 +01:00
Sebastian Huber
b318cb138f sparc: Simplify _CPU_Get_current_per_CPU_control()
Drop the superfluous parenthesis since this confuses the C++ compiler of
some GCC versions.  See also

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064
2015-12-10 08:32:36 +01:00
Sebastian Huber
9ef736a6fd bsp/tqm8xx: Fix linker set description
Fix broken RTEMS linker set description introduced by
b618d8cfc5.
2015-12-10 08:32:35 +01:00
Sebastian Huber
5df8168967 doc: Fix build for Ada user manual 2015-12-09 16:11:19 +01:00
Sebastian Huber
08a315d76a bsps/sh: Disable fileio test due to lack of memory 2015-12-09 14:23:24 +01:00
Sebastian Huber
328d40674b bsps/sh: Disable fileio test due to lack of memory 2015-12-09 14:15:42 +01:00
Sebastian Huber
44d18b9e64 bsps: Fix some linker set descriptions
Fix broken RTEMS linker set descriptions introduced by
b618d8cfc5.
2015-12-09 14:04:52 +01:00
Aun-Ali Zaidi
05d09f44fc powerpc/ep1a: Remove
updates #2457.
2015-12-09 07:27:28 +01:00
Ralph Holmes
999529516a powerpc/score603e: Remove (obselete).
Updates #2458.
2015-12-08 21:17:00 -05:00
Aun-Ali Zaidi
9ae2d98866 m68k/mvme136: Remove
closes #2444.
2015-12-08 14:02:43 -06:00
Sebastian Huber
b618d8cfc5 Add RTEMS linker sets
Update #2408.
2015-12-08 09:25:22 +01:00
Sebastian Huber
9736283857 score: Statically initialize system state
Update #2408.
2015-12-08 08:43:41 +01:00
Sebastian Huber
bd91f446f2 score: Delete unused API extensions
Update #2408.
2015-12-08 08:38:10 +01:00
Sebastian Huber
60c5461547 score: Statically initialize API extensions
Update #2408.
2015-12-08 08:38:06 +01:00
Aun-Ali Zaidi
a4e172aca7 m68k/sim68000: Remove
closes #2445.
2015-12-08 07:31:20 +01:00
Sebastian Huber
762390eca1 bsp/generic_or1k: Delete unused extern declaration 2015-12-07 14:53:48 +01:00
Sebastian Huber
452eec433b doc: Remove reference to debug mask
Update #2477.
2015-12-07 14:43:17 +01:00
Sebastian Huber
8054b1c718 Remove <rtems/debug.h>
Close #2477.
2015-12-07 13:11:07 +01:00
Sebastian Huber
a06201439a Delete _Region_Debug_Walk()
The expensive heap walks are superfluous due to the heap protection
enabled via RTEMS_DEBUG.

Update #2477.
2015-12-07 13:10:50 +01:00
Pavel Pisa
4a02a74154 bsp/tms570: ensure that linker symbol comparison to NULL is not optimized out.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2015-12-01 21:09:41 -05:00
Joel Sherrill
4b8184f0ed psxtmtests_plan.csv: Fix typo 2015-12-01 08:33:43 -06:00
Sebastian Huber
8d6ceb1a61 bsp/t32mppc: Add primitive NULL pointer protection 2015-11-30 13:04:21 +01:00