Commit Graph

1822 Commits

Author SHA1 Message Date
Joel Sherrill
ffb4ccf791 2001-05-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/bsp.h: Include bspopts.h.
	* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-24 20:10:43 +00:00
Joel Sherrill
fddaaf128d 2001-05-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/bsp.h: Include bspopts.h.
	* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-24 20:10:09 +00:00
Joel Sherrill
cac4c754fa 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/bsp.h: Include bspopts.h.
	* include/.cvsignore: Add bspopts.h*, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* start/Makefile.am: Dito.
	* network/Makefile.am: Dito.
2001-05-24 20:09:13 +00:00
Joel Sherrill
42705e1198 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* include/bsp.h: Include bspopts.h.
2001-05-24 20:08:36 +00:00
Joel Sherrill
84334ed4e5 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES.
2001-05-24 20:08:07 +00:00
Joel Sherrill
3243de16af 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: remove shared/io/Makefile.
2001-05-24 20:07:56 +00:00
Joel Sherrill
e86adc797d 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add include/bspopts.h.
	* console/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* irq/Makefile.am: Use *_HEADER instead of *H_FILES.
	* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*
	* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
	* include/bsp.h: Add bspopts.h.
2001-05-24 20:07:01 +00:00
Joel Sherrill
b1a2ae922a 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS,
	CONSOLE_USE_POLLED, HAS_RTC.
	* include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES, New
	treatment of tod.h, coverhd.h.
	* include/bsp.h: Add include bspopts.h.
2001-05-24 20:03:27 +00:00
Joel Sherrill
7c05d2806c 2000-05-24 Joel Sherrill <joel@OARcorp.com>
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
	r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c,
	tx39/include/tx3904.h: All exceptions were given low numbers and thus
	can be now be installed and processed in a uniform manner just like interrupts.
	Variances between various MIPS ISA levels are not accounted for at this time.
	* mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c,
	r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c,
	tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c,
	shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the
	shared maxvectors.c into a variety of CPU model specific versions to simplify
	the build process and reduce depdencies.  Deleted shared/interrupts/maxvectors.c
	and created various CPU model versions.
2001-05-24 19:54:22 +00:00
Joel Sherrill
3b286783ca 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>
* clock/clock.S: Move placement of nop.
2001-05-24 13:23:48 +00:00
Joel Sherrill
bb3efe9e64 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* start/regs.S, start/start.S: Now works on Mongoose-V.  Missed
	in previous patch.
2001-05-24 13:21:56 +00:00
Joel Sherrill
2e7ed911d7 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h,
	mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
	shared/interrupts/maxvectors.c: Now works.  Significant rework
	of exceptions and interrupt vectoring to clean things up.
	* shared/interrupts/vectorexceptions.c: Removed.
	* shared/interrupts/Makefile.am: Reflects above.
2001-05-22 23:20:14 +00:00
Joel Sherrill
a355e3ea98 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* clock/clockdrv.c, console/conscfg.c: Corrected.
	* include/bsp.h: Support for tm27 and addition of CPU_CLOCK_RATE.
	* startup/bspstart.c: Properly set initial status register and
	pending interrupts.
	* timer/timer.c: Works now.
2001-05-22 23:07:09 +00:00
Joel Sherrill
f86582c814 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), adapt
        bspopts.h handling to other sh-BSPs.
        * include/.cvsignore: Add stamp-h*, bspopts.h*.
        * include/Makefile.am: Use include_HEADERS instead of H_FILES.
        * startup/bspstart.c: Reworked, based on the amos BSP.
2001-05-11 16:51:25 +00:00
Joel Sherrill
5dbd4fed5a 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add
	bspopts.h.
	* include/.cvsignore: Add stamp-h*, bspopts.h*.
	* include/Makefile.am: Use include_HEADERS instead of H_FILES.
	* include/bsp.h: Add bspopts.h.
	* startup/bspstart.c: Replace HZ w/ CPU_CLOCK_RATE_HZ.
