Commit Graph
18544 Commits
Author SHA1 Message Date
Joel Sherrill 0f91b2350d 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
2008-05-22 14:43:53 +00:00
Joel Sherrill adfbb4a8f2 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/conf.t: Add baseline interface for Watchdog Driver.
2008-05-22 14:40:19 +00:00
Joel Sherrill d2018f7178 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/preinstall.am, sapi/include/confdefs.h: Add baseline
	interface for Watchdog Driver.
	* libcsupport/include/rtems/watchdogdrv.h: New file.
2008-05-22 14:40:11 +00:00
Joel Sherrill 1b2dd27879 2008-05-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* itronhello/system.h, itronmbox01/system.h, itrontask02/system.h,
	itrontime01/system.h: Add use of
	CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER.
2008-05-21 22:15:20 +00:00
Joel Sherrill d04bf28ef6 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/start.c: Use new framework
	capability where RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION.
2008-05-20 22:13:16 +00:00
Joel Sherrill 5768e619cc 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* custom/nds.cfg: Email from author says to drop this flag.
2008-05-20 21:50:47 +00:00
Joel Sherrill cb697107bc 2008-05-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* leaf.cfg: Do not override bsp-post-link.
2008-05-20 20:53:08 +00:00
Joel Sherrill ab9226253b use tabs. 2008-05-19 21:23:33 +00:00
Eric Norum b5b9e75f7d Back out changes from 2008-05-16 -- they don't seem to work. 2008-05-19 19:07:10 +00:00
Eric Norum 60f4b6e98b Use shared version of bootstrap to set up workspace. 2008-05-16 21:55:13 +00:00
Joel Sherrill d9aca5f537 2008-05-16 Till Straumann <strauman@slac.stanford.edu>
* score/src/threadchangepriority.c: Just in case the transient
	state was set when we entered, ensure that it is still set when
	we exit.
	* score/src/threadclose.c: When a thread is being deleted, it should
	go into the dormant state -- not the transient state.
2008-05-16 21:51:40 +00:00
Joel Sherrill c140c6f534 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc83xx/include/mpc83xx.h: or is not a good name for any name in
	C/C++. See iso646.h for the reason.
2008-05-16 18:03:34 +00:00
Joel Sherrill 0a665801d0 2008-05-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am, console/console-io.c: Install cplb.h and use it.
2008-05-16 18:02:50 +00:00
Joel Sherrill 088a954394 Fix Id. 2008-05-16 13:03:12 +00:00
Joel Sherrill 69ab847ad0 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove stray line.
2008-05-15 22:11:17 +00:00
Joel Sherrill 1700430839 2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxstat/psxstat.scn, psxstat/test.c: Eliminate patterns that look
	like CVS conflict markers.
2008-05-15 16:34:01 +00:00
Joel Sherrill 94056364ad 2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* network/network.c: Eliminate patterns that look like CVS conflict
	markers.
2008-05-15 16:33:49 +00:00
Joel Sherrill 61b7dae3d6 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/bsp-bootcards-handles-ram-allocation.m4: New file.
2008-05-15 16:16:29 +00:00
Joel Sherrill 8357ea277d 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* wrapup/Makefile.am: Many BSPs do not include any .rel files now so do
	not fail if there are none.
2008-05-15 15:56:58 +00:00
Joel Sherrill ec3007cafd 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.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.
	* bsppretaskinghook.c: New file.
2008-05-15 15:55:46 +00:00
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