Commit Graph

5105 Commits

Author SHA1 Message Date
Joel Sherrill
5346276237 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print
	only information that does not vary based on target or memory
	configuration.  The old prints are still there in case they
	are needed in the future to debug.  Printing target dependent
	addresses makes the test output vary by target unnecessarily.
2001-04-20 13:27:24 +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
176e1ed8aa 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Added code to save and restore SR and EPC to
	properly support nested interrupts.  Note that the ISR
	(not RTEMS) enables interrupts allowing the nesting to occur.
2001-04-20 13:07:34 +00:00
Joel Sherrill
4ff04390ee 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* setup.def: Modified the binutils version to 2.11 and
	RPM revision 3 to reflect experimentation with new binutils release.
2001-04-16 20:33:56 +00:00
Joel Sherrill
1d4bac927a 2001-04-16 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Fix real-time clock support.
2001-04-16 20:32:16 +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
d96374f6a7 2001-04-11 Eric Valette <valette@crf.canon.fr>
* custom/eth_comm.cfg: Switch the eth_comm BSP to use the
	"new exception processing model."
2001-04-11 14:06:05 +00:00
Joel Sherrill
365d16cf94 2001-04-11 Joel Sherrill <joel@OARcorp.com>
* binutils/Makefile.am: Added a29k-rtems.
	* binutils/binutils.add: Switch to .bz2 extension to reflect
	real way code is compressed on distribution sites now.
2001-04-11 13:51:18 +00:00
Joel Sherrill
8d2eb8cda6 2001-04-11 Joel Sherrill <joel@OARcorp.com>
* custom/default.cfg: Switch to using exec_prefix to reflect new
	organization of install point from Ralf Corsepius.
2001-04-11 13:49:47 +00:00
Joel Sherrill
6e7e723c31 2001-04-11 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Removed duplicate declaration for _ISR_Vector_table.
2001-04-11 13:48:30 +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
969de1f378 2001-03-30 Eric Valette <valette@crf.canon.fr>
* custom/mbx860_005b.cfg:  This switches the MBX8xx BSP to the
	use the "new exception processing model."
2001-04-06 16:00:54 +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
bfbc4d3ccd 2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>
* src/eventsurrender.c: Clear event condition when task is unblocked.
	This makes sure that subsequent event send thinks the task is still
	blocked and overwrites the initial events received.
2001-03-29 15:51:08 +00:00
Joel Sherrill
2c589337ea changed version to ss-20010326 2001-03-26 22:44:25 +00:00
Joel Sherrill
d79ef179dc 2001-03-23 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Reapply fix from bug report from
	Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer
	was dereferenced when freeing a triply indirect file.
	The fix was applied to the 4.5 release branch and not
	the development branch.
2001-03-23 14:02:02 +00:00
Joel Sherrill
db501a3d5d changed version to ss-20010319 2001-03-19 13:10:48 +00:00
Joel Sherrill
9a4d5493fd 2001-03-19 Joel Sherrill <joel@OARcorp.com>
* setup.def: Updated version numbers and patches for binutils
	and gdb.  binutils was to get correct patch in field.  gdb
	was to add mipstx39-rtems configurery support.
2001-03-19 13:09:35 +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
a2cc545e34 2001-03-15 Ralf Corsepiu <corsepius@faw.uni-ulm.de>
* include/.cvsignore: Remove danlgling file.
2001-03-15 13:42:58 +00:00
Joel Sherrill
b9a7287e2d 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* gdb/Makefile.am, mkgdbspec.in: Added mipstx39-rtems
	configuration to gdb since this includes the JMR3904 simulator.
2001-03-14 19:43:57 +00:00
Joel Sherrill
7e05b53a62 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* serial/Makefile.am, serial/mc68681.c, serial/ns16550.c,
	serial/serprobe.c, serial/z85c30.c: Now install sersupp.h
	to <libchip/sersupp.h> so libchip style serial drivers can
	be written in libcpu or libbsp.
2001-03-14 19:42:49 +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
1a792e4708 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* custom/genmongossev.cfg: New file.
2001-03-14 17:25:20 +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
Joel Sherrill
aa7f8a1f5d 2001-03-14 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h, rtems/score/mipstypes.h:
	Removed unused variable _CPU_Thread_dispatch_pointer
	and cleaned numerous comments.
