Commit Graph

3617 Commits

Author SHA1 Message Date
Joel Sherrill
e0ddaa7ee3 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gdbsci/, scitab/, trap34/: Add directories.
2001-01-29 15:33:34 +00:00
Joel Sherrill
ed3ec25e12 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* startup/linkcmds: Remove OUTPUT_FORMAT.
2001-01-29 15:28:48 +00:00
Joel Sherrill
37222c7e74 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove stubdr, wrapup, AC_INIT(include).
	* Makefile.am: Remove stubdr, wrapup.
	* stubdr/Makefile.am, stubdr/open.c, stubdr/close.c, stubdr/init.c,
	stubdr/stubdrv.h, stubdr/cntrl.c, stubdr/.cvsignore, stubdr/read.c,
	stubdr/write.c, wrapup/Makefile.am, wrapup/.cvsignore, stubdr/,
	wrapup/: Remove.
2001-01-26 21:57:44 +00:00
Joel Sherrill
d481f9a968 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* tm20/Makefile.am: Remove stubdir.rel
2001-01-26 21:56:25 +00:00
Joel Sherrill
55a86b4528 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sp21/Makefile.am: Remove libtest.
2001-01-26 21:55:39 +00:00
Joel Sherrill
9c63d90561 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/confdefs.h: include cpuopts.h, replace stubdr w/ devnull.
2001-01-26 21:54:57 +00:00
Joel Sherrill
56f20bacf0 2001-01-26 Joel Sherrill <joel@OARcorp.com>
* libc/chroot.c: Fixed naming problems.  Names were changed
	when the code this depends on was merged.
2001-01-26 14:50:54 +00:00
Joel Sherrill
37535317d9 2001-01-25 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
	<peter.o.mueller@gmx.de> because of not correcting for the ISR
	vector table now being allocated from the workspace.
2001-01-26 14:12:48 +00:00
Joel Sherrill
809feccc93 2001-01-25 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Reduce first timeout interval.  This
	improves throughput on systems which are dropping packets.
	Only the first timeout is reduced.  This keeps the number
	of extra packets down on networks that are very busy and
	dropping lots of packets.
2001-01-25 22:59:32 +00:00
Joel Sherrill
c54152a26c 2001-01-25 Joel Sherrill <joel@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Bug report from Peter Mueller
	<peter.o.mueller@gmx.de> because of not correcting for the ISR
	vector table now being allocated from the workspace.
2001-01-25 18:45:59 +00:00
Joel Sherrill
41caf2df23 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>
* Alternate email is correo@fernando-ruiz.com
	* libc/privateenv.c: New file.
	* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
	libc/unmount.c: Moved default umask, current working directory,
	root, and links followed count into a structure "user environment"
	that can then be treated as a unit.  This enable giving unique
	copies of these to individual threads or collection of threads.
2001-01-25 17:57:13 +00:00
Joel Sherrill
2a929cc871 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>
* Alternate email is correo@fernando-ruiz.com
	* libc/privateenv.c: New file.
	* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
	libc/unmount.c: Moved default umask, current working directory,
	root, and links followed count into a structure "user environment"
	that can then be treated as a unit.  This enable giving unique
	copies of these to individual threads or collection of threads.
