Commit Graph
9736 Commits
Author SHA1 Message Date
Joel Sherrill 2082fe2919 2001-08-03 Joel Sherrill <joel@OARcorp.com>
* libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
	report from Gene Smith <Gene.Smith@sea.siemens.com>, enhanced the
	error checking to account for a socket being closed.
2001-08-03 16:06:33 +00:00
Joel Sherrill b8c8cab3fc 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* src/imfs/deviceio.c: Make sure errno gets set to reflect
	the status from the driver.
2001-07-06 21:48:16 +00:00
Joel Sherrill caeb33b22d 2001-07-03 Mike Seirs <mike@poliac.com>
* comm/tty_drv.c, comm/uart.c, comm/uart.h:  Adds the capability
	to use task driven serial I/O to ti386 BSPs. This patch leaves thex
	default I/O mode to be IRQ.  If you want to use task I/O mode,
	then the tty_drv.c file needs to be modified.  Basically, all
	you need to change is the data values of the termios callbacks
	structure.  This callback structure is used in the tty1_open
	and tty2_open functions.  The values you need to set are commented
	out in the source code.
2001-07-03 17:56:32 +00:00
Joel Sherrill 77b8106919 2001-07-03 Joel Sherrill <joel@OARcorp.com>
* cpu.c: Fixed typo.
2001-07-03 16:58:56 +00:00
Joel Sherrill cacbf4f86a 2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* console/Makefile.am: Remove RTEMS_H_FILES.
	* start/start16.S: include <bspopts.h> to get NEW_GAS.
2001-06-20 12:24:12 +00:00
Joel Sherrill a2e672351d 2001-06-19 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.
	* scitab/Makefile.am: Use @CPU_CLOCK_RATE_HZ@.
2001-06-19 15:04:08 +00:00
Joel Sherrill d4f9cef540 2001-06-19 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-19 14:27:24 +00:00
Joel Sherrill 2afd32b7d7 2001-06-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* io/Makefile.am: Ditto.
	* irq/Makefile.am: Ditto.
	* pci/Makefile.am: Ditto.
2001-06-19 14:26:49 +00:00
Joel Sherrill 2e45a0cbf4 2001-06-19 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.
	* 3c509/Makefile.am: Dito.
	* console/Makefile.am: Dito.
	* include/bsp.h: Include bspopts.h.
2001-06-19 14:26:29 +00:00
Joel Sherrill b7dac386bf 2001-06-19 Joel Sherrill <joel@OARcorp.com>
* start/start.S: Reverse sense of conditional compilation so the
	code will compile for a cpu32.
2001-06-19 14:24:36 +00:00
Joel Sherrill 1f17d21f3e 2001-06-19 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am: Fixed typo.
2001-06-19 14:23:53 +00:00
Joel Sherrill c7c6e721ea 2001-06-19 Joel Sherrill <joel@OARcorp.com>
* scitab/Makefile.am, startup/Makefile.am: Use CPU_CLOCK_RATE_HZ as
	it is called in configure.in instead of HZ.
2001-06-19 14:22:47 +00:00
Joel Sherrill 94a6512517 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-18 22:37:14 +00:00
Joel Sherrill 69e93d8f95 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/bsp.h: Include bspopts.h.
2001-06-18 22:37:01 +00:00
Joel Sherrill 83f37fc85e 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Correct typo.
2001-06-18 22:36:42 +00:00
Joel Sherrill 1a7ea60194 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_servers/Makefile.am: Deleted blank lines.
2001-06-18 22:36:09 +00:00
Joel Sherrill 439675dff4 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.
	* consolex/Makefile.am: Ditto.
	* include/bsp.h: Include bspopts.h.
2001-06-18 22:35:28 +00:00
Joel Sherrill 4906d72f85 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-18 17:02:30 +00:00
Joel Sherrill c4d9221625 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-18 16:54:47 +00:00
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 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 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