Commit Graph

8655 Commits

Author SHA1 Message Date
Joel Sherrill
389908027e 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/panic.c: Convention calls for leading underscore on
	private RTEMS variables.
2008-06-02 16:11:56 +00:00
Joel Sherrill
3e927fa0b4 2008-06-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* misc/interr.c: Convention calls for leading underscore on private
	RTEMS variables.
2008-06-02 16:11:44 +00:00
Ralf Corsepius
89ae273da7 2008-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Allow empty RTEMS_BUILD_SUBDIRS.
2008-06-01 09:03:30 +00:00
Ralf Corsepius
1756b781e7 Allow emtpy RTEMS_BUILD_SUBDIRS. 2008-06-01 09:02:21 +00:00
Ralf Corsepius
94e8e5912d Regenerate. 2008-06-01 03:36:26 +00:00
Chris Johns
288f1c33c9 2008-05-29 Chris Johns <chrisj@rtems.org>
* include/bsp.h: FEC unit numbers based on 0 not 1. Change the
	interface name to fec0.
2008-05-29 06:01:33 +00:00
Thomas Doerfler
41d7c0fe9a speed inprovements in mpc83xx tsec driver 2008-05-27 10:34:55 +00:00
Till Straumann
f335672ae3 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/VME.h: removed 'weak' attribute from
	declaration of BSP_vme_config().
2008-05-23 21:36:02 +00:00
Till Straumann
5b9e302c77 2008-05-23 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: removed declaration
	of BSP_vme_config() (which is already declared in
	<bsp/VME.h>. Removed test for NULL-ness of BSP_vme_config;
	gcc doesn't seem to understand that the linker may
	define this to be NULL... Silences a compiler warning
	(and users can always provide an empty routine).
2008-05-23 21:34:35 +00:00
Joel Sherrill
38c8516709 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/tty_drv.c: Eliminate copies of switches to convert
	termios Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:39 +00:00
Joel Sherrill
6825d0657a 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Eliminate copies of switches to convert termios
	Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:38 +00:00
Joel Sherrill
24f1347a44 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, console/serial_mouse.c: Eliminate copies of
	switches to convert termios Bxxx constants to xxx as an integer. Use
	the shared termios_baud_to_number() routine to do the same
	conversion.
2008-05-23 15:48:36 +00:00
Joel Sherrill
0c04063bac 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/m340uart.c: Eliminate copies of switches to convert termios
	Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:48:06 +00:00
Joel Sherrill
495c3e0ad6 2008-05-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/comm/console.c: Eliminate copies of switches to convert
	termios Bxxx constants to xxx as an integer. Use the shared
	termios_baud_to_number() routine to do the same conversion.
2008-05-23 15:47:55 +00:00
Till Straumann
7f5ecbc249 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* ppc403/tty_drv/tty_drv.c, ppc403/console/console405.c:
	../ictrl/ictrl.h has gone; include ../irq/ictrl.h
2008-05-23 01:10:17 +00:00
Till Straumann
a510a776a0 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/linkcmds, shared/startup/zerobss.c:
	introduced '__bss_end'; assuming that __rtems_end
	coincides with the end of .bss for the purpose of
	zeroing .bss is very dangerous.
2008-05-22 23:33:11 +00:00
Till Straumann
527e2b8e81 2008-05-22 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeUniverse.c: fixed compiler warning;
	moved struct attributes as directed by gcc warning.
2008-05-22 23:17:58 +00:00
Joel Sherrill
4ac1d235c6 2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/console.c: Fix typo.
2008-05-22 22:45:14 +00:00
Joel Sherrill
923dd7aa21 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/console/console.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:27 +00:00
Joel Sherrill
07edbef54e 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:22 +00:00
Joel Sherrill
c0357a8bd9 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/mc68360_scc.c: Remove explicit switch and call
	termios_baud_to_number().
2008-05-22 20:34:20 +00:00
Joel Sherrill
adaf33af78 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/Makefile.am: Move termios helper routines from libchip to
	libcsupport. Add routine which makes it easy for a termios device
	driver to inform termios of its default baud rate. This avoids
	inconsistencies in later termios settings changes.
	* libchip/serial/termios_baud2index.c,
	libchip/serial/termios_baud2num.c: Removed.
2008-05-22 20:19:55 +00:00
Joel Sherrill
aefbb573e0 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/console.c: Properly inform termios of our initial baud rate.
	If it is not the default, this causes problems when an application
	changes any termios attributes since termios thinks our baud rate is
	one thing when in fact, it is another.
2008-05-22 20:12:08 +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
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
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