Commit Graph

13958 Commits

Author SHA1 Message Date
Aun-Ali Zaidi
1a244d1410 arm/altera-cyclone-v: Add per-section compilation and linking support
The size of the sample executables without this option were:

   text	   data	    bss	    	dec	    	hex		filename
 102224	   1896	1071540512	1071644632	3fdfffd8	minimum.exe
 114052	   2012	1071528560	1071644624	3fdfffd0	base_sp.exe
 124228	   2100	1071518284	1071644612	3fdfffc4	nsecs.exe
 156660	   2488	1071485472	1071644620	3fdfffcc	capture.exe
 171712	   2032	1071470888	1071644632	3fdfffd8	cdtest.exe
 152916	   2388	1071489312	1071644616	3fdfffc8	paranoia.exe
 107132	   1980	1071535512	1071644624	3fdfffd0	hello.exe
 421588	   5924	1071217120	1071644632	3fdfffd8	fileio.exe
 116652	   2012	1071525960	1071644624	3fdfffd0	ticker.exe
 205796	   6784	1071432044	1071644624	3fdfffd0	loopback.exe
 442992	   2240	1071199404	1071644636	3fdfffdc	cxx_iostream.exe
 332816	  12900	1071298908	1071644624	3fdfffd0	pppd.exe
 116180	   2036	1071526400	1071644616	3fdfffc8	unlimited.exe

The size of the sample executables with this option enabled were:

   text	   data	    bss	    	dec	    	hex		filename
  24988	   1280	1071618360	1071644628	3fdfffd4	minimum.exe
  67872	   1940	1071574804	1071644616	3fdfffc8	base_sp.exe
  81480	   2028	1071561132	1071644640	3fdfffe0	nsecs.exe
 133340	   2408	1071508888	1071644636	3fdfffdc	capture.exe
 140428	   1960	1071502236	1071644624	3fdfffd0	cdtest.exe
 120388	   2316	1071521936	1071644640	3fdfffe0	paranoia.exe
  73212	   1900	1071569528	1071644640	3fdfffe0	hello.exe
 392652	   5852	1071246120	1071644624	3fdfffd0	fileio.exe
  70472	   1940	1071572204	1071644616	3fdfffc8	ticker.exe
 175352	   6624	1071462652	1071644628	3fdfffd4	loopback.exe
 290832	   2160	1071351628	1071644620	3fdfffcc	cxx_iostream.exe
 294284	  12696	1071337640	1071644620	3fdfffcc	pppd.exe
  69124	   1956	1071573552	1071644632	3fdfffd8	unlimited.exe
2016-01-07 18:45:38 -06:00
Joel Sherrill
c37710b537 powerpc/psim: Add per-section compilation and linking support
The size of the sample executables without this option were:

 169644	   2260	16605288	16777192	 ffffe8	ticker.exe
 125480	   1984	16649712	16777176	 ffffd8	minimum.exe
1009716	 146443	15621024	16777183	 ffffdf	cxx_iostream.exe
 691892	   6218	16079064	16777174	 ffffd6	fileio.exe
 256048	   2748	16518404	16777200	 fffff0	capture.exe
 195878	   2348	16578964	16777190	 ffffe6	nsecs.exe
 205540	   2620	16569020	16777180	 ffffdc	paranoia.exe
 270988	   9700	16496492	16777180	 ffffdc	cdtest.exe
 166348	   2252	16608584	16777184	 ffffe0	base_sp.exe
 168860	   2252	16606076	16777188	 ffffe4	unlimited.exe
 152336	   2108	16622740	16777184	 ffffe0	hello.exe

The size of the sample executables with this option enabled were:

 127352	   2216	16647628	16777196	 ffffec	ticker.exe
  55584	   1588	16720024	16777196	 ffffec	minimum.exe
 647256	  51050	16078868	16777174	 ffffd6	cxx_iostream.exe
 660264	   6186	16110724	16777174	 ffffd6	fileio.exe
 233796	   2680	16540712	16777188	 ffffe4	capture.exe
 154018	   2304	16620856	16777178	 ffffda	nsecs.exe
 185492	   2592	16589108	16777192	 ffffe8	paranoia.exe
 240628	   8396	16528176	16777200	 fffff0	cdtest.exe
 124088	   2208	16650892	16777188	 ffffe4	base_sp.exe
 125404	   2204	16649568	16777176	 ffffd8	unlimited.exe
 130696	   2076	16644408	16777180	 ffffdc	hello.exe
2016-01-05 17:34:29 -06:00
Joel Sherrill
bd655345c1 mips/jmr3904: Add per-section compilation and linking support
The size of the sample executables without this option were:

 128028	   1812	  12224	 142064	  22af0	ticker.exe
  52600	   1324	   8192	  62116	   f2a4	minimum.exe
1156240	   2168	  19696	1178104	 11f9f8	cxx_iostream.exe
 706952	   5908	  24600	 737460	  b40b4	fileio.exe
 243232	   2372	  14084	 259688	  3f668	capture.exe
 155660	   1940	  12376	 169976	  297f8	nsecs.exe
 201256	   2212	  12896	 216364	  34d2c	paranoia.exe
 253696	   1872	  12576	 268144	  41770	cdtest.exe
 124452	   1812	  12208	 138472	  21ce8	base_sp.exe
 127640	   1844	  15648	 145132	  236ec	unlimited.exe
 133452	   1780	  11760	 146992	  23e30	hello.exe

The size of the sample executables with this option enabled were:

 115052	   1712	  12096	 128860	  1f75c	ticker.exe
  40760	   1256	   8144	  50160	   c3f0	minimum.exe
 671768	   2076	  18688	 692532	  a9134	cxx_iostream.exe
 679672	   5696	  23992	 709360	  ad2f0	fileio.exe
 227384	   2196	  13924	 243504	  3b730	capture.exe
 143132	   1832	  12248	 157212	  2661c	nsecs.exe
 187736	   2104	  12768	 202608	  31770	paranoia.exe
 234324	   1788	  12448	 248560	  3caf0	cdtest.exe
 111556	   1712	  12080	 125348	  1e9a4	base_sp.exe
 112876	   1744	  15520	 130140	  1fc5c	unlimited.exe
 118120	   1688	  11696	 131504	  201b0	hello.exe
2016-01-05 17:34:29 -06:00
Joel Sherrill
c653559e05 jmr3904.cfg: Delete old comments 2016-01-05 17:34:28 -06:00
Joel Sherrill
bc8176bcd5 c/Makefile.am, c/configure.ac: Remove references to TOOL_TARGETS 2016-01-04 14:03:31 -06:00
Joel Sherrill
e2f633aa01 c/TOOL_TARGETS: Remove obsolete file 2016-01-04 11:10:40 -06:00
Joel Sherrill
1528fdaf24 Remove AVR Architectural Port
Updates #2443.
2016-01-04 11:08:27 -06:00
Joel Sherrill
f6a8663ec5 Remove H8300 port
updates #2452.
2016-01-04 11:07:26 -06:00
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
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
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
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
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
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
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
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
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
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
8054b1c718 Remove <rtems/debug.h>
Close #2477.
2015-12-07 13:11:07 +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
Sebastian Huber
8d6ceb1a61 bsp/t32mppc: Add primitive NULL pointer protection 2015-11-30 13:04:21 +01:00