Commit Graph
9736 Commits
Author SHA1 Message Date
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 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 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 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 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
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
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 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 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
Joel Sherrill 1781f59fcb 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	preinstall.am, include/bsp.h, include/bspopts.h.in, startup/linkcmds,
	startup/memmap.c: New files.
2008-05-06 21:01:27 +00:00
Joel Sherrill dbdb025548 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:
	Add CPU type s3c2410. Add a new s3c24xx common file shared between
	s3c2400 and s3c2410. Most content is moved from s3c2400 now. Some
	were changed to include <s3c24xx.h> instead of <s3c2400.h>.
	* s3c2410/include/s3c2410.h, s3c2410/irq/bsp_irq_asm.S,
	s3c2410/irq/irq.h, s3c24xx/clock/clockdrv.c, s3c24xx/clock/support.c,
	s3c24xx/include/s3c24xx.h, s3c24xx/irq/bsp_irq_init.c,
	s3c24xx/irq/irq.c, s3c24xx/irq/irq.h, s3c24xx/timer/timer.c: New files.
2008-05-06 20:58:05 +00:00
Joel Sherrill 0542a23b3f 2008-05-06 Ray Xu <rayx.cn@gmail.com>
* console/uart.c, include/bsp.h, smc/smc.c, startup/bspstart.c: Merge
	smdk2410 with gp32.
2008-05-06 20:54:06 +00:00
Joel Sherrill 7492598196 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Improve formatting and comments.
2008-05-06 19:28:02 +00:00
Joel Sherrill f3cc5cf35d 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/start.S: Spacing.
2008-05-06 19:27:42 +00:00
Joel Sherrill 6f008f7ccd 2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove spurious line.
2008-05-06 19:27:07 +00:00
Joel Sherrill d3e21f35be 2008-04-25 Joel Sherrill <joel.sherrill@OARcorp.com>
Moved to cpukit.
	* nfsclient/.cvsignore, nfsclient/ChangeLog.slac, nfsclient/LICENSE,
	nfsclient/Makefile.am, nfsclient/README, nfsclient/preinstall.am,
	nfsclient/rfc1094.txt, nfsclient/rtems-filesystem-patch,
	nfsclient/proto/mount_prot.h, nfsclient/proto/mount_prot.x,
	nfsclient/proto/mount_prot_xdr.c, nfsclient/proto/nfs_prot.h,
	nfsclient/proto/nfs_prot.x, nfsclient/proto/nfs_prot_xdr.c,
	nfsclient/src/cexphelp.c, nfsclient/src/dirutils.c,
	nfsclient/src/librtemsNfs.h, nfsclient/src/nfs.c,
	nfsclient/src/nfs.modini.c, nfsclient/src/nfsTest.c,
	nfsclient/src/rpcio.c, nfsclient/src/rpcio.h,
	nfsclient/src/rpcio.modini.c, nfsclient/src/sock_mbuf.c,
	nfsclient/src/xdr_mbuf.c: Removed.
2008-04-25 14:16:45 +00:00