Commit Graph

28470 Commits

Author SHA1 Message Date
Joel Sherrill
f5201df0dc Remove M32R architecture
updates #2446.
2016-01-04 11:07:00 -06:00
Joel Sherrill
ebcf458d03 powerpc/qemuppc/configure.ac: Correct typo 2016-01-04 11:05:33 -06:00
Joel Sherrill
7297258123 m32c/m32cbsp/configure.ac: Correct typo 2016-01-04 11:05:32 -06:00
Sebastian Huber
a061f9d3c5 score: Fix watchdog insert
Under certain conditions a new watchdog was inserted with a wrong
and very large delta interval due to a wrong iterator update.

Bug was introduced by 1ccbd05291.

Close #2507.
2016-01-04 10:23:20 +01:00
Sebastian Huber
07d4e76913 sptests/sp07: Fix test case
Fix things broken by commit d5154d0f6a.

Update #2493.
2016-01-04 10:23:19 +01:00
Jan Sommer
4200a36a75 bsp/raspberrypi: Move assignment outside if-condition
Assignment was misplaced by one line.
2015-12-29 18:35:07 -06:00
Joel Sherrill
0c0c18ad69 m68k/idp: Minor Doxygen Cleanup 2015-12-29 18:34:22 -06:00
Ben Gras
127e08bbfe beagle sdcard.sh: objcopy 4.12
Fixes #2505.
2015-12-27 04:24:08 +01:00
Joel Sherrill
c924e8502f user/task.t: Add advice on transitioning use of notepads
closes #2493.
2015-12-24 17:03:51 -06:00
Joel Sherrill
2268ee63ab libbsp/bfin and libbsp/powerpc acinclude.m4 regenerate 2015-12-24 16:52:34 -06:00
Aun-Ali Zaidi
d5154d0f6a api: Remove deprecated Notepads
Notepads where a feature of RTEMS' tasks that simply functioned in
the same way as POSIX keys or threaded local storage (TLS). They were
introduced well before per task variables, which are also deprecated,
and were barely used in favor of their POSIX alternatives.

In addition to their scarce usage, Notepads took up unnecessary memory.
For each task:

 - 16 32-bit integers were allocated.
 - A total of 64 bytes per task per thread.

This is especially critical in low memory and safety-critical applications.

They are also defined as uint32_t, and therefore are not guaranteed to
hold a pointer.

Lastly, they are not portable solutions for SMP and uniprocessor systems,
like POSIX keys and TLS.

updates #2493.
2015-12-24 16:52:34 -06:00
Sebastian Huber
a48b7c442d score: Fix watchdog removal
Under certain conditions a new watchdog was inserted with a wrong and
very large delta interval due to an incomplete iterator update.

Bug was introduced by 1ccbd05291.

Close #2501.
2015-12-21 08:32:20 +01:00
Ralph Holmes
34a2ec924d avr/avrtest: Remove (obselete).
Updates #2442.
2015-12-19 14:58:41 -05:00
jfjhh
b355e19024 doc: Epiphany BSP SIM headers 2015-12-18 22:04:02 -05:00
Martin Galvan
867b99f8fd Beaglebone Black: Fix rtems_gpio_bsp_disable_interrupt disabling all the GPIO interrupts
Currently, rtems_gpio_bsp_disable_interrupt disables the interrupts for all the
pins, not just the one that actually caused the interrupt. This patch
fixes that issue.

Closes #2497.
2015-12-16 14:07:38 -05:00
Sebastian Huber
18847aca2a doc: SMP status of RTEMS 2015-12-16 08:23:44 +01:00
Sebastian Huber
4fa4ccb6bb doc: SMP introduction 2015-12-16 07:54:14 +01:00
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