Commit Graph
9880 Commits
Author SHA1 Message Date
Joel Sherrill 880e827b63 2001-06-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Fix typo in include_HEADERS.
2001-06-18 16:49:49 +00:00
Joel Sherrill 2aceb81909 2001-06-14 Joel Sherrill <joel@OARcorp.com>
* cdtest/system.h: Removed configure of POSIX mutexes since
	there do not appear to be any used in this test.
2001-06-14 13:37:10 +00:00
Joel Sherrill 451198be14 2001-06-14 Joel Sherrill <joel@OARcorp.com>
* rtems_servers/telnetd.c, shell/telnetd.h: Moved from libmisc/shell
	so the network stack to address network depenendency.
	* rtems_servers/Makefile.am: Modified to reflect above.
2001-06-14 13:35:47 +00:00
Joel Sherrill 8e2b4deb2a 2001-06-14 Joel Sherrill <joel@OARcorp.com>
* shell/telnetd.c, shell/telnetd.h: Moved to
	libnetworking/rtems_servers so the network stack to address network
	depenendency.
	* shell/Makefile.am: Modified to reflect above.
2001-06-14 13:34:53 +00:00
Joel Sherrill ebf3adc76f 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/.cvsignore: Add bspopts.h*, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* include/bsp.h: Include bspopts.h.
2001-06-14 12:43:18 +00:00
Joel Sherrill dd406cb311 2001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove CONSOLE_USE_POLLED, HAS_RTC.
2001-06-14 12:37:06 +00:00
Joel Sherrill 9f70652bc9 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/.cvsignore: Add bspopts.h*, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* include/bsp.h: Include bspopts.h.
2001-06-08 13:47:09 +00:00
Joel Sherrill a1c34a9cf8 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h, fix PACKAGE.
	* include/.cvsignore: Add bspopts.h*, stamp-h*.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* include/bsp.h: Include bspopts.h.
2001-06-08 13:40:59 +00:00
Joel Sherrill 93379eb8c1 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h.
	* include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h.
	* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* include/bsp.h: Include bspopts.h.
2001-06-08 13:38:08 +00:00
Joel Sherrill 622a42926e 2000-06-08 Eric Valette <valette@crf.canon.fr>
* mpc8xx/console-generic/console-generic.c:
	The printk/printf did not work when loaded by EPPCBUG. They did
	work when loaded with the BDM debugger.  I suspected EPPBUG
	made some nasty things like patching Communication processor
	microcode...  Anyway, the attached patch:
          1) Enables to have printk nearly immediately after boot,
          2) Make printf work automagically (I do not know why except I make a
	different initialization for printk that should be overwritten by
	console init later ?)

	I let the default to be using EPPCBUG embedded firmware to boot and
	using this printk early enabler code (LOADED_BY_EPPCBUG and
	EARLY_CONSOLE) are on.
2001-06-08 13:32:08 +00:00
Joel Sherrill 0eef948fc5 2000-06-08 Eric Valette <valette@crf.canon.fr>
* console/console.c, include/commproc.h, startup/start.S:
	The printk/printf did not work when loaded by EPPCBUG. They did
	work when loaded with the BDM debugger.  I suspected EPPBUG
	made some nasty things like patching Communication processor
	microcode...  Anyway, the attached patch:
          1) Enables to have printk nearly immediately after boot,
          2) Make printf work automagically (I do not know why except I make a
	different initialization for printk that should be overwritten by
	console init later ?)

	I let the default to be using EPPCBUG embedded firmware to boot and
	using this printk early enabler code (LOADED_BY_EPPCBUG and
	EARLY_CONSOLE) are on.
2001-06-08 13:29:13 +00:00
Joel Sherrill 5fef5234a4 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* shell/cmds.c: Removed code from inappropriate source.
2001-05-25 17:52:03 +00:00
Joel Sherrill c33a702d6d 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* clock/Makefile.am, console/Makefile.am, spurious/Makefile.am,
	start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
	wrapup/Makefile.am: Modified to include compile.am.
	* startup/bspstart.c: Removed include of <libcsupport.h>
2001-05-25 17:35:09 +00:00
Joel Sherrill fe70df1927 2000-05-25 Sergei Organov <osv@javad.ru>
* macros/rtems/score/coresem.inl, inline/rtems/score/coresem.inl:
	Cut and paste problem incorrectly enabled interrupts twice with
	the first time being too early.
2001-05-25 16:59:28 +00:00
Joel Sherrill fb085c11b4 2001-05-25 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-25 16:45:43 +00:00
Joel Sherrill e182fd183a 2001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add
	bspopts.h.
	* include/.cvsignore: Add bspopts.h.
	* include/bsp.h: Add bspopts.h.
	* console/Makefile.am: Use *_HEADERS instead of H_FILES.
	* configure.in: Add bspopts.h.
2001-05-25 16:45:24 +00:00
Joel Sherrill 8d94f8bd9c 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Corrected the name of the MRM332 BSP.
2001-05-25 16:37:52 +00:00
Joel Sherrill 332484b52e 2000-05-25 Matt Cross <profesor@gweep.net>
* New MRM332 BSP for the Mini RoboMind board based
	on the 68332 microcontroller designed and build by Mark
	Castelluccio.  For details on the MRM see http://www.robominds.com.
	* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
	clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
	console/.cvsignore, console/Makefile.am, console/console.c,
	include/.cvsignore, include/Makefile.am, include/bsp.h,
	include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
	spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
	start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
	startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
	startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
	timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
	wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
2001-05-25 16:28:46 +00:00
Joel Sherrill 223d791681 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Updated the list of BSPs.
 	* TOOLS_TARGETS: Updated the list of tools and object formats.
2001-05-25 16:22:38 +00:00
Joel Sherrill e807db0033 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_initsupp.c: Create the root node with the
	desired permissions.  Nodes should be created with the right
	permissions because chmod() is not supported by the miniIMFS
	so changing after creation is not possible.
2001-05-25 13:47:47 +00:00
Joel Sherrill c891fe082e 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
	root node with the desired permissions.  chmod() is also not
	supported by the miniIMFS so this is not allowable.
2001-05-25 13:46:02 +00:00
Joel Sherrill 6287b5773f 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* Added once version of psxchroot01 test for user review.
	* psxchroot01: New directory.
	* psxchroot01/Makefile.am, psxchroot01/main.c, psxchroot01/test.c,
	psxchroot01/psxchroot01.scn, psxchroot01/.cvsignore: New files.
	* configure.in, Makefile.am: Modified to reflect above.
2001-05-25 13:29:38 +00:00
Joel Sherrill 87fb080d75 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
	so they can be part of the private environment.
2001-05-24 22:04:03 +00:00
Joel Sherrill b2712e35b9 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>
* monitor/mon-prmisc.c: Correct print line.
	* shell/Makefile.am: Added new file telnetd.c.
	* shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files.
	* shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments:
	   - The shell_init has a new parameter 'forever' because in
	     /dev/console you need that this process runs forever but in
	     tcp/ip not. (respawn?)
	   - A new task for every session opened trought tcp/ip telnet client.
	     (the chargen,daytime and more are possible of implementation but
	     I ask me if they are necesary)
	   - Exit from the session delete the task and when the client fails too.
	   - More cmds have been implemented. (very reduced version of these)
	     umask, chmod, id, whoami, rm, cat, ...
	   - A reduced line edit has been implemented.
	       Ctrl-C abort the input,
	       Ctrl-d in the first position gives EOF (logout).
	       '\b' and DEL makes the rubout operation.
	       I think that readline() for every session spents a lot of resources.
2001-05-24 21:58:39 +00:00
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 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 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