summaryrefslogtreecommitdiffstats
path: root/c/src/exec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-09-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-09-272-0/+27
| | | | | | | * src/threadhandler.c: Now process C++ global constructors (_init) as part of the first task execution not in BSP space. This depends on the toolset defining USE_INIT_FINI so you have to have the right toolset version.
* 2001-09-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-09-272-24/+112
| | | | | * lib/tftpDriver.c: Add limited chdir() support to the TFTP filesystem.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-279-8/+23
| | | | | | | | | | | | | | | * machine/Makefile.am: Use 'PREINSTALL_FILES ='. * net/Makefile.am: Use 'PREINSTALL_FILES ='. * netinet/Makefile.am: Use 'PREINSTALL_FILES ='. * vm/Makefile.am: Use 'PREINSTALL_FILES ='. * pppd/Makefile.am: Use 'PREINSTALL_FILES ='. * sys/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='. * arpa/Makefile.am: Use 'PREINSTALL_FILES ='. * nfs/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-2744-30/+105
| | | | | * rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='. * Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-272-1/+5
| | | | * shared/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-272-1/+5
| | | | * rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-276-5/+13
| | | | | | | | * include/itronsys/Makefile.am: Use 'PREINSTALL_FILES ='. * include/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='. * include/Makefile.am: Use 'PREINSTALL_FILES ='. * inline/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='. * macros/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-276-5/+13
| | | | | | | | * include/sys/Makefile.am: Use 'PREINSTALL_FILES ='. * include/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='. * include/Makefile.am: Use 'PREINSTALL_FILES ='. * inline/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='. * macros/rtems/posix/Makefile.am: Use 'PREINSTALL_FILES ='.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-242-1/+5
| | | | * Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-242-1/+6
| | | | | * src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5 happy.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-241-1/+2
| | | | | * libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5 happy.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-242-3/+7
| | | | * wrapup/rtems/Makefile.am: Fix comments to make automake-1.5 happy.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-242-2/+7
| | | | * optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-243-4/+9
| | | | | * optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5 happy. * src/Makefile.am: Adapt INCLUDES to make automake-1.5 happy.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-242-1/+6
| | | | * src/Makefile.am: Revamp INCLUDES handling to make automake-1.5
* 2001-09-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-09-211-7/+2
| | | | * libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
* 2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>Joel Sherrill2001-09-212-1/+5
| | | | * src/tasks.c: Dereference pointer passed to destructor.
* 2001-09-19 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-09-192-0/+39
| | | | * lib/tftpDriver.c: Add some debugging capability.
* 2001-09-19 Chris Johns <ccj@acm.org>Joel Sherrill2001-09-195-5/+104
| | | | | | | * nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h, rtems/rtems_bsdnet_internal.h Added support for populating the initial "root" filesystem with information obtained via the DHCP response.
* 2001-09-19 Chris Johns <ccj@acm.org>Joel Sherrill2001-09-192-0/+415
| | | | | | | | | * Added support for populating the initial "root" filesystem with information obtained via the DHCP response. * rootfs: New directory. * rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c, rootfs/mkrootfs.h: New files. * configure.in, Makefile.am: Modified to reflect addition.
* 2001-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-09-132-1/+5
| | | | * src/sysconf.c: Fix typo syntax error accidentally committed.
* 2001-09-13 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-09-135-5/+67
| | | | | | | | | * src/mprotect.c: New file. Stub required by some gcc's to pass tests. In particular, about 350 ACATS tests fail if this is not present. * src/getpagesize.c: Ditto. * src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required to pass about 350 ACATS test cases. * src/Makefile.am: Added new files.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-305-52/+76
| | | | | | | | | | | | | * src/coremutex.c, src/coremutexseize.c, src/coremutexsurrender.c, inline/rtems/score/coremutex.inl: The per thread field resource_count should only be manipulated when a mutex is priority ceiling or priority inherit. This was reported by Chris Johns <ccj@acm.org> who also noticed that the use of switches for all disciplines generated less efficient code than using explicit tests for the one or two cases we were really interested in. Further review of his modifications made it apparent that the "isa" methods to test mutex discipline were not being used so this modification was swept into the code as well.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-302-1/+6
| | | | | * inline/rtems/rtems/attr.inl: Correct typo and use correct attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-301-0/+7
| | | | | | | * src/coremutexseize.c: Add missing code for proper handling of nesting acquisitions. This only impacts building with inlines disabled on the source with the "fast mutex" optimizations. This was post the 4.5 branch and did not impact released versions.
* 2001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-302-1/+7
| | | | * macros/rtems/posix/mqueue.inl: Add cast so negation works.
* 2001-08-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-173-0/+33
| | | | | | | | * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX is defined on GNU/Linux (RedHat 6.2 distribution). * libc/unixlibc.c: Added stubs for rtems_io_register_name() and rtems_io_lookup_name() so UNIX port would compile the IO manager sptest that registers /dev/null.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-171-0/+6
| | | | | | * pppd/STATUS: Updated by Joel based upon email from Mike. * pppd/cbcp.c, pppd/cbcp.h: Readded files. These support callback functionality that has not even been compiled under RTEMS yet.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-171-3/+2
| | | | | | | | | * libc/lseek.c: Modified after discussion with Eugeny S. Mints <jack@oktet.ru> to correct the behavior. There were two mistakes. First, iop->offset was incorrectly set for SEEK_END. Second, iop->offset should be left unmodified if there are errors. This modification attempts to fix both situations.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-6/+26
| | | | | | | | * libc/lseek.c: Modified after discussion with Eugeny S. Mints <jack@oktet.ru> to correct the behavior. There were two mistakes. First, iop->offset was incorrectly set for SEEK_END. Second, iop->offset should be left unmodified if there are errors. This modification attempts to fix both situations.
* 2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-08-162-1/+10
| | | | | | * cpu.c (_CPU_ISR_install_vector): Corrected interrupt range checking which was SH1 specific. It didn't work for SH2 (has more interrupt sources).
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+6
| | | | | | * pppd/example/Makefile: Removed. * pppd/example/Makefile-user: Added was Makefile. Renamed to avoid bootstrap -c clobbering it.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-161-0/+42
| | | | | | | | | | | | | | | * libc/termios.c: Fix a bug in the termios implementation in the following scenario: The General Terminal Interface document that me states that if VMIN = 0 and VTIME = 0, then read() should return the minimum of two values: a) number of bytes available b) number of bytes requested (I assume from the read call) The current implementation of the fillBufferQueue() in termios.c is always return 1 character with these setting values. I know the termios buffer has more than one character available and my read() call is requesting 1024 bytes.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-162-0/+16
| | | | | * include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-162-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | * Update of PPPD to 2.3.11 from 2.3.5 and addition of an example application. Mike's notes on the modifications: - renamed error() function because of namespace problems - removed calls to the exit() funciton - removed extra files from the pppd source directory - defined pppd task constant values in rtemspppd.h - modifyied example code to get actual tick per second value - placed the pppd 2.3.11 man page file (pppd.8) into the pppd directory * pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c, pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted. * pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile, pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h, pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h: New files. * modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README, pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h, pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-161-8/+11
| | | | | | | | | | | | | | | * libc/termios.c: Fix a bug in the termios implementation in the following scenario: The General Terminal Interface document that me states that if VMIN = 0 and VTIME = 0, then read() should return the minimum of two values: a) number of bytes available b) number of bytes requested (I assume from the read call) The current implementation of the fillBufferQueue() in termios.c is always return 1 character with these setting values. I know the termios buffer has more than one character available and my read() call is requesting 1024 bytes.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+6
| | | | | | * src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+5
| | | | | * src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-162-1/+7
| | | | | | * src/coremutexsurrender.c: Use holder thread not executing thread because even though they may and often are the same it is not guaranteed unless the proper attribute is set.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-163-2/+11
| | | | | | | | * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+6
| | | | | | * src/msgqsubmit.c: Add a comment indicating that we do not have to account for possibly blocking during the core send operation because Classic API message queue send is always non-blocking.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-1/+12
| | | | | * src/mqueuesendsupp.c: Account for possibly blocking during the core send operation.
* 2001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-161-0/+4
| | | | * rtems_telnetd/.cvsignore: New file.
* 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill2001-08-092-2/+34
| | | | | * libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command previous failed after a chroot(). (unknown user & group)
* 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill2001-08-092-3/+21
| | | | | * src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been touched. The order of the questions is the key.
* 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill2001-08-093-2/+19
| | | | | | | | | | | | | | | | | * Makefile.am, configure.in, rtems_servers/Makefile.am, rtems_servers/telnetd.c, rtems_servers/telnetd.h, rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h, wrapup/Makefile.am: - pty and telnetd have a new subdir rtems_telnetd to avoid the side effect when ftpd change. - the tcp/ip stats have been implemented into icmds.c and started when telnetd daemon is started. * rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed. * rtems_telnetd: New directory. * rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
* 2001-08-09 Chris Johns <ccj@acm.org>Joel Sherrill2001-08-092-63/+48
| | | | | | | | | | | | * cpu_asm.S: This patch was co-developed with Eric Norum <eric.norum@usask.ca>. It closes a one instruction window on some m68k CPU cores. It fixes symptoms seen as: 1) No more `interrupt handler invoked twice for a single interrupt'. 2) No more `lockup when mc68360 CPM and PIT interrupts are at different levels'. It does insert a little more overhead on machines without hardware interrupt stacks but correctness has a price.
* 2001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-093-6/+13
| | | | | | | * src/snd_mbx.c, src/tsnd_mbf.c: Unblocking message queue operations should NOT use _Thread_Executing for return status since it is permissible to invoke message send operations from an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.
* 2001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-092-3/+11
| | | | | | | * src/mqueuesendsupp.c: Unblocking message queue operations should NOT use _Thread_Executing for return status since it is permissible to invoke message send operations from an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.
* 2001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-092-5/+12
| | | | | | | * src/msgqsubmit.c: Unblocking message queue operations should NOT use _Thread_Executing for return status since it is permissible to invoke message send operations from an ISR. This was reported by Suvrat Gupta <suvrat@utstar.com>.