Commit Graph

8409 Commits

Author SHA1 Message Date
Joel Sherrill
5ac8f13977 2007-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.inc.in: Add CXX and CXX_FOR_TARGET.
2007-09-18 17:55:35 +00:00
Joel Sherrill
52e4f35608 2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c, irq/irq_init.c: Eliminate warnings.
2007-09-17 14:15:14 +00:00
Joel Sherrill
b00e693a19 2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* libchip/network/smc91111.h: Eliminate DEBUG_puts.
2007-09-17 14:10:57 +00:00
Joel Sherrill
50f93fbbcb 2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* PCI_bus/universe.c, console/console.c, include/bsp.h, irq/FPGA.c,
	startup/bspstart.c, startup/genpvec.c, startup/spurious.c: Eliminate
	DEBUG_puts.
2007-09-17 14:09:43 +00:00
Joel Sherrill
76e552d39b 2007-09-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/console.c: Eliminate DEBUG_puts.
2007-09-17 14:09:32 +00:00
Ralf Corsepius
e7ef4c34ae 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove AC_PROG_AWK (Unused).
2007-09-16 05:55:40 +00:00
Joel Sherrill
28e56edebe 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/GT64260eth.c, network/GT64260eth.h, network/GT64260ethreg.h: Removed.
2007-09-14 18:56:13 +00:00
Joel Sherrill
07e76b9b9e 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/if_1GHz/if_wm.c, network/if_1GHz/pci_map.c: Remove a few
	warnings.
2007-09-14 15:14:36 +00:00
Joel Sherrill
24af51c5e9 2007-09-14 Daron Chabot <djc915@mail.usask.ca>
* libchip/network/if_dc.c: Changed type of ISR argument to void* from
	rtems_interrupt_vector, to permit passing arbitrary arguments to the
	ISR. Clean up of variables to silence compiler warnings.
2007-09-14 14:58:23 +00:00
Joel Sherrill
324e311f85 2007-09-13 Daniel Hellstrom <daniel@gaisler.com>
* libchip/network/smc91111.c: Eliminate a stray DEBUG_puts().
2007-09-13 19:29:13 +00:00
Joel Sherrill
761449076d 2007-09-13 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: Add smc91111.rel to libbsp.a
2007-09-13 19:26:24 +00:00
Joel Sherrill
21ca21996d 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, startup/bspstart.c: Add BSP_DIRTY_MEMORY option.
2007-09-13 15:01:25 +00:00
Joel Sherrill
ee732739bf 2007-09-07 Kate Feng <feng1@bnl.gov>
* ChangeLog, Makefile.am, README, README.booting, README.irq,
	preinstall.am, GT64260/MVME5500I2C.c, include/bsp.h, irq/irq.c,
	irq/irq.h, irq/irq_init.c, pci/detect_host_bridge.c, pci/pci.c,
	pci/pci_interface.c, pci/pcifinddevice.c, start/preload.S,
	startup/bspclean.c, startup/bspstart.c, startup/pgtbl_activate.c,
	startup/reboot.c, vectors/bspException.h, vectors/exceptionhandler.c:
	Merge my improvements in this BSP including a new network
	driver for the 1GHz NIC.
	* network/if_100MHz/GT64260eth.c, network/if_100MHz/GT64260eth.h,
	network/if_100MHz/GT64260ethreg.h, network/if_100MHz/Makefile.am,
	network/if_1GHz/Makefile.am, network/if_1GHz/POSSIBLEBUG,
	network/if_1GHz/if_wm.c, network/if_1GHz/if_wmreg.h,
	network/if_1GHz/pci_map.c, network/if_1GHz/pcireg.h: New files.
2007-09-13 14:26:24 +00:00
Joel Sherrill
c85cf8ec38 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/spw/grspw.c: Remove include of sched.h. It does not appear to
	be needed and is unavailable when POSIX is disabled.
