Commit Graph

14392 Commits

Author SHA1 Message Date
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
e80aa4fae8 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/ppp_defs.h: Include rtems/stdint.h.
	Use uint32_t for ext_accm.
2007-09-16 06:23:26 +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
Ralf Corsepius
b0ea4a492f 2007-09-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/auth.c, pppd/demand.c, pppd/ipcp.c, pppd/ipcp.h,
	pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c,
	pppd/pppd.h, pppd/sys-rtems.c, pppd/utils.c: Convert to using C99
	fixed-size types instead of BSD fixed-size types.
2007-09-16 04:14:22 +00:00
Ralf Corsepius
8a4f22e64e Convert to using C99 fixed-size types instead of BSD fixed-size types. 2007-09-16 04:13:48 +00:00
Joel Sherrill
33eeeb28dc 2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Fix alignment of output.
2007-09-14 22:53:39 +00:00
Joel Sherrill
15a47934fb 2007-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/monitor/monitor.h: Add network commands that were in the
	network supplement but not in the code.
	* libmisc/monitor/mon-network.c: New file.
2007-09-14 22:52:53 +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
f2e3e3776d 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1261/cpukit
	* posix/src/semaphorecreatesupp.c: Initialize all fields during
	semaphore creation.
2007-09-14 14:53:14 +00:00
Joel Sherrill
7349e6d086 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1260/cpukit
	* posix/src/pthread.c: Get initial signals blocked from creating
	thread not from ourselves.
2007-09-14 14:44:03 +00:00
Joel Sherrill
eb8e793a0b 2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/watchdogtickle.c: Remove tabs.
2007-09-14 14:31:29 +00:00
Joel Sherrill
d1f0701909 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1259/rtems
	* rtems/src/taskcreate.c: Initialize is_global in all cases since
	memory is not guaranteed to be zero.
2007-09-13 19:48:01 +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
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