Commit Graph

8186 Commits

Author SHA1 Message Date
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
Joel Sherrill
f8359c993e 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/uart/apbuart.c: Fix some warnings.
2007-09-06 15:41:37 +00:00
Joel Sherrill
2a07d0f40d 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* pci/pci.c: Fix some warnings.
2007-09-06 15:41:33 +00:00
Joel Sherrill
f752c246fa 2007-09-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/debugputs.c: Add missing include file.
2007-09-06 15:34:58 +00:00
Joel Sherrill
30a8915ffd 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* amba/amba.c: Add missing part of previous patch.
	* clock/ckinit.c: Update previous patch.
2007-09-06 15:22:42 +00:00
Joel Sherrill
226455f9ff 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
New drivers: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN,OC_CAN),
	Raw UART.
	* shared/1553/b1553brm.c, shared/1553/b1553brm_pci.c,
	shared/1553/b1553brm_rasta.c, shared/can/grcan.c,
	shared/can/grcan_rasta.c, shared/can/occan.c, shared/can/occan_pci.c,
	shared/spw/grspw.c, shared/spw/grspw_pci.c, shared/spw/grspw_rasta.c,
	shared/uart/apbuart.c, shared/uart/apbuart_pci.c,
	shared/uart/apbuart_rasta.c: New files missed in previous commit.
2007-09-06 13:27:25 +00:00
Joel Sherrill
e16e0caf72 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: Add the following new drivers: PCI, b1553BRM,
	SpaceWire(GRSPW), CAN (GRCAN,OC_CAN), Raw UART.
	* shared/include/apbuart.h, shared/include/apbuart_pci.h,
	shared/include/apbuart_rasta.h, shared/include/b1553brm.h,
	shared/include/b1553brm_pci.h, shared/include/b1553brm_rasta.h,
	shared/include/debug_defs.h, shared/include/grcan.h,
	shared/include/grcan_rasta.h, shared/include/grcan_spwrtc.h,
	shared/include/grspw.h, shared/include/grspw_pci.h,
	shared/include/grspw_rasta.h, shared/include/occan.h,
	shared/include/occan_pci.h, shared/include/pci.h: New files.
2007-09-06 13:25:42 +00:00
Joel Sherrill
ce40d306b3 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* pci/pci.c: New file missed on previous commit.
2007-09-06 13:24:03 +00:00
Joel Sherrill
344ba65adb 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: New files, split of printk.
	* console/console.c, console/debugputs.c: Split printk support out.
	* include/spacewire.h: Removed.
	* Makefile.am, preinstall.am: Use the following new drivers from
	sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
2007-09-06 13:23:43 +00:00
Joel Sherrill
ee8933f26d 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* cchip/cchip.c, include/cchip.h, include/rasta.h,
	rasta/rasta.c: New files missed in previous commit.
2007-09-06 13:17:16 +00:00
Joel Sherrill
c468e48966 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: Use the following new drivers from
	sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
2007-09-06 13:16:15 +00:00
Joel Sherrill
28f3f511a7 2007-09-06 Daniel Hellstrom <daniel@gaisler.com>
* console/debugputs.c: Now works on multi-CPU systems.
2007-09-06 13:11:45 +00:00
Joel Sherrill
921bb59a83 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* clock/ckinit.c, console/console.c, leon_greth/leon_greth.c,
	leon_smc91111/leon_smc91111.c: LEON3 BSP drivers updated to use new
	AMBA PnP scanning functions. Affected drivers:
	amba/amba.c,clock/ckinit.c,console/console.c,
	leon_greth/leon_greth.c, leon_smc9111.c.
2007-09-06 00:07:44 +00:00
Joel Sherrill
3d0d969b7a 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/bspstart.c: LEON2 and LEON3 Data cache snooping detection on
	startup, for drivers. (LEON2,3 are configurable processors, they can
	be with or without DCache snooping. Caches without snooping needs the
	drivers to flush cache or use the sparc instruction lda to force
	cache miss...)
2007-09-06 00:03:18 +00:00
Joel Sherrill
4cb04f2250 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h, startup/bspstart.c: LEON2 and LEON3 Data cache
	snooping detection on startup, for drivers. (LEON2,3 are configurable
	processors, they can be with or without DCache snooping. Caches
	without snooping needs the drivers to flush cache or use the sparc
	instruction lda to force cache miss...)
2007-09-06 00:03:16 +00:00
Joel Sherrill
5982921836 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h: LEON2 and LEON3 Data cache snooping detection on
	startup, for drivers. (LEON2,3 are configurable processors, they can
	be with or without DCache snooping. Caches without snooping needs the
	drivers to flush cache or use the sparc instruction lda to force
	cache miss...)
2007-09-06 00:03:14 +00:00
Joel Sherrill
2eb4aba98f 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* shared/amba/ambapp.c, shared/include/ambapp.h: New files.
2007-09-06 00:01:53 +00:00
Joel Sherrill
4393845e3f 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c
	and shared/include/ambapp.h. The AMBA scanning was improved to take
	account for PnP info address translation. This is useful when
	scanning remote AMBA busses for example when a board connected with
	PCI has an AMBA bus that needs to be scanned, before the addresses
	was hard coded. Also, LEON2 now have AMBA PnP bus scanning support.
	By using the new AMBA scanning routines it is possible to isolate the
	AMBA scanning code to ambapp.c, however existing drivers should be
	updated to use them in order to save space.
2007-09-06 00:01:33 +00:00
Joel Sherrill
1982a19574 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am, amba/amba.c, include/amba.h,
	include/leon.h: LEON3 AMBA PnP bus scanning moved to
	shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
	improved to take account for PnP info address translation. This is
	useful when scanning remote AMBA busses for example when a board
	connected with PCI has an AMBA bus that needs to be scanned, before
	the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
	scanning support. By using the new AMBA scanning routines it is
	possible to isolate the AMBA scanning code to ambapp.c, however
	existing drivers should be updated to use them in order to save
	space.
2007-09-06 00:01:30 +00:00
Joel Sherrill
4d3933b300 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to
	shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
	improved to take account for PnP info address translation. This is
	useful when scanning remote AMBA busses for example when a board
	connected with PCI has an AMBA bus that needs to be scanned, before
	the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
	scanning support. By using the new AMBA scanning routines it is
	possible to isolate the AMBA scanning code to ambapp.c, however
	existing drivers should be updated to use them in order to save
	space.
2007-09-06 00:01:14 +00:00
Joel Sherrill
2aaff51bb5 2007-09-05 Daniel Hellstrom <daniel@gaisler.com>
* include/bsp.h: This patch prepares bsp.h so that shared code (new
	drivers) can easily have small small sections of BSP specific code.
2007-09-05 23:58:06 +00:00
Joel Sherrill
97734933f7 2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Reformat -- make things line up.
2007-09-05 21:11:42 +00:00
Joel Sherrill
b26e1db6d7 2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Fix warnings.
2007-09-05 20:42:46 +00:00
Joel Sherrill
7d7d2e9326 2007-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Fix path.
	* include/bsp.h: Fix typo.
2007-09-05 20:29:38 +00:00