Commit Graph

5224 Commits

Author SHA1 Message Date
Joel Sherrill
e565720aad 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
	* libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
	* libc/base_fs.c: Change permissions of files and directories.  Now uses
	octal constants.
2001-05-24 21:43:08 +00:00
Joel Sherrill
aaf6063737 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* src/getegid.c, src/geteuid.c, src/getgid.c, src/getlogin.c,
	src/getuid.c: Now save their values in private user environment.
2001-05-24 21:38:10 +00:00
Joel Sherrill
9a23bf6453 2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
	256 meg to allow operation on boards with larger RAM sizes.
	* vectors/vectors_init.c: Modified to call 'generic' powerpc
	vector function (mpc60x_vector_is_valid) instead of MPC750
	specific function to allow operation on boards with CPUs other
	than the MPC750.
2001-05-24 20:17:38 +00:00
Joel Sherrill
133ddf2ed6 2001-05-24 Tom Armistead <tom_armistead@phx.mcd.mot.com>
* mpc6xx/timer/timer.c: Added include of bsp.h and removed
	external declaration of BSP_Convert_decrementer() to
	correct unresolved reference to this routine.
2001-05-24 20:17:02 +00:00
Joel Sherrill
907af7dc2e 2001-05-24 Eric Valette <valette@crf.canon.fr>
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
	<elkolli@crf.canon.fr> where the initialization or irq data structure
	was incomplete in case a SMC channel was used first and later a SCC one.
2001-05-24 20:14:58 +00:00
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
6b5a85ae5b 2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/dmv177.cfg: Remove CONSOLE_USE_INTERRUPTS,
	CONSOLE_USE_POLLED, HAS_RTC.
2001-05-24 20:03:10 +00:00
Joel Sherrill
a86c171440 2001-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f.
	* aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f,
	Add support for DOS-drive-letters.
2001-05-24 20:01:10 +00:00
Joel Sherrill
01ec6c0c4c 2001-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove AC_EXEEXT, treat .exe manually.
	* gccnewlib/base-gcc.add: Remove cpp.
	* gccnewlib/gccnewlib.add: mv cpp $target_alias-cpp, update
	copyright.
2001-05-24 19:58:35 +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
6937dfd6aa 2000-05-24 Joel Sherrill <joel@OARcorp.com>
* rtems/score/mips.h: Added constants for MIPS exception numbers.
	All exceptions should be given low numbers and thus can be installed
	and processed in a uniform manner.  Variances between various MIPS
	ISA levels were not accounted for.
2001-05-24 19:49:31 +00:00
Joel Sherrill
44ce2da155 2000-05-24 Joel Sherrill <joel@OARcorp.com>
* rtems/score/mips.h: Added constants for MIPS exception numbers.
	All exceptions should be given low numbers and thus can be installed
	and processed in a uniform manner.  Variances between various MIPS
	ISA levels were not accounted for.
2001-05-24 19:49:30 +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
d26dce208d 2001-05-24 Greg Menke <gregory.menke@gsfc.nasa.gov>
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
	* cpu_asm.S: Now works on Mongoose-V.  Missed in previous patch.
2001-05-24 13:19:51 +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
e2040badd2 2001-05-22 Greg Menke <gregory.menke@gsfc.nasa.gov>
* rtems/score/cpu.h: Add the interrupt stack structure and enhance
	the context initialization to account for floating point tasks.
	* rtems/score/mips.h: Added the routines mips_set_cause(),
	mips_get_fcr31(), and mips_set_fcr31().
	* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
2001-05-22 22:59:42 +00:00
Joel Sherrill
baf22b93bd 2001-05-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/gensh1.cfg: Remove HZ, BSP_CPPFLAGS.
	* custom/gensh2.cfg: Dito.
2001-05-11 16:51:57 +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
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