Commit Graph

14620 Commits

Author SHA1 Message Date
Till Straumann
8da6d77d10 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq_init.c: Removed the definition
	of ASM_IRQ_VECTOR_BASE; this symbol was only use to
	initialize the irqBase member of the rtems_irq_global_settings
	struct. However, irqBase is an rtems_irq_symbolic_name,
	so using BSP_LOWEST_OFFSET is more appropriate.
2007-11-30 20:28:02 +00:00
Till Straumann
10483cba75 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* irq/irq.h, irq/irq.c (removed), irq/no_pic.c (added),
	irq/irq_init.c, Makefile.am: The PSIM BSP (currently)
	has no support for an interrupt controller or interrupts
	other than the decrementer. Removed all definitions for PCI + ISA
	interrupts and all unnecessary code (leftovers from copying).
	Separated PIC-specific bits into 'no_pic.c' which allows us
	to use 'irq.c' (i.e., more code) from 'shared'.
2007-11-30 19:55:46 +00:00
Till Straumann
431bcd7513 2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/linkcmds.c, start/start.S: call __eabi() from start.S
	and make sure linkcmds defines _SDA_BASE_ + _SDA2_BASE_ so that
	sysv + eabi are properly supported.
2007-11-30 19:45:40 +00:00
Joel Sherrill
a9c7159574 2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: BSP_DIRTY_MEMORY should be tested for zero not
	just defined.
2007-11-30 18:16:16 +00:00
Joel Sherrill
956286dc20 2007-11-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/inline/rtems/posix/priority.inl: Fix typo.
2007-11-30 17:02:15 +00:00
Joel Sherrill
0da3998706 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/include/grspw.h, shared/spw/grspw.c: GRSPW SpaceWire Driver.
	Fixes typecast to volatile integer instead of to integer. Added
	scanning for GRSPW2 Core, The GRSPW2 core is run in legacy mode.
2007-11-30 16:53:21 +00:00
Joel Sherrill
5b42368a5c 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/occan.c: LEON2/3 OCCAN CAN driver. Fixes typecast to
	volatile integer where needed. Fixes bug where closing the driver and
	opening it again could make the driver not starting transmission due
	to the software fifo was not cleared.
2007-11-30 16:52:15 +00:00
Joel Sherrill
6f237224b7 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* rasta/rasta.c: LEON2 PCI RASTA driver. Changes RASTA PCI interrupt to
	5 from 4. This is to avoid conflict with the LAN9C111 network MAC
	driver using interrupt 4.
2007-11-30 16:51:00 +00:00
Joel Sherrill
e3481dcd4f 2007-11-30 Daniel Hellstrom <daniel@gaisler.com>
* shared/can/grcan.c, shared/can/grcan_rasta.c,
	shared/include/ambapp.h: GRCAN CAN driver. Fixes Interrupt
	enabling/disabling in the driver, interrupt may not be restored
	correctly. Implements the baud rate calculation routine. Removed
	unnecessary printk. Fixed scanning to support GRCAN and GRHCAN
	hardware. Added GRCAN device number to ambapp.h.
2007-11-30 16:48:13 +00:00
Till Straumann
a725a4d71f 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c, Makefile.am: Initialize BATs and enable MMU
	to come closer to what other BSPs do. This allows us to use the
	shared irq_asm.S. No more individual assembly code :-)
2007-11-30 01:23:04 +00:00
Till Straumann
486d6ec686 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h: Added support
	for setting & reading IBATs.
2007-11-30 01:05:08 +00:00
Glenn Humphrey
da8e974a1a 2007-11-29 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* develenv/direct.t, develenv/sample.t: Corrected various errors.
2007-11-29 16:02:42 +00:00
Chris Johns
dd0e6bf6d6 2007-11-29 Chris Johns <chrisj@rtems.org>
* iostream/Makefile.am: Change the executable name so it does not
	create a file which is the same name as the standard header file.
	* iostream/system.h: Need to increase the number of semaphores for
	the libstdc++ runtime.
2007-11-29 06:40:47 +00:00
Joel Sherrill
922183809e 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/src/exinit.c, score/include/rtems/score/object.h,
	score/include/rtems/score/thread.h, score/src/object.c,
	score/src/thread.c: Conditionally compile out more code that is
	specific to multiprocessor configurations.