2001-05-11 16:51:06 +00:00
Joel Sherrill
daa93ce87c 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]),
	add bspopts.h.
	* include/.cvsignore: Add stamp-h*, bspopts.h*.
	* include/Makefile.am: Use include_HEADERS instead of H_FILES.
	* include/bsp.h: Add bspopts.h.
2001-05-11 16:50:47 +00:00
Joel Sherrill
3aa441c9a0 2001-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-11 16:50:20 +00:00
Joel Sherrill
6f213287e9 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-11 13:15:55 +00:00
Joel Sherrill
d8e0a60b9b 2001-05-11 Joel Sherrill <joel@OARcorp.com>
* tools/runtest: Add functionality to avoid letting simulator
	run too long.
2001-05-11 13:01:49 +00:00
Joel Sherrill
c8f7f94b4e 2001-05-11 Joel Sherrill <joel@OARcorp.com>
* libc/write.c: Change type of rc to match return type from
	underlying function per report from Eric Norum.
2001-05-11 13:01:01 +00:00
Joel Sherrill
f0ef873cca 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* scitab/.cvsignore: Add.
	* configure.in: Add --enable-console, CPU_CLOCK_RATE_HZ, autoheader
	bspopt.h.
	* include/bsp.h: Complete rewrite based on the AMOS-BSP.
	* README: Update.
	* bsp_specs: copy from gensh1
2001-05-09 13:12:23 +00:00
Joel Sherrill
5d2fe483dd 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ne2000/ne2000.c: Remove #define __INSIDE_RTEMS_BSD_TCPIP_STACK__.
2001-05-08 22:58:46 +00:00
Joel Sherrill
ab941371bf 2001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-07 13:18:02 +00:00
Joel Sherrill
bbc99f1a6f 2001-05-07 Joel Sherrill <joel@OARcorp.com>
* shared/interrupts/vectorexceptions.c: New file to decode
	exception code and vector appropriate NON-interrupt exception.
	* shared/interrupts/Makefile.am: Modified to reflect above.
2001-05-07 13:10:53 +00:00
Joel Sherrill
a9d8649a58 2001-05-07 Joel Sherrill <joel@OARcorp.com>
* console/conscfg.c: Added an entry for the second
	serial port.
2001-05-07 13:07:58 +00:00
Joel Sherrill
6f43d82ecb 2001-04-24 Joel Sherrill <joel@OARcorp.com>
* libc/libio.c (rtems_libio_allocate): Make sure size and offset
	fields are cleared on each file open.  Before this field was cleared,
	this resulted in the value from the last time that IOP was used
	being still in place.  Discovered by  Andrew Bythell
	<abythell@nortelnetworks.com>.
	* libc/open.c: Remove redundant setting of iop->offset.
2001-04-24 23:10:04 +00:00
Joel Sherrill
f077f3322d 2000-04-23 Jiri Gaisler <jiri@gaisler.com>
* start.S: Modificatins to preserve the current CWP and adjust the
	WIM accordingly. This improves compatibility with the remote
	debugger and the mkprom prom-builder.
2001-04-24 20:49:11 +00:00
Joel Sherrill
6de4727fd2 2000-04-23 Jiri Gaisler <jiri@gaisler.com>
* console/debugputs.c: Switched to unsigned characters.
2001-04-23 13:19:35 +00:00
Joel Sherrill
d8a9155512 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
	Private environment and chroot() enhancements and fixes.  Comments:
	  + privateenv has been modified to let at chroot() to be more
	    POSIX like Sergei Organov recommended.
	  + A task owner lets that rtems_set_private_env() will be
	    called twice or more times.
	  + chroot() can be called without a previous
	    rtems_set_private_env(); (transpanrently)
	  + The second call of rtems_set_private_env() makes a internal
	    chroot("/") into global imfs_root.
	  + chroot() runs like chdir() without a previous chdir("/") with
	    the global root.
	  + The current directory can be in a wrong place like Linux and
	    many other Unices.