2007-09-13 13:08:55 +00:00
Joel Sherrill
2a2b206ba3 2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
* libchip/network/smc91111.c, libchip/network/smc91111.h: Multiple fixes.
	  - Odd bit bug in some chips taken care of.
	  - Buggy ASSERT removed, it seem to be inserted to detect if MBUF data
	    alignment but failing to do so must have made the driver writer to make
	    some incorrect assumptions about MBUFs.
	  - Fixed MBUF handling to handle mbuf chains better. The Data length of
	    MBUFs in middle of the mbuf chain are now checked for odd number of bytes.
	  - Made while loop responsible for copying data to fifo port copy 16 shorts
	    per loop instead of 1 short, increasing the copying process.
2007-09-12 15:41:43 +00:00
Joel Sherrill
47b29ac00e 2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
* leon_smc91111/leon_smc91111.c: LEON2 SMC91111 initialization: PIO
	Interrupt initialization fix and speed rate defaulted to 100Mbit/s
	for boards with 50MHz system clock or greater now all defaults to
	100Mbit/s
2007-09-12 15:39:42 +00:00
Joel Sherrill
7459fbf9f5 2007-09-12 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/grcan.c, shared/include/debug_defs.h, shared/spw/grspw.c:
	Remove use of DEBUG_printf.
2007-09-12 15:38:57 +00:00
Joel Sherrill
3d7fa72bc2 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* sh7032/score/cpu_asm.c, sh7032/timer/timer.c, sh7045/score/cpu_asm.c,
	sh7045/timer/timer.c, sh7750/score/cpu_asm.c, sh7750/timer/timer.c:
	Code outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:49 +00:00
Joel Sherrill
f93630db63 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* mpc5xx/exceptions/raw_exception.c, mpc5xx/irq/irq.c,
	mpc6xx/exceptions/raw_exception.c,
	mpc8260/exceptions/raw_exception.c,
	mpc8xx/exceptions/raw_exception.c, new-exceptions/raw_exception.c,
	ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c: Code outside of cpukit
	should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:44 +00:00
Joel Sherrill
23f19746d4 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* at91rm9200/irq/irq.c, lpc22xx/irq/irq.c, mc9328mxl/irq/irq.c,
	s3c2400/irq/irq.c: Code outside of cpukit should use the public API
	for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:23:30 +00:00
Joel Sherrill
802316852f Fix entry. 2007-09-12 15:22:23 +00:00
Joel Sherrill
fc57b7b20c 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* shared/irq/i8259.c, shared/irq/irq.c: Code outside of cpukit should
	use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:41 +00:00
Joel Sherrill
764b72e128 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* irq/irq_init.c: Code outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:38 +00:00
Joel Sherrill
ec1d0b9ddb 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* irq/irq.c: Code outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:36 +00:00
Joel Sherrill
dc7271fa9e 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* irq/GT64260Int.c, irq/irq.c: Code outside of cpukit should use the
	public API for rtems_interrupt_disable/rtems_interrupt_enable. By
	bypassing the public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:32 +00:00
Joel Sherrill
47d88b705f 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* startup/bspclean.c: Code outside of cpukit should use the public API
	for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:16 +00:00
Joel Sherrill
c83c3254d4 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* shared/irq/idt.c, shared/irq/irq.c, shared/irq/irq_init.c: Code
	outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:02 +00:00
Joel Sherrill
bd51a636de 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* console/inch.c, console/keyboard.c, console/pc_keyb.c, console/vt.c:
	Code outside of cpukit should use the public API for
	rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
	public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:16:00 +00:00
Joel Sherrill
f3343c6e79 2007-09-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1257/bsps
	* csb336/network/lan91c11x.c, csb337/startup/bspstart.c,
	edb7312/irq/irq.c, gba/irq/irq.c, gba/irq/irq_init.c,
	gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c,
	shared/abort/abort.c, shared/abort/simple_abort.c,
	shared/irq/irq_init.c: Code outside of cpukit should use the public
	API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing
	the public API and directly accessing _CPU_ISR_Disable and
	_CPU_ISR_Enable, they were bypassing the compiler memory barrier
	directive which could lead to problems. This patch also changes the
	type of the variable passed into these routines and addresses minor
	style issues.