2007-11-28 22:04:31 +00:00
Joel Sherrill
12ae8a16a5 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* ppc403/clock/clock.c: Now compiles and links.
2007-11-28 22:03:43 +00:00
Joel Sherrill
d046f1ed65 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Now compiles and links.
2007-11-28 22:02:57 +00:00
Joel Sherrill
f09b997d4d 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/powerpc.t: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:46:05 +00:00
Joel Sherrill
641c3bd3bc 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Fix mistake in previous work.
2007-11-28 21:45:45 +00:00
Joel Sherrill
c4cc81993a 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* mpc5xx/clock/clock.c, mpc5xx/timer/timer.c, mpc8260/clock/clock.c,
	mpc8260/cpm/brg.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c,
	mpc8xx/console-generic/console-generic.c, mpc8xx/timer/timer.c,
	new-exceptions/raw_exception.c, old-exceptions/cpu.c,
	ppc403/clock/clock.c, ppc403/console/console.c,
	ppc403/console/console.c.polled, ppc403/console/console405.c,
	ppc403/ictrl/ictrl.c, ppc403/irq/ictrl.c, ppc403/timer/timer.c,
	ppc403/tty_drv/tty_drv.c: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:45:06 +00:00
Joel Sherrill
28f398e717 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Eliminate PowerPC specific elements from
	the CPU Table. They have been replaced with variables named bsp_XXX
	as needed.
2007-11-28 21:44:49 +00:00
Joel Sherrill
07e9642ce0 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Eliminate PowerPC specific elements from the CPU
	Table. They have been replaced with variables named bsp_XXX as
	needed.
2007-11-28 21:44:46 +00:00
Joel Sherrill
b9f34ad768 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c, startup/bspstart.c.nocache: Eliminate PowerPC
	specific elements from the CPU Table. They have been replaced with
	variables named bsp_XXX as needed.
2007-11-28 21:44:35 +00:00
Joel Sherrill
62577f9317 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, startup/bspstart.c: Eliminate PowerPC specific
	elements from the CPU Table. They have been replaced with variables
	named bsp_XXX as needed.
2007-11-28 21:44:29 +00:00
Joel Sherrill
e34ac1f3b8 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/new-exceptions/cpu.h, rtems/old-exceptions/cpu.h,
	rtems/score/cpu.h: Eliminate PowerPC specific elements from the CPU
	Table. They have been replaced with variables named bsp_XXX as
	needed.
2007-11-28 21:43:56 +00:00
Joel Sherrill
901ebab4a7 2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/mvme5500.cfg: Fix typo.
2007-11-28 21:15:29 +00:00
Till Straumann
54444d5faa 2007-11-28 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: removed redundant mpc8xx versions
	of flush/invalidate 1 cache line routines.
2007-11-28 20:56:21 +00:00
Joel Sherrill
b8596d80e1 2007-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/Makefile.am, posix/preinstall.am, posix/src/cancel.c,
	posix/src/conddestroy.c, posix/src/condinit.c,
	posix/src/condsignalsupp.c, posix/src/condwaitsupp.c,
	posix/src/mqueueclose.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuegetattr.c,
	posix/src/mqueuenotify.c, posix/src/mqueuerecvsupp.c,
	posix/src/mqueuesendsupp.c, posix/src/mqueuesetattr.c,
	posix/src/mqueueunlink.c, posix/src/mutexattrdestroy.c,
	posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
	posix/src/mutexgetprioceiling.c, posix/src/mutexinit.c,
	posix/src/mutexlocksupp.c, posix/src/mutexsetprioceiling.c,
	posix/src/mutexunlock.c, posix/src/semaphorecreatesupp.c,
	posix/src/semaphoredeletesupp.c, posix/src/semaphorewaitsupp.c,
	posix/src/semclose.c, posix/src/semdestroy.c,
	posix/src/semgetvalue.c, posix/src/sempost.c, posix/src/semunlink.c,
	posix/src/types.c, score/cpu/powerpc/rtems/old-exceptions/cpu.h:
	Remove all pretense of POSIX MP support. The support in place was
	only a shell. This should make maintenance easier.
	* posix/include/rtems/posix/condmp.h,
	posix/include/rtems/posix/mqueuemp.h,
	posix/include/rtems/posix/mutexmp.h,
	posix/include/rtems/posix/pthreadmp.h,
	posix/include/rtems/posix/semaphoremp.h, posix/src/condmp.c,
	posix/src/mutexmp.c, posix/src/semaphoremp.c: Removed.
