Commit Graph
22127 Commits
Author SHA1 Message Date
Joel Sherrill 0da244daf2 Fix. 2007-11-27 18:57:52 +00:00
Glenn Humphrey 1d56a7a8b8 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c,
	rtems/include/rtems/rtems/barrier.h,
	score/src/corerwlockobtainread.c, score/src/corerwlockobtainwrite.c,
	score/src/corerwlockrelease.c: Fixed several implementation errors.
2007-11-27 18:38:18 +00:00
Glenn Humphrey 5700b804e2 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems/src/regioncreate.c, rtems/src/regiondelete.c,
	rtems/src/regionextend.c, rtems/src/regiongetfreeinfo.c,
	rtems/src/regiongetinfo.c, rtems/src/regiongetsegment.c,
	rtems/src/regiongetsegmentsize.c, rtems/src/regionresizesegment.c,
	rtems/src/regionreturnsegment.c: Restructed to move the OBJECTS_LOCAL
	case to the top of the switch statement, have a single exit with one
	call to _RTEMS_Unlock_allocator and eliminate the fall-through return
	of RTEMS_INTERNAL_ERROR.  These changes produced simplier assembly
	code and allowed for complete test coverage.
2007-11-27 17:38:11 +00:00
Joel Sherrill 68fe9f9618 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* user/conf.t: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:35:38 +00:00
Joel Sherrill 1c6fa45ac4 2007-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* sapi/include/confdefs.h: Add CONFIGURE_APPLICATION_EXTRA_DRIVERS.
2007-11-27 15:35:26 +00:00
Joel Sherrill cf7ebcf9b0 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/netinet/in_cksum.c: ARM optimized version does not
	support Thumb.
2007-11-27 15:10:37 +00:00
Joel Sherrill edcb9827dc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
	Now works on gen5200/icecube.
2007-11-26 23:10:25 +00:00
Joel Sherrill fa920f122d 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the SuperH CPU Table and define
	another mechanism for drivers to obtain this information.
2007-11-26 23:02:17 +00:00
Joel Sherrill 26d47f8e73 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
	SuperH CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 23:02:15 +00:00
Joel Sherrill 99f67930c2 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c,
	sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c,
	sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:02:03 +00:00
Joel Sherrill 1e2072e423 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
	SuperH CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 23:01:34 +00:00
Joel Sherrill 7d20851af3 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/sh.t: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:01:25 +00:00
Joel Sherrill 4f6acf4139 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/i386.t, cpu_supplement/m68k.t: Pick up changes missed
	earlier.
2007-11-26 23:00:20 +00:00
Joel Sherrill b72f579982 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:58:07 +00:00
Joel Sherrill 219aed6811 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/mips.t: Eliminate the clicks_per_microsecond field in
	the MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:36:41 +00:00
Joel Sherrill c63f6e2efc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the MIPS CPU Table and define another
	mechanism for drivers to obtain this information.
2007-11-26 22:36:18 +00:00
Joel Sherrill e4d4eb9c54 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:36:04 +00:00
Joel Sherrill 9d7fa71a51 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/if_fxp.c: Spacing.
2007-11-26 22:25:53 +00:00
Joel Sherrill 4c3d3cdbfd 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Add comment.
2007-11-26 22:09:27 +00:00
Joel Sherrill dde1eb364f 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/config.c: Fix typo.
2007-11-26 22:08:20 +00:00
Joel Sherrill 6fc48b2cba 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:07:37 +00:00
Joel Sherrill 5e35d353dc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/i386.t: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:06:42 +00:00
Joel Sherrill 83199e3caf 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:06:34 +00:00
Joel Sherrill 4bbf6ecbd8 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shmsupp/getcfg.c: Fix spacing.
2007-11-26 21:52:53 +00:00
Joel Sherrill bf5ef93d30 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, include/bsp.h: Fix spacing.
2007-11-26 21:52:51 +00:00
Joel Sherrill 4b69980046 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Fix spacing.
2007-11-26 21:28:16 +00:00
Joel Sherrill bab02abc5e 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu_supplement/m68k.t: Eliminate the interrupt_vector_table field in
	the m68k CPU Table since it is never read.
2007-11-26 21:26:39 +00:00
Joel Sherrill 1693c131a1 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
	m68k CPU Table since it is never read.
2007-11-26 21:20:33 +00:00
Joel Sherrill f9f8239628 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the interrupt_vector_table field in the
	m68k CPU Table since it is never read.
