Commit Graph

5247 Commits

Author SHA1 Message Date
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
9c0bd6525d 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove RTEMS_PROG_CC_FOR_TARGET,
	RTEMS_PROG_CXX_FOR_TARGET, RTEMS_CANONICALIZE_TOOLS.
2001-05-11 13:02:35 +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
95083c0db9 2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
2001-05-10 13:38:37 +00:00
Joel Sherrill
d85594d462 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* libc/Makefile.am: Remove -D__STRICT_ANSI__.
2001-05-10 13:03:32 +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
ba91ea3d66 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/score/.cvsignore: Add stamp-h, cpuopts.h,
	cpuopts.h.in, cpuopts-tmp.h.
2001-05-09 13:10:17 +00:00
Joel Sherrill
93f79c0f8b 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* leaf.cfg: Remove CFLAGS_DEBUG_OPTIMIZE_V.
	* compilers/gcc-no_bsp.cfg: Remove CPP_CC_FLAGS.
	* compilers/gcc-portsw.cfg: Remove CPP_CC_FLAGS.
	* compilers/gcc-target-default.cfg: Remove *_DEBUG_OPTIMIZE_*-flags,
	remove unused flags, remove -ansi from CPP.
	* custom/eth_comm.cfg: Remove CPU_DEFINES.
	* custom/sim68000.cfg: Remove CPU_DEFINES.
2001-05-08 22:59:25 +00:00
Joel Sherrill
7ed44167b1 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-08 22:59:02 +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
6ce466d9da 2001-05-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/cpu.h: Remove #undef __STRICT_ANSI__.
2001-05-08 22:58:08 +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
d72caa64cc 2001-04-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shell/cmds.c, shell/shell.c: Remove fileno-hacks.
	* monitor/mon-symbols.c: Remove #undef __STRICT_ANSI__.
2001-05-07 13:17:25 +00:00
Joel Sherrill
53c3a2c6dc 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-07 13:16:57 +00:00
Joel Sherrill
f1d08c98b3 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/prog-cc.m4: Add CPPFLAGS and CFLAGS handling to
	RTEMS_PROG_CC_FOR_TARGET.
2001-05-07 13:15:49 +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
c556d0bacc 2001-05-07 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Merged patches from Gregory Menke
	<Gregory.D.Menke.1@gsfc.nasa.gov> that clean up
	stack usage and include nops in the delay slots.
2001-05-07 13:06:56 +00:00
Joel Sherrill
65e6b542fa 2001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* compilers/gcc-no_bsp.cfg: Remove -ansi -fasm.
	* compilers/gcc-default.cfg: Dito.
	* compilers/gcc-portsw.cfg: Remove -Hansi.
	* custom/posix.cfg: Remove inclusion of target.cfg.
	* custom/simhppa.cfg: Remove -ansi -fasm.
2001-04-26 16:41:44 +00:00
Joel Sherrill
8351871339 2001-04-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* README.cdn-X: Update.
	* automake/compile.am: Remove -ansi -fasm from CFLAGS_DEFAULT, add
	@CPPFLAGS@ to CPPFLAGS.
2001-04-26 14:09:17 +00:00
Joel Sherrill
64c5edc193 changed version to ss-20010424 2001-04-24 23:36:55 +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
eb22ebe0ec 2001-04-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c (memfile_open): Did not set iop->size
	and thus the value was incorrect.  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>.
2001-04-24 23:06:50 +00:00
Joel Sherrill
b2a1ea3a52 2001-04-24 Joel Sherrill <joel@OARcorp.com>
* psxfile01/test.c, psxfile01/psxfile01.scn : Added test case for
	open, write, reopen, append twice from Andrew Bythell
	<abythell@nortelnetworks.com> that tripped an initialization
	problem in the IMFS.