2001-03-14 16:43:35 +00:00
Joel Sherrill
acdb655855 2001-03-13 Joel Sherrill <joel@OARcorp.com>
* Added mongoose-v, mongoose-v/include, and mongoose-v/vectorisrs
	directories.
	* mongoosev/.cvsignore, mongoosev/Makefile.am, mongoosev/README,
	mongoosev/duart/.cvsignore, mongoosev/duart/Makefile.am,
	mongoosev/duart/README.mguart, mongoosev/duart/mg5uart.c,
	mongoosev/duart/mg5uart.h, mongoosev/duart/mg5uart_reg.c,
	mongoosev/include/.cvsignore, mongoosev/include/Makefile.am,
	mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/.cvsignore,
	mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/vectorisrs.c:
	New files.
	* Makefile.am, configure.in, shared/interrupts/Makefile.am,
	shared/interrupts/maxvectors.c: Added support for mongoosev.
	* tx39/vectorisrs/vectorisrs.c: Corrected warning.
2001-03-14 00:49:17 +00:00
Joel Sherrill
7b79761f02 2001-03-08 Ralf Corsepiu <corsepius@faw.uni-ulm.de>
* configure.in: Use ${MAKE} in message at the end of the
	configure.in.
2001-03-14 00:18:08 +00:00
Joel Sherrill
2e549dad4b 2001-03-13 Joel Sherrill <joel@OARcorp.com>
* cpu.c, cpu_asm.S, iregdef.h, rtems/score/cpu.h, rtems/score/mips.h:
	Merged MIPS1 and MIPS3 code reducing the number of lines of assembly.
	Also reimplemented some assembly routines in C further reducing
	the amount of assembly and increasing maintainability.
2001-03-14 00:14:18 +00:00
Joel Sherrill
07fbfcedf0 2001-01-31 Sergei Organov <osv@javad.ru>
* rtems_servers/ftp.d: Following changes:
	  - Hacks with current dir and root dir removed in favor of new libio
	    support for task-local current and root directories.
	  - Bug in `close_data_socket()' introduced by previous change fixed.
	  - `command_pasv()' changed to set timeout on socket we are listening
	    on and code fixed to don't close socket twice on error.
	  - `serr()' changed to clear `errno'.
	  - `data_socket()' changed to clear `errno' before `bind()'.
	  - `session()' changed to clear `errno' before processing session.
	  - `close_data_socket()' fixed to close both active and passive sockets
	  - Initialize info->data_socket to -1 in `daemon()'
	  - Initialize `fname' to empty string  in `exec_command()'
2001-03-05 23:01:43 +00:00
Joel Sherrill
1fc16ff9d1 2001-02-18 Ralf Corsepiu <corsepius@faw.uni-ulm.de>
* include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:49:39 +00:00
Joel Sherrill
2eb9d16900 2001-02-18 Ralf Corsepiu <corsepius@faw.uni-ulm.de>
* include/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:49:23 +00:00
Joel Sherrill
98f3cfa1a6 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc505/ictrl/Makefile.am, mpc6xx/clock/Makefile.am,
	mpc6xx/exceptions/Makefile.am, mpc6xx/mmu/Makefile.am,
	mpc8xx/include/Makefile.am, new_exception_processing/Makefile.am,
	old_exception_processing/Makefile.am, pc403/ictrl/Makefile.am,
	shared/include/Makefile.am, shared/src/Makefile.am:
	Apply *_HEADERS instead of *H_FILES.
	* shared/src/.cvsignore: Add cache.h.
2001-03-05 22:48:47 +00:00
Joel Sherrill
bb56b9f166 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am: Apply *_HEADERS instead of *H_FILES.
2001-03-05 22:48:31 +00:00
Joel Sherrill
bb621b05e1 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/cache/Makefile.am, tx39/include/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:48:10 +00:00
Joel Sherrill
b98c8c9b7c 2001-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* m68040/fpsp/Makefile.am, shared/cache/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:47:50 +00:00
Joel Sherrill
92aaf3de64 2001-02-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* i960ca/Makefile.am, i960ka/Makefile.am, i960rp/Makefile.am:
	Remove H_FILES.
	* include/Makefile.am:  Apply include_*HEADERS instead of H_FILES.
2001-03-05 22:47:30 +00:00