2007-09-12 15:15:32 +00:00
Joel Sherrill
38feb6d51d 2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, include/bsp.h: Do not include networking
	drivers if networking is disabled.
2007-09-11 14:06:39 +00:00
Joel Sherrill
5cd8b168f0 2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Do not include networking drivers if networking is
	disabled.
2007-09-11 13:10:48 +00:00
Joel Sherrill
4a1eb75b90 2007-09-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Do not build networking drivers if
	networking is disabled.
2007-09-11 13:10:12 +00:00
Joel Sherrill
751e9f6001 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Do not build networking if it is disabled.
2007-09-10 22:37:46 +00:00
Joel Sherrill
39ee40db4f 2007-09-10 Alain Schaefer <alani@easc.ch>
* preinstall.am, startup/bspstart.c, startup/linkcmds: Complete earlier
	patch.
	* include/cplb.h: New file.
2007-09-10 22:23:08 +00:00
Joel Sherrill
c613270df6 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/vt.c: Changed tabs to spaces.
2007-09-10 14:30:16 +00:00
Joel Sherrill
1235164645 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/keyboard.c: Replaced tabs with spaces.
2007-09-10 14:27:46 +00:00
Joel Sherrill
018008cc0f 2007-09-10 Alain Schaefer <alani@easc.ch>
* shared/start/start.S: Initialize bss to zero.
2007-09-10 13:55:25 +00:00
Joel Sherrill
27d33edca7 2007-09-10 Alain Schaefer <alani@easc.ch>
* startup/bspstart.c: Add a useful routine to program memory protection
	in bfin. It is not used but a user of ezKit533 can customize its bsp
	and use this function.
2007-09-10 13:55:06 +00:00
Joel Sherrill
3a0e33706d 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/gdbstub/mips-stub.c: Remove incorrect and unneccessary
	prototype of printk.
2007-09-10 11:26:48 +00:00
Joel Sherrill
2dd3852208 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* network/xiltemac.c: Remove duplicate prototype.
2007-09-10 11:21:44 +00:00
Joel Sherrill
46ba602fe2 2007-09-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/abort/abort.c, shared/abort/simple_abort.c: Remove incorrect
	and unneccessary prototype of printk.
2007-09-08 17:22:28 +00:00
Joel Sherrill
fb61b0fea5 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: If we cannot find enough memory to run the
	program, generate a fatal error and print a message.
2007-09-07 23:32:58 +00:00
Joel Sherrill
e422da8d54 2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/polled_io.c: Change prototype so code compiles.
2007-09-07 16:15:27 +00:00
Joel Sherrill
050249d25d 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>
* libchip/network/greth.c, libchip/network/greth.h: GRETH_GBIT support
	and GBIT PHY support for 10/100 MAC, also auto negotiation updated.
2007-09-07 15:01:15 +00:00
Joel Sherrill
13279f5dcf 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>
* shared/1553/b1553brm.c, shared/can/grcan.c, shared/can/grcan_rasta.c,
	shared/can/occan.c, shared/spw/grspw.c, shared/spw/grspw_pci.c,
	shared/uart/apbuart.c: Remove warnings.
2007-09-07 14:34:18 +00:00
Joel Sherrill
309cb3b572 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>
* console/console.c, leon_greth/leon_greth.c,
	leon_smc91111/leon_smc91111.c: Remove warnings.
2007-09-07 14:34:15 +00:00
Joel Sherrill
3734192d4d 2007-09-07 Daniel Hellstrom <daniel@gaisler.com>
* leon_smc91111/leon_smc91111.c, rasta/rasta.c: Remove warnings.
2007-09-07 14:34:13 +00:00
Joel Sherrill
9af457f4d7 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/mmu/pte121.c: Fix warning.
2007-09-06 22:28:23 +00:00
Joel Sherrill
a7ff7e7f9d 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* shared/pci/pcifinddevice.c: New file.
2007-09-06 16:33:32 +00:00
Joel Sherrill
931e9cc00b 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* pci/pci.c: New file.
2007-09-06 16:33:26 +00:00