Commit Graph

28642 Commits

Author SHA1 Message Date
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
Sebastian Huber
bbd8484b2a bsp/t32mppc: Use -Og optimization level 2015-11-27 11:17:51 +01:00
Sebastian Huber
0a3110158f bsp/t32mppc: Convert to Termios device 2015-11-27 10:39:33 +01:00
Sebastian Huber
50552818d7 Delete unused declarations and define 2015-11-27 07:25:01 +01:00
Sebastian Huber
443c61ec94 Delete empty libc_init() 2015-11-27 07:24:51 +01:00
Sebastian Huber
ac5f2442e3 Require __getreent()
This function is used by Newlib since 2013-07-09 (Git commit
9b51cd8c6b9cdd067d9648a7ab952884019c56a5).
2015-11-25 08:33:31 +01:00
Sebastian Huber
8ce0b0cb19 Fix _Assert() statement 2015-11-25 07:55:00 +01:00
Sebastian Huber
f6a1ef9fdb posix: Require struct _pthread_cleanup_context
This structure is available in Newlib since 2013-11-29 (Git commit
a534dfd26e765047621acd0eda656ded886e7108).
2015-11-24 16:00:14 +01:00
Sebastian Huber
d62dfc7d99 bsp/altera-cyclone-v: Add fatal extension handler 2015-11-24 08:33:52 +01:00
Pavel Pisa
9394aa5ed7 untar: do not exit with error when created directory already exists.
The problem exists for both RTEMS untar implementations and their
variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load().

If filesystem object already exists at extracted directory path
then if it is directory, creation is ignored. Attempt
to delete/unlink object and make directory is tried for other cases.

This simple approach problem reported in ticket fixes #2413.
Behavior follows GNU tar and BSD tar practice for directories
but much more work is required to achieve full semantics
of the full featured tar implementation still.
2015-11-23 10:40:15 -05:00
Premysl Houdek
3e1196d9e1 bsp/tms570: unite code duplication in pinmux and clean SCI close per review remarks.
Signed-off-by: Premysl Houdek <kom541000@gmail.com>
2015-11-18 13:12:44 -05:00
Pavel Pisa
74172b7da0 bsp/tms570: use common tms570ls3137.inc file for all board ling variants.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
2015-11-18 10:19:46 -05:00