2001-04-20 21:11:25 +00:00
Joel Sherrill
52dace9105 2001-04-20 Eric Valette <valette@crf.canon.fr>
* include/bsp.h: Added include of <bsp/vectors.h>
	* vectors/vectors.h: Corrected typos.
2001-04-20 17:29:09 +00:00
Joel Sherrill
b85df3491f 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor
	the other bits set in the Peripheral Function Interrupt Mask
	Register when modifying those enabled for the DUART.
	* mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK,
	MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr,
	mongoosev_clear_in_pficr, mongoosev_set_in_pfimr,
	mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
2001-04-20 13:24:39 +00:00
Joel Sherrill
b335c50311 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h (Clear_tm27_intr): Stop the timer and disable
	the interrupt.  This was not quite right before and we were
	getting uncontrolled interrupt nesting in tm27.
	* timer/timer.c (Timer_Initialize): Added an extra reset and
	changed the ITMR register so we will never get an interrupt.
	(Read_timer): Fixed so the timer actually stops before it
	is read.  Before some times reported were outraguously high.
	* start/start.S: Major clean including using stack in linkcmds,
	deleting unused code, and zeroing the BSS using the linkcmds
	information.
	* startup/linkcmds: Put heap in lower memory than workspace
	and move _clear_end so both are zeroed.
2001-04-20 13:14:55 +00:00
Joel Sherrill
831aba1ef5 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Account for the fact that ClockRate is
	in cycles not megahertz.
2001-04-20 13:08:46 +00:00
Joel Sherrill
d6a2d7eeb1 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* include/rtc.h: New file.
	* include/Makefile.am: Updated to reflect above.
2001-04-16 20:22:12 +00:00
Joel Sherrill
49ec556bd0 2001-04-11 Eric Valette <valette@crf.canon.fr>
* network/network.c: Fix unnecessary double assignment.
2001-04-16 20:21:01 +00:00
Joel Sherrill
4055e6f86f 2001-04-11 Eric Valette <valette@crf.canon.fr>
* clock/.cvsignore, clock/Makefile.am, clock/p_clock.c,
	include/8xx_immap.h, include/commproc.h, irq/.cvsignore,
	irq/Makefile.am, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c, vectors/.cvsignore, vectors/Makefile.am,
	vectors/vectors.S, vectors/vectors.h,
	vectors/vectors_init.c: New file.
	* Switch the eth_comm BSP to use the "new exception processing model."
2001-04-16 20:18:03 +00:00
Joel Sherrill
2cdde6d820 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c, startup/linkcmds:
	Cleanup that was not merged from the simple non-RTEMS program.
2001-04-16 20:03:31 +00:00
Joel Sherrill
d74a92d1fd 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h
	Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
	as he debugged this BSP using a logic analyzer.  In particular,
	there was a mistake where the index not offset of registers was
	in the header file and the baud rate calculation was incorrect.
2001-04-16 20:02:27 +00:00
Joel Sherrill
c9e729758c 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c, startup/linkcmds:
	Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
	as he debugged this BSP using a logic analyzer.
2001-04-16 19:30:13 +00:00
Joel Sherrill
3491e9e544 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* start/start.S, startup/bspstart.c, startup/linkcmds:
	Modifications made with Gregory Menke <gregory.menke@gsfc.nasa.gov>
	as he debugged this BSP using a logic analyzer.
2001-04-16 19:30:12 +00:00
Joel Sherrill
090de1adf5 2001-04-11 Eric Valette <valette@crf.canon.fr>
* Makefile.am, configure.in, console/console.c,
	include/Makefile.am, include/bsp.h, network/network.c,
	startup/Makefile.am, startup/bspstart.c, startup/linkcmds,
	wrapup/Makefile.am: Switch the eth_comm BSP to use the
	"new exception processing model."
