Commit Graph

15374 Commits

Author SHA1 Message Date
Joel Sherrill
dde1fedb09 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization
	Framework to ask the BSP where it has memory for the RTEMS Workspace
	and C Program Heap. These collectively are referred to as work area.
	If the BSP supports this, then it does not have to include code to
	split the available memory between the two areas. This reduces the
	amount of code in the BSP specific bspstart.c file. Additionally, the
	shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:55:28 +00:00
Joel Sherrill
2211b75c44 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, startup/bspstart.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:55 +00:00
Joel Sherrill
5545002da9 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/pretaskinghook.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:24 +00:00
Joel Sherrill
4c94ffff2c 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can initialize
	the C Library, call rtems_debug_enable(), and dirty the work area
	memory. Until most/all BSPs support this new capability, if the BSP
	supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:15 +00:00
Joel Sherrill
b67a822d6f 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can initialize
	the C Library, call rtems_debug_enable(), and dirty the work area
	memory. Until most/all BSPs support this new capability, if the BSP
	supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:54:11 +00:00
Joel Sherrill
8f78ced725 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c, shared/start.S: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:53:23 +00:00
Joel Sherrill
5e5d0b16ed 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can initialize the C Library, call
	rtems_debug_enable(), and dirty the work area memory. Until most/all
	BSPs support this new capability, if the BSP supports this, it should
	call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
	When the transition is complete, this autoconf macro can be removed.
2008-05-15 15:53:19 +00:00
Joel Sherrill
92c9baf84a 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* csb336/startup/bspstart.c, csb337/startup/bspstart.c,
	edb7312/startup/bspstart.c, gba/startup/bspstart.c,
	gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c: Add capability
	for bootcard.c BSP Initialization Framework to ask the BSP where it
	has memory for the RTEMS Workspace and C Program Heap. These
	collectively are referred to as work area. If the BSP supports this,
	then it does not have to include code to split the available memory
	between the two areas. This reduces the amount of code in the BSP
	specific bspstart.c file. Additionally, the shared framework can
	initialize the C Library, call rtems_debug_enable(), and dirty the
	work area memory. Until most/all BSPs support this new capability, if
	the BSP supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:52:58 +00:00
Joel Sherrill
621feee062 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/m68kpretaskinghook.c: Add capability for bootcard.c BSP
	Initialization Framework to ask the BSP where it has memory for the
	RTEMS Workspace and C Program Heap. These collectively are referred
	to as work area. If the BSP supports this, then it does not have to
	include code to split the available memory between the two areas.
	This reduces the amount of code in the BSP specific bspstart.c file.
	Additionally, the shared framework can dirty the work area memory.
	Until most/all BSPs support this new capability, if the BSP supports
	this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from
	its configure.ac. When the transition is complete, this autoconf
	macro can be removed.
	* shared/m68kbspgetworkarea.c: New file.
2008-05-15 15:52:15 +00:00
Joel Sherrill
19f4a34914 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c: Add capability for
	bootcard.c BSP Initialization Framework to ask the BSP where it has
	memory for the RTEMS Workspace and C Program Heap. These collectively
	are referred to as work area. If the BSP supports this, then it does
	not have to include code to split the available memory between the
	two areas. This reduces the amount of code in the BSP specific
	bspstart.c file. Additionally, the shared framework can dirty the
	work area memory. Until most/all BSPs support this new capability, if
	the BSP supports this, it should call
	RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When
	the transition is complete, this autoconf macro can be removed.
2008-05-15 15:52:00 +00:00
Thomas Doerfler
e0abba9e30 disabled debugging output 2008-05-15 15:34:04 +00:00
Thomas Doerfler
42bf1b9f13 adapted gen83xx to new board 2008-05-15 15:10:38 +00:00
Till Straumann
8ac748c1bf 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/ppc_exc_bspsupp.h: added
	comment about the semantics of the return value of
	ppc_exc_handler_t.
2008-05-14 22:34:06 +00:00
Till Straumann
21637fd380 2008-05-14 Till Straumann <strauman@slac.stanford.edu>
* new-exceptions/bspsupport/irq.c: moved malloc/free
	outside of irq-protected critical section.
2008-05-14 22:33:32 +00:00
Joel Sherrill
1d0ee80e4b 2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Rework to avoid .rel files.
2008-05-14 20:28:09 +00:00
Joel Sherrill
da78feebd9 2008-05-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix text on CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER.
2008-05-14 14:27:26 +00:00
Eric Norum
d871cf1bc6 Add locks around non-atomic structure assignment. 2008-05-13 20:45:51 +00:00
Joel Sherrill
2015ca6cc1 2008-05-13 Robert S. Grimes <rsg@alum.mit.edu>
* libi2c/libi2c.h: Fix typo.
2008-05-13 20:37:36 +00:00
Joel Sherrill
b9499779ee 2008-05-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* pppd/example/system.h: Fix path in example -- NOT COMPILED WITH
	CPUKIT.