2007-11-26 21:19:52 +00:00
Joel Sherrill b70f0cd981 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/printk.c, score/src/objectget.c: Fix spacing.
2007-11-26 21:13:22 +00:00
Joel Sherrill 85f3b4c1e4 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/malloc.c: Do not assert on free of bad pointer.
2007-11-26 21:11:19 +00:00
Joel Sherrill a3ff693ec2 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* cpu.c, score/cpu.h: Fix headers. Remove extra inline definition.
	* cpu_asm.S: Note origin of Thumb support.
2007-11-26 19:59:17 +00:00
Joel Sherrill f098bf131d 2007-11-26 Ray Xu <rayx.cn@gmail.com>
* thumb_isr.c: Remove extra debug information, Change function
	definition.
2007-11-26 19:56:21 +00:00
Joel Sherrill a4ebf1f481 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Filter out Memory exception error messages.
2007-11-26 19:45:16 +00:00
Joel Sherrill 6cd8bbe7d0 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/thread.h: Fix spelling error.
2007-11-26 19:35:33 +00:00
Joel Sherrill d9b0895dff 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo and spacing.
2007-11-26 19:33:55 +00:00
Joel Sherrill 1066597789 2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-11-26 17:48:33 +00:00
Till Straumann f5dea7005a 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: when draining UART during
	initialization (wait for possible printk() activity
	to finish) look at TEMT (fifo, holding-reg and shift-reg)
	rather than THRE (fifo, holding-reg only). This resolved
	some scrambled output issues for me.

	Enhanced semantics: if BSP initializes BSPBaseBaud to a negative
	value then the driver interprets the modulus as a speed value
	and uses the current setting of the divisor to compute the
	clock speed (BSPBaseBaud). This is useful if you have a board
	that you know is initialized e.g., to 9600 but you
	don't know the clock speed.
2007-11-22 06:10:53 +00:00
Chris Johns cb32666020 2007-11-22 Chris Johns <chrisj@rtems.org>
* m68k/mcf5235/include/mcf5235.h: Remove '/' from define label.
2007-11-22 04:40:41 +00:00
Till Straumann 5a8e5df7d4 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, motorola_powerpc/Makefile.am,
	* shared/pci/detect_raven_bridge.c, Makefile.am,
	* shared/pci/generic_clear_hberrs.c: separated the generic
	version of _BSP_clear_hostbridge_errors() into its own
	file.
2007-11-21 08:03:30 +00:00
Till Straumann d371a97e58 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
	Avoid using 'stdio' before the system is up and fully
	initialized.
2007-11-21 06:23:12 +00:00
Till Straumann d2ff24c22d 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* libi2c/libi2c.c, libi2c/libi2c.h, libi2c/README_libi2c:
	Added checks so that use of 'stdio' is avoided (falling
	back to 'printk') before the system is up.
	Publish driver entry points so that the libi2c driver could
	be added to the applications 'device driver table'.
	This is not fully implemented yet, though, since in addition to
	initializing libi2c the low-level i2c bus drivers as well
	as high-level i2c device drivers need to be registered
	with the library.
	Updated README_libi2c accordingly.
2007-11-21 06:20:49 +00:00
Till Straumann 381a2f18fc 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h,
	* libchip/Makefile.am, libchip/preinstall.am:
	added new driver for Maxim DS1375 i2c RTC.
2007-11-20 20:16:43 +00:00
Till Straumann 247f83ca46 2007-11-17 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/rtems/rtems_glue.c: let rtems_bsdnet_ifconfig
	(SIOCGIFMEDIA) pass the user parameter down to the ioctl
	so that it knows what PHY they want to look at.
2007-11-17 19:38:08 +00:00
Ralf Corsepius 7ee5947b17 Update. 2007-11-14 13:40:49 +00:00
Ralf Corsepius 568298a6e0 Remove. 2007-11-14 13:39:53 +00:00
Ralf Corsepius fe1632a8ed Add makeinfo hacks. 2007-11-14 13:38:14 +00:00
Till Straumann 61c98010e6 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* rtems/score/powerpc.h: Added a '__ppc_generic' CPU variant.
	The goal would be making cpukit and hopefully libcpu work
	for all (or at least most) CPUs/BSPs with -D__ppc_generic so
	that eventually all tests [#if defined(<cpu_flavor>)] for CPU
	flavors can be eliminated.
2007-11-14 05:19:59 +00:00
Till Straumann 6ae32a269e 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h: Added SPR definitions for BookE
	DECAR, TCR, TSR.
2007-11-14 04:26:00 +00:00
Ralf Corsepius c89a4e4ef3 gcc-core-4.2.2-rtems4.9-20071114.diff. 2007-11-14 03:15:31 +00:00