2001-04-11 14:07:22 +00:00
Joel Sherrill
ec1123229d 2001-03-30 Eric Valette <valette@crf.canon.fr>
* mpc8xx/vectors/.cvsignore, mpc8xx/vectors/Makefile.am,
	mpc8xx/vectors/README, mpc8xx/vectors/align_h.S
	mpc8xx/vectors/vectors.S:  These files were removed in
	support of switching the mpc8xx to the use the "new exception
	processing model."
2001-04-06 16:05:01 +00:00
Joel Sherrill
82e87e9438 2001-03-30 Eric Valette <valette@crf.canon.fr>
* configure.in, motorola_powerpc/Makefile.am,
	motorola_powerpc/configure.in: These modifications are in
	support of switching the mpc8xx to the use the "new exception
	processing model."
2001-04-06 16:02:40 +00:00
Joel Sherrill
bde9bb5ff0 2001-03-30 Eric Valette <valette@crf.canon.fr>
* Makefile.am, console/consoleIo.h, include/bsp.h:
	These modifications are part of the conversion of the
	mpc8xx CPU to the "new exception processing model."
2001-04-06 15:58:49 +00:00
Joel Sherrill
37731c2bd8 2001-03-30 Eric Valette <valette@crf.canon.fr>
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am,
	mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c,
	mpc8xx/exceptions/raw_exception.h: New files.
	* configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am,
	mpc8xx/clock/clock.c,
	mpc8xx/console-generic/console-generic.c,
	mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c,
	new_exception_processing/cpu.h, shared/include/byteorder.h,
	wrapup/Makefile.am:  This is conversion of the
	mpc8xx CPU to the "new exception processing model."
2001-04-06 15:54:20 +00:00
Joel Sherrill
35bb69b1cd 2001-03-30 Eric Valette <valette@crf.canon.fr>
* clock/.cvsignore, clock/Makefile.am, clock/p_clock.c,
	include/8xx_immap.h, include/commproc.h, include/mbx.h,
	irq/.cvsignore, irq/Makefile.am, irq/irq.c, irq/irq.h,
	irq/irq_asm.S, irq/irq_init.c, vectors/.cvsignore,
	vectors/Makefile.am, vectors/vectors.S, vectors/vectors.h,
	vectors/vectors_init.c: New files.
	* Makefile.am, configure.in, console/console.c,
	include/Makefile.am, network/network.c, startup/Makefile.am,
	startup/bspstart.c, startup/imbx8xx.c, startup/linkcmds,
	startup/mmutlbtab.c, startup/start.S, wrapup/Makefile.am:
	The modifications to this BSP reflect the conversion of the
	mpc8xx CPU to the "new exception processing model."
2001-04-06 15:52:03 +00:00
Joel Sherrill
ab6d08ffc1 2001-03-19 Joel Sherrill <joel@OARcorp.com>
* sys/utsname.h: Added C++ wrapper.
2001-03-19 13:08:20 +00:00
Joel Sherrill
b6a9d253dc 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Added printk() support.
2001-03-14 19:41:09 +00:00
Joel Sherrill
ef380d3ff9 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c, console/conscfg.c, include/bsp.h, start/start.S,
	startup/bspstart.c, timer/timer.c: Comments corrected.
2001-03-14 17:24:09 +00:00
Joel Sherrill
f849f3ee1f 2001-02-22 Joel Sherrill <joel@OARcorp.com>
* The Generic Mongoose-V BSP uses only the peripherals found on
	the Synova Mongoose-V CPU.  This is a radiation hardened CPU
	based on the LSI Logic 33K.
	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.in,
	clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c,
	console/.cvsignore, console/Makefile.am, console/conscfg.c,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	start/.cvsignore, start/Makefile.am, start/regs.S, start/start.S,
	startup/.cvsignore, startup/Makefile.am, startup/bspstart.c,
	startup/linkcmds, timer/.cvsignore, timer/Makefile.am, timer/timer.c,
	wrapup/.cvsignore, wrapup/Makefile.am: New files.
2001-03-14 17:19:53 +00:00