2001-04-24 23:04:59 +00:00
Joel Sherrill
126405d9ef 2000-04-24 Eric Norum <eric.norum@usask.ca>
* lib/rtems_bsdnet_ntp.c: Modifications to make the RTEMS NTP
	synchronization a little more robust -- no NTP daemon yet, but
	at least it trys a little harder when the primary NTP server is down.
2001-04-24 21:02:03 +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
dd74e612f1 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>
* Added initial shell functionality.
	* Makefile.am, configure.in, wrapup/Makefile.am:
	* shell/.cvsignore, shell/Makefile.am, shell/README,
	shell/cmds.c, shell/shell.c, shell/shell.h: New files.
2001-04-20 20:35:45 +00:00
Joel Sherrill
6fa636725c 2001-04-20 Radzislaw Galler <rgaller@et.put.poznan.pl>
* modem/ppp.c, pppd/main.c, pppd/pppmain.c, pppd/rtems-ppp.c,
	pppd/modem_example/modem.c, pppd/modem_example/ppp.c: Translated
	Polish comments and other strings into English
	* pppd/STATUS: Updated to reflect the changes
2001-04-20 20:32:08 +00:00
Joel Sherrill
a8c3326863 2001-04-20 Jake Janovetz <janovetz@uiuc.edu>
* rtems_servers/ftpd.c: Correct argument so hooks work again.
2001-04-20 19:17:08 +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
084556d6ec 2001-04-20 Eric Valette <valette@crf.canon.fr>
* aclocal/check-rdbg.m4: Added check to determine which PowerPC
	BSPs support the new exception processing model and
	consequently, librdbg.
2001-04-20 17:27:55 +00:00
Joel Sherrill
b9799049e4 2001-04-20 Eric Valette <valette@crf.canon.fr>
* mcp750 directory renamed new_exception processing as it
	supports many more CPU models.
	* configure.in, src/powerpc/Makefile.am,
	src/powerpc/new_exception_processing/Makefile.am,
	src/powerpc/new_exception_processing/remdeb_f.x: New files
	formerly in mcp750 plus modifications.
	* src/powerpc/mcp750/.cvsignore, src/powerpc/mcp750/Makefile.am,
	src/powerpc/mcp750/remdeb.h, src/powerpc/mcp750/remdeb_f.x,
	src/powerpc/mcp750/remdeb_svc.c, src/powerpc/mcp750/remdeb_xdr.c:
	Removed when moved to new_exception_processing.
	* configure.in, src/powerpc/Makefile.am,
	src/powerpc/new_exception_processing/Makefile.am,
	src/powerpc/new_exception_processing/remdeb_f.x: Modified as
	part of this effort to add support for the MPC8xx.
2001-04-20 17:24:58 +00:00
Joel Sherrill
cf7884b9d8 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* sp298/sp28.scn: Minor adjustment so test output matches the screen
	file.
2001-04-20 13:54:12 +00:00
Joel Sherrill
1fbd283c2b 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* psx04/init.c, psx04/psx04.scn, psx07/init.c, psx07/psx07.scn,
	psxfile01/psxfile01.scn, psxmsgq01/psxmsgq01.scn,
	psxreaddir/test.c, psxstat/psxstat.scn, psxstat/test.c,
	psxtime/psxtime.scn, psxtimer/psxtimer.scn:
	Various adjustments so test output matches screens more reliably.
2001-04-20 13:50:54 +00:00
Joel Sherrill
80526fa1c7 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* itronmbf01/itronmbf01.scn, itronmbox01/init.c,
	itronsem01/itronsem01.scn, itrontime01/init.c: Various
	adjustments so test output matches screens more reliably.
2001-04-20 13:49:19 +00:00
Joel Sherrill
a5bdcd9881 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c (null_initialize): Added check to
	ensure that the driver is only initialized once.  Otherwise,
	it will abort when the device /dev/null is present.
	(null_write): Do not dereference a NULL pointer.
2001-04-20 13:37:05 +00:00
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