summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 2001-04-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-242-0/+9
| | | | | | | | * 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>.
* 2000-04-24 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-04-242-36/+71
| | | | | | * 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-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill2001-04-204-21/+60
| | | | | | | | | | | | | | | | | * 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 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill2001-04-209-1/+1103
| | | | | | | * 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 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-04-202-2/+11
| | | | | | | * 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 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-04-202-1/+5
| | | | * rtems_servers/ftpd.c: Correct argument so hooks work again.
* 2001-04-20 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-10/+23
| | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-0/+13
| | | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-202-0/+15
| | | | | | * 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-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-162-0/+11
| | | | * include/confdefs.h: Fix real-time clock support.
* 2001-04-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-161-0/+38
| | | | | * include/rtc.h: New file. * include/Makefile.am: Updated to reflect above.
* 2001-04-11 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-04-112-2/+4
| | | | * cpu.c: Removed duplicate declaration for _ISR_Vector_table.
* 2001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>Joel Sherrill2001-03-292-0/+8
| | | | | | * src/eventsurrender.c: Clear event condition when task is unblocked. This makes sure that subsequent event send thinks the task is still blocked and overwrites the initial events received.
* 2001-03-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-232-0/+10
| | | | | | | | * src/imfs/memfile.c: Reapply fix from bug report from Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer was dereferenced when freeing a triply indirect file. The fix was applied to the 4.5 release branch and not the development branch.
* 2001-03-19 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-192-0/+11
| | | | * sys/utsname.h: Added C++ wrapper.
* 2001-03-15 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-151-0/+4
| | | | * include/.cvsignore: Remove danlgling file.
* 2001-03-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-145-79/+57
| | | | | | * cpu.c, rtems/score/cpu.h, rtems/score/mipstypes.h: Removed unused variable _CPU_Thread_dispatch_pointer and cleaned numerous comments.
* 2001-03-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-03-147-722/+408
| | | | | | | * cpu.c, cpu_asm.S, iregdef.h, rtems/score/cpu.h, rtems/score/mips.h: Merged MIPS1 and MIPS3 code reducing the number of lines of assembly. Also reimplemented some assembly routines in C further reducing the amount of assembly and increasing maintainability.
* 2001-01-31 Sergei Organov <osv@javad.ru>Joel Sherrill2001-03-052-265/+176
| | | | | | | | | | | | | | | * rtems_servers/ftp.d: Following changes: - Hacks with current dir and root dir removed in favor of new libio support for task-local current and root directories. - Bug in `close_data_socket()' introduced by previous change fixed. - `command_pasv()' changed to set timeout on socket we are listening on and code fixed to don't close socket twice on error. - `serr()' changed to clear `errno'. - `data_socket()' changed to clear `errno' before `bind()'. - `session()' changed to clear `errno' before processing session. - `close_data_socket()' fixed to close both active and passive sockets - Initialize info->data_socket to -1 in `daemon()' - Initialize `fname' to empty string in `exec_command()'
* 2001-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-121-0/+4
| | | | * configure.in: AC_DEFINE RTEMS_UNIX if RTEMS_CPU=unix.
* 2001-02-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-122-1/+5
| | | | * monitor/mon-command.c: Use #if defined(RTEMS_UNIX).
* 2001-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-0532-57/+128
| | | | | * Makefile.am, rtems/score/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-2/+10
| | | | | * include/rpc/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-0512-36/+74
| | | | | | | | | | | * Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, sys/Makefile.am, vm/Makefile.am: Apply include_*HEADERS instead of H_FILES. * include/Makefile.am: Remove. * Makefile.am: Add handling of *.h files. * configure.in: Remove include/Makefile.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-051-0/+6
| | | | | | * include/rtems/Makefile.am, include/rtems/score/Makefile.am, inline/rtems/score/Makefile.am, macros/rtems/score/Makefile.am Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-4/+8
| | | | | | * include/Makefile.am, include/rtems/Makefile.am, inline/rtems/Makefile.am, macros/rtems/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-4/+9
| | | | | | | * include/Makefile.am, include/rtems/rtems/Makefile.am, inline/rtems/rtems/Makefile.am, macros/rtems/rtems/Makefile.am, rtems/optman/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-8/+11
| | | | | | | * include/Makefile.am, include/rtems/posix/Makefile.am, include/sys/Makefile.am, inline/rtems/posix/Makefile.am, macros/rtems/posix/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-4/+9
| | | | | | | * include/Makefile.am, include/itronsys/Makefile.am, include/rtems/itron/Makefile.am, inline/rtems/itron/Makefile.am, macros/rtems/itron/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-059-27/+48
| | | | | | | * untar/Makefile.am, monitor/Makefile.am, dummy/Makefile.am, devnull/Makefile.am, dumpbuf/Makefile.am, mw-fb/Makefile.am, stackchk/Makefile.am, rtmonuse/Makefile.am, cpuuse/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-3/+7
| | | | * src/imfs/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-01-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-292-0/+7
| | | | | * src/objectextendinformation.c: Added include of string.h to eliminate warning.
* 2001-01-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-292-2/+8
| | | | | * include/confdefs.h: define CONFIGURE_NEWLIB_EXTENSION 0 if not using NEWLIB, cleanup related comment.
* 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-262-3/+14
| | | | * include/confdefs.h: include cpuopts.h, replace stubdr w/ devnull.
* 2001-01-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-261-2/+2
| | | | | * libc/chroot.c: Fixed naming problems. Names were changed when the code this depends on was merged.
* 2001-01-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-261-0/+59
| | | | | | * 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 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-01-252-9/+25
| | | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-253-6/+16
| | | | | | * 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 Fernando Ruiz <fernando.ruiz@ctv.es>Joel Sherrill2001-01-255-23/+79
| | | | | | | | | | * 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-24 Sergei Organov <osv@javad.ru>Joel Sherrill2001-01-243-552/+1058
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-24243-0/+934
| | | | | | | * 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-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-232-1/+5
| | | | * src/alarm.c: Eliminated use of C++ style comments.
* 2001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-222-2/+11
| | | | | | * 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 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-01-2240-1/+164
| | | | | | | * 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 Michael Hamel <mhamel@adi.co.nz>Joel Sherrill2001-01-223-2/+7
| | | | | * include/rtems.h, src/signalcatch.c: Modifications to make CodeWarrior happy.
* 2001-01-22 Michael Hamel <mhamel@adi.co.nz>Joel Sherrill2001-01-228-11/+19
| | | | | | | | * 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-12 Sergei Organov <osv@javad.ru>Joel Sherrill2001-01-123-732/+1394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-01-126-28/+122
| | | | | | | | | | | | | | * 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 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-122-2/+7
| | | | | * rtems/score/mips.h (mips_get_sr, mips_set_sr): Corrected register constraints from "general" to "register".
* 2001-01-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-122-1/+16
| | | | * src/README.mqueue: Enhanced example.