2001-01-25 15:59:58 +00:00
Joel Sherrill
4a80bf2bb1 2001-01-25 Joel Sherrill <joel@OARcorp.com>
* psx01/psx01.scn: Corrected to reflect clock_getres() now working.
2001-01-25 15:52:19 +00:00
Joel Sherrill
38371dbebb 2001-01-24 Sergei Organov <osv@javad.ru>
* rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements
	as listed below:
	  - Timeouts on sockets implemented. 'idle' field added to
	    configuration. No timeout by default to keep backward compatibility.
	    Note: SITE IDLE command not implemented yet.
	  - Basic global access control implemented. 'access' field added to
	    configuration. No access limitations by default to keep backward
	    compatibility.
	  - Anchor data socket for active mode (using self IP and port 20.)
	  - Fixed default data port support (still not tested).
	  - Don't allow IP address different from originating host in
	    PORT command to improve security.
	  - Fixed bug in MDTM command.
	  - Check for correctness of parsing of argument in command_port().
	  - Fixed squeeze_path() to don't allow names like 'NAME/smth' where
	    'NAME' is not a directory.
	  - Command parsing a little bit improved: command names are now
	    converted to upper-case to be more compatible with RFC (command
	    names are not case-sensitive.)
	  - Reformat comments so that they have RTEMS look-and-feel.
	  - Fixed DELE, SITE CHMOD, RMD, MKD broken by previous changes
	  - True ASCII mode implemented (doesn't work for hooks and /dev/null)
	  - Passive mode implemented, PASV command added.
	  - Default port for data connection could be used (untested, can't find
	    ftp client that doesn't send PORT command)
	  - SYST reply changed to UNIX, as former RTEMS isn't registered name.
	  - Reply codes reviewed and fixed.
2001-01-24 19:20:24 +00:00
Joel Sherrill
e8a7a466a2 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, README, console/console-io.c, start/start.S,
	startup/linkcmds: Update to make shsim closer to functional.
2001-01-24 19:10:38 +00:00
Joel Sherrill
b00b6a7808 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove rtems_cv_prog_cc_cross reference.
	* target.cfg.in: Delete commented out lines regarding obsolete lines.
2001-01-24 18:06:01 +00:00
Joel Sherrill
f42b726174 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add src/config.h
	* src/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* src/.cvsignore: Add config.h and stamp-h
	* src/*.c: Add config.h support.
2001-01-24 14:17:28 +00:00
Joel Sherrill
5c26b28b9b 2001-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config.h.in: Automatically generated.  Remove from CVS.
2001-01-24 14:10:31 +00:00
Joel Sherrill
b978374039 2001-01-23 Joel Sherrill <joel@OARcorp.com>
* src/alarm.c: Eliminated use of C++ style comments.
2001-01-23 22:42:58 +00:00
Joel Sherrill
a93baa4383 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* src/clockgetres.c: Fixed match problem.  We are not converting
	an interval to a timespec -- it is actually a real number of
	microseconds.
2001-01-22 14:19:05 +00:00
Joel Sherrill
9f8748400e 2001-01-22 Radzislaw Galler <rgaller@et.put.poznan.pl>
* README.EVB7045F: New file.
	* README: Additions and corrections.
	* include/bsp.h: Switch console to sci0.
2001-01-22 14:12:51 +00:00
Joel Sherrill
4dd1aa53ed 2001-01-22 Radzislaw Galler <rgaller@et.put.poznan.pl>
* clock/ckinit.c (Install_clock): Modified MTU timer 0 initialization
	to generate an interrupt exactly every 1us
2001-01-22 14:11:09 +00:00
Joel Sherrill
d6b1d73bc7 2001-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add src/imfs/config.h
	* src/imfs/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* src/imfs/.cvsignore: Add config.h and stamp-h
	* src/imfs/*.c: Add config.h support.
2001-01-22 14:05:14 +00:00
Joel Sherrill
7a55888efe 2001-01-22 Michael Hamel <mhamel@adi.co.nz>
* include/rtems.h, src/signalcatch.c: Modifications to make
	CodeWarrior happy.
2001-01-22 13:47:07 +00:00
Joel Sherrill
32ba727717 2001-01-22 Michael Hamel <mhamel@adi.co.nz>
* include/rtems/posix/semaphore.h, inline/rtems/posix/semaphore.inl,
	src/ptimer1.c, include/rtems/posix/semaphore.h,
	inline/rtems/posix/semaphore.inl, src/alarm.c, src/ptimer1.c,
	src/semaphorenametoid.c, src/semopen.c, src/semunlink.c:
	Modifications to make CodeWarrior happy.
2001-01-22 13:46:28 +00:00
Joel Sherrill
c2a4084fe4 2001-01-12 Eric Norum <eric.norum@usask.ca>
* README, clock/Makefile.am, clock/ckinit.c, clock/clock.c:
	Clock driver updated to use shell driver mechanism.
	* clock/ckinit.c: Removed.
	* clock/clock.c: New file.
2001-01-12 15:00:54 +00:00
Joel Sherrill
3f777d0edf 2001-01-12 Sergei Organov <osv@javad.ru>
* rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements
	as listed below:
	    - use pool of pre-created threads to handle sessions instead of
  	      creating/deleting threads on the fly
	    - LIST output is now similar to what "/bin/ls -al" would output,
	      thus FTP clients such Netscape are happy with it.
	    - LIST NAME now works (both for files and directories)
	    - added support for NLST, CDUP, and MDTM FTP commands to make
	      more FTP clients happy
	    - keep track of CWD for every session separately
	    - ability to specify root directory name for FTPD in configuration
	      table. FTPD will then create illusion for FTP clients that this
	      is actually root directory.
	    - ignore options sent in commands, thus LIST -al FILE works and
	      doesn't try to list "-al" directory.
	    - buffers are allocated on stack instead of heap where possible to
	      eliminate malloc/free calls (avoid possible heap fragmentation
	      troubles).
	    - drop using of task notepad to pass parameters - use function
	      arguments instead
	    - use snprintf() instead of sprintf() as the latter is unsafe
	    - use of PF_INET in socket() instead of AF_INET

	    Here are ftp clients I've tried new FTPD with (all of them
	    running on Debian GNU/Linux 2.2):

	         Lftp 2.1.10
	         NcFTP 2.4.3
	         Netscape 4.75
	         ftp
	         mc 4.5.49
2001-01-12 13:51:56 +00:00
Joel Sherrill
d19415873f 2001-01-12 Jake Janovetz <janovetz@uiuc.edu>
* src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c,
	src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/memfile.c,
	src/imfs/miniimfs_init.c: Final developmental update to "tarfs".
	When rtems_tarfs_load() is called, it checks the permissions
	on each file.  If there is write permission, it just creates a
	standard file using "creat()" and therefore, uses the IMFS MEMORY_FILE.
	If there is no write permission, it creates a LINEAR_FILE node
	with the appropriate properties.  If the permission is ever changed
	to writeable, IMFS_fchmod converts it to a regular memory file.
2001-01-12 13:44:12 +00:00
Joel Sherrill
5c27c8053b 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* r46xx/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
	constraints from general to register.
	* tx39/vectorisrs/vectorisrs.c (mips_get_cause): Corrected
	constraints from general to register.
2001-01-12 13:38:01 +00:00
Joel Sherrill
d2959b22fb 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* setvec.c: Removed unused variables.
2001-01-12 13:36:54 +00:00
Joel Sherrill
9c1dc8cd2a 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* rtems/score/mips.h (mips_get_sr, mips_set_sr): Corrected
	register constraints from "general" to "register".
2001-01-12 13:36:30 +00:00
Joel Sherrill
d9f61654c7 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* src/README.mqueue: Enhanced example.
2001-01-12 13:34:24 +00:00
Joel Sherrill
4d6b3b66e1 2001-01-12 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h, timer/timer.c: Updated so timer appears to
	work and support tm27.  I would prefer to time a software
	interrupt rather than an use an extra timer though.
2001-01-12 13:28:27 +00:00
Joel Sherrill
8b15163fd3 2001-01-09 Joel Sherrill <joel@OARcorp.com>
* Removing non-function shmsupp directory.
	* shmsupp/.cvsignore, shmsupp/Makefile.am, shmsupp/addrconv.c,
	shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: Removed.
	* configure.in, Makefile.am, wrapup/Makefile.am
2001-01-09 17:28:15 +00:00
Joel Sherrill
d3d5319334 2001-01-09 Joel Sherrill <joel@OARcorp.com>
* clockdrv_shell.c (CLOCK_DRIVER_ISRS_PER_TICK): Add support for
	multiple ISRs per clock tick.  Testing per hacking on mips/jmr3904
	clock driver.
2001-01-09 17:10:56 +00:00
Joel Sherrill
026f4aa247 2001-01-09 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Clean up.
	* include/bsp.h: Uncomment and fix set_vector() prototype.
2001-01-09 17:05:57 +00:00
Joel Sherrill
16ad7eafed 2001-01-09 Joel Sherrill <joel@OARcorp.com>
* cpu_asm.S: Use SR_INTERRUPT_ENABLE_BITS instead of SR_XXX constants
	to make it easier to conditionalize the code for various ISA levels.
2001-01-09 16:48:26 +00:00
Joel Sherrill
73ee510586 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Remove warning missed in shmsupp removal.
2001-01-08 19:23:21 +00:00
Joel Sherrill
7af5e14dbf 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* Shared memory support removed since it was non-functional.
	* shmsupp/.cvsignore, shmsupp/Makefile.am, shmsupp/addrconv.c,
	shmsupp/getcfg.c, shmsupp/lock.c, shmsupp/mpisr.c: Removed.
	* configure.in, Makefile.am, wrapup/Makefile.am: Modified to
	reflect above.
2001-01-08 19:22:25 +00:00
Joel Sherrill
81f6e8cca4 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* src/threadinitialize.c: Fix my bad hack of Ralf's fp_area
	warning removal patch. :(
2001-01-08 19:16:26 +00:00
Joel Sherrill
9c49db4d6a 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add libc/config.h
	* libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* libc/.cvsignore: Add config.h and stamp-h
	* libc/*.c: Add config.h support.
2001-01-08 18:26:44 +00:00
Joel Sherrill
ac5c8c7a18 2001-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/threadinitialize.c: Removed warning.
2001-01-08 18:23:40 +00:00
Joel Sherrill
5f78f5d07f 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* start/start.S: init_exc_vecs is now called mips_install_isr_entries.
	* wrapup/Makefile.am: Corrected to reflect new libcpu structure.
2001-01-08 18:19:27 +00:00
Joel Sherrill
9b0e5b2edb 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* console/vt.c: Added include of <rtems.h> so _CPU_ISR_disable
	would be visible.
2001-01-08 18:18:11 +00:00
Joel Sherrill
82e2265e52 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Added closing brace for extern C.
2001-01-08 18:17:47 +00:00
Joel Sherrill
1800f71707 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* idtcpu.h: Commented out definition of "wait".  It was stupid to
	use such a common word as a macro.
	* rtems/score/cpu.h (_CPU_ISR_Disable): Fixed for mips ISA 3.
	* rtems/score/mips.h: Added include of <idtcpu.h>.
	* rtems/score/mips.h (mips_enable_in_interrupt_mask): Corrected.
2001-01-08 18:16:51 +00:00
Joel Sherrill
f692d7e081 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* src/rtemsInterrupt.cc: Allocated interrupt_table since since
	cannot be determined without CPU model information.
2001-01-08 18:12:27 +00:00
Joel Sherrill
b03f4f2c9d 2001-01-08 Joel Sherrill <joel@OARcorp.com>
* Added r46xx directory.
	* Makefile.am, configure.in: Modified to reflect addition of r46xx.
	* shared/interrupts/installisrentries.c: Fixed typo.
	* r46xx/.cvsignore, r46xx/Makefile.am,
	r46xx/vectorisrs/.cvsignore, r46xx/vectorisrs/Makefile.am,
	r46xx/vectorisrs/vectorisrs.c: New files.
2001-01-08 18:11:35 +00:00
Joel Sherrill
ec5afe01a5 2001-01-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove subshell from *.a processing in librtemsall.a
	rule.
2001-01-05 13:40:42 +00:00
Joel Sherrill
60391a2c16 2001-01-05 Joel Sherrill <joel@OARcorp.com>
* scitab/Makefile.am, startup/bspstart.c, configure.in: Removed
	rest of make-target-options and moved them to BSP configure options.
2001-01-05 13:38:20 +00:00