Commit Graph

14224 Commits

Author SHA1 Message Date
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
Ralf Corsepius
98e398cbc1 Add missing #endif in powerpc/setjmp.S 2007-09-13 01:12:50 +00:00
Joel Sherrill
493e405cac 2007-09-12 Sergei Organov <osv@javad.com>
PR 1258/rtems
	* cpukit/score/src/heapallocatealigned.c (block_allocate): New routine.
	* cpukit/score/src/heapallocatealigned.c (_Heap_Allocate_aligned):
	Use block_allocate() instead of _Heap_Block_allocate(). Replace
	_Heap_Head(the_heap)->next with equivalent _Heap_First(the_heap).
	* cpukit/score/src/heap.c (_Heap_Allocate): fix comments according
	to changed block split strategy in _Heap_Allocate_aligned().
2007-09-12 20:11:33 +00:00
Ralf Corsepius
8393f3a13f newlib-1.15.0-rtems4.8-20070912.diff. 2007-09-12 19:42:12 +00:00
Ralf Corsepius
18960f10af GCC_RPMREL = 24. 2007-09-12 19:41:58 +00:00
Ralf Corsepius
98f890be6b New (Incorporate Eric Norum's altivec patch) 2007-09-12 19:38:48 +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
c55364c4a2 2007-09-10 Alain Schaefer <alani@easc.ch>
* cpu_asm.S: Fix two problems:
	    - CC bit has been clobbered and was not correctly restored
	    - bfin hardware does not allow to read instructions from the L1
2007-09-10 22:24:57 +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
891a825490 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/printk.c: Remove unnecessary comments.
2007-09-10 14:20:55 +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
a321f7a402 2007-09-10 Alain Schaefer <alani@easc.ch>
* rtems/bfin/bf533.h: Add more definitions.
2007-09-10 13:54:12 +00:00
Joel Sherrill
c040e6ec41 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* capture/Makefile.am: Use all managers.
2007-09-10 13:33:51 +00:00
Joel Sherrill
c82e98f4f2 2007-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* bin2c.c: Updated license after author changed it.
2007-09-10 11:27:44 +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
Thomas Doerfler
908d6ed9d6 Corrected linked list of monitor commands 2007-09-10 06:43:18 +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
1f49f77158 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc.c: If RTEMS_HEAP_DEBUG is defined, add heap
	walk on init, malloc, and free. The ability to walk the heap appears
	to disappeared during the rework of the C Program heap to skip the
	Region.
2007-09-07 21:42:14 +00:00
Joel Sherrill
5ae327bcf7 2007-09-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/src/heap.c: Style.
	* score/src/heapwalk.c: Add more information to prints.
	* score/src/pheapwalk.c: Do not lock allocator mutex if dispatching
	is disabled.
2007-09-07 19:39:25 +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
f6e2e97b59 2007-09-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* bin2c.c: Update comments.
2007-09-07 13:08:01 +00:00
Joel Sherrill
90a5d194a2 2007-09-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/src/printk.c:
	* libcsupport/src/printk_plugin.c: New file.
	include/rtems/bspIo.h, libmisc/cpuuse/cpuusagereport.c,
	libmisc/cpuuse/cpuuse.h, libmisc/stackchk/check.c,
	libmisc/stackchk/stackchk.h: rtems/include/rtems/rtems/ratemon.h,
	rtems/src/ratemonreportstatistics.c: Added capability to specify
	your own "printf" routine to various reporting functions.  This
	added an XXX_with_plugin as the underlying implementation for
	  + rtems_rate_monotonic_report_statistics
	  + rtems_stack_checker_report_usage
	  + rtems_cpu_usage_report
	As demonstration, the http netdemo can now print out stack
	and cpu usage reports.
2007-09-06 22:51:25 +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