2008-05-13 16:09:48 +00:00
Joel Sherrill
343bb43ca9 2008-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Fix typo on
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-05-13 14:19:50 +00:00
Joel Sherrill
cb3873f952 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* tmoverhd/dumrtems.h: Refactored and renamed initialization routines
	to rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:34 +00:00
Joel Sherrill
c199cf899b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* spfatal/fatal.c, spfatal06/testcase.h, spfatal07/testcase.h,
	spfatal08/testcase.h, spfatal09/testcase.h, spfatal10/testcase.h:
	Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:30 +00:00
Joel Sherrill
3820ff24b8 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:44:12 +00:00
Joel Sherrill
6ea100c1f1 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:55 +00:00
Joel Sherrill
bd3e306225 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, startup/bspstart.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:28 +00:00
Joel Sherrill
14f69ce431 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/bspstart.c: Refactored and renamed initialization routines to
	rtems_initialize_data_structures, rtems_initialize_before_drivers,
	rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:43:02 +00:00
Joel Sherrill
4570d76cae 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Refactored and renamed initialization
	routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:39 +00:00
Joel Sherrill
67a9b24a9b 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:36 +00:00
Joel Sherrill
a169cf068e 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Refactored and
	renamed initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:42:26 +00:00
Joel Sherrill
d86ae064a0 2008-05-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/rtems/init.h, sapi/src/exinit.c: Refactored and renamed
	initialization routines to rtems_initialize_data_structures,
	rtems_initialize_before_drivers, rtems_initialize_device_drivers, and
	rtems_initialize_start_multitasking. This opened the sequence up so
	that bootcard() could provide a more robust and flexible framework
	which is easier to explain and understand. This also lays the
	groundwork for sharing the division of available memory between the
	RTEMS workspace and heap and the C library initialization across all
	BSPs.
2008-05-12 18:40:59 +00:00
Till Straumann
c14e845bfc 2008-05-10 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: removed memory input/output operands
	which caused problems with gcc-4.3.0 (see
	http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
2008-05-10 21:03:13 +00:00
Ralf Corsepius
397afef4b3 Update. 2008-05-10 03:13:02 +00:00
Ralf Corsepius
77d17fff71 New. 2008-05-10 03:12:31 +00:00
Ralf Corsepius
dc49fb9e1c BuildRequire: m4 > 1.4.5 2008-05-09 12:43:57 +00:00
Ralf Corsepius
ac91ec7742 Enable --with-system-readline only for gdb >= 6.7 2008-05-08 02:56:34 +00:00
Joel Sherrill
ac9d3cf84d 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp32/init.c: Formatting.
2008-05-07 21:57:43 +00:00
Joel Sherrill
109cec18d9 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 649/bsps
	* clock/ckinit.c, console/console.c: Add missing structure element.
2008-05-07 21:15:36 +00:00
Joel Sherrill
89d190339d 2008-05-07 Till Straumann <strauman@slac.stanford.edu>
PR 649/bsps
	* libchip/ide/ata.c: Give up if the interface does not become ready.
2008-05-07 20:49:05 +00:00
Joel Sherrill
9b949dddef 2008-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console-io.c: Typo.
2008-05-07 18:54:15 +00:00
Joel Sherrill
ba737a960d 2008-05-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/config.c: Fix typo.
2008-05-07 18:53:54 +00:00
Joel Sherrill
0e58c4f598 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Add nanoseconds clock tick granularity support.
2008-05-07 17:40:52 +00:00
Joel Sherrill
030d9e92c6 2008-05-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* .cvsignore: New file.
2008-05-07 17:04:39 +00:00
Joel Sherrill
0442eed68c 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Fix prototype.
2008-05-06 23:17:28 +00:00
Joel Sherrill
f5f4566a5f 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/src/exinit.c, score/src/threadstartmultitasking.c: Improve
	comments.
2008-05-06 23:17:07 +00:00
Joel Sherrill
3766068275 Fix date. 2008-05-06 23:16:36 +00:00
Joel Sherrill
9137e0ca68 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Use shared bsp_predriver_hook.
2008-05-06 22:39:47 +00:00
Joel Sherrill
e6a4446812 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* s3c24xx/clock/clockdrv.c: Use
	rtems_configuration_get_microseconds_per_tick() rather than obsolete
	BSP_Configuration reference.
2008-05-06 22:23:47 +00:00
Joel Sherrill
00d25f312b 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Add smdk2410.
2008-05-06 21:23:08 +00:00
Joel Sherrill
17fbf03b3a 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* acinclude.m4: Add smdk2410. Update gp32 to use shared code.
2008-05-06 21:03:02 +00:00
Joel Sherrill
437baaeccb 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/bsp.h: Grammar.
2008-05-06 21:02:50 +00:00