2007-11-28 18:35:31 +00:00
Glenn Humphrey
ae10dbd9b6 2007-11-28 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/conf.t,
	user/datatypes.t, user/dpmem.t, user/fatal.t, user/init.t, user/mp.t,
	user/msg.t, user/part.t, user/region.t, user/rtmon.t, user/sem.t,
	user/task.t, user/timer.t: Corrected various errors in the
	documentation.
2007-11-28 16:23:59 +00:00
Ralf Corsepius
29925d9971 Regenerate. 2007-11-28 04:25:28 +00:00
Ralf Corsepius
70b2acabef Bump GCC_RPMREL 2007-11-28 04:24:36 +00:00
Ralf Corsepius
e5a29d6c64 Upgrade to gcc-core-4.2.2-rtems4.9-20071127.diff 2007-11-28 04:24:17 +00:00
Ralf Corsepius
7d5855cc80 Remove __GTHREAD_MUTEX_INIT (Patch from Daniel Hellstrom <daniel@gaisler.com>) per Joels request. 2007-11-28 04:18:34 +00:00
Glenn Humphrey
615563906a 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Fixed errors in the barrier binding.
2007-11-27 21:22:44 +00:00
Till Straumann
6c81fcc2a1 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c, shared/flash/flashPgm.h:
	added calls to obtain info about flash bank start,
	size and block size.
2007-11-27 21:14:26 +00:00
Joel Sherrill
5603b5a6e9 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/inline/rtems/score/thread.inl,
	score/src/threaddispatch.c: Add ability for user to disable inlining
	of _Thread_Enable_dispatch. This can save code space but more
	importantly it means the binary generated does not have code inlined
	that is difficult to test and very seldom executed.
2007-11-27 20:51:18 +00:00
Joel Sherrill
248e29af68 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Do not inline _Thread_Enable_dispatch for Thumb to
	save space.
2007-11-27 20:49:27 +00:00
Joel Sherrill
a48565ce95 2007-11-27 Kate Feng <feng1@bnl.gov>
* custom/mvme5500.cfg: Add compiler arguments sine without them, the
	BSP has issues.
2007-11-27 20:47:09 +00:00
Glenn Humphrey
4650a44c07 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp07/sp07.scn, sp07/task1.c, sp09/screen01.c, sp09/screen05.c,
	sp09/screen07.c, sp09/screen10.c, sp09/screen12.c, sp09/screen14.c,
	sp09/sp09.scn, sp25/sp25.scn, sp25/task1.c: Added several test cases
	to improve test coverage.
2007-11-27 20:44:55 +00:00
Glenn Humphrey
4d7ae31248 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* sp33/init.c, sp33/sp33.scn: Added several test cases to improve test
	coverage.
2007-11-27 20:42:06 +00:00
Till Straumann
2a444594b7 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, shared/flash, shared/flash/flash.c,
	shared/flash/flashPgm.h, shared/flash/flashPgmPvt.h,
	shared/flash/intelFlash.c, shared/flash/spansionFlash.c:
	Added flash programmer API, implementation and chip drivers
	for some intel + spansion flash chips (as found on mvme5500,
	mvme6100 and mvme3100 boards).
	A more appopriate place would probably be libchip but
	I don't know if the API is acceptable and if the implementation
	is generic enough (e.g., no CFI support) so I leave it here
	for now.
2007-11-27 20:36:22 +00:00
Glenn Humphrey
8c464e2c25 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* psxbarrier01/psxbarrier01.scn, psxbarrier01/test.c,
	psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Added several test
	cases to improve test coverage.
2007-11-27 20:12:12 +00:00
Till Straumann
118df76a8c 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
		added CVS ID.
2007-11-27 19:44:54 +00:00
Joel Sherrill
27394cd059 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* develenv/develenv.texi, develenv/direct.t, develenv/intro.texi,
	develenv/sample.t, develenv/utils.t: Update directory tree.
2007-11-27 19:31:05 +00:00
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