Commit Graph

1759 Commits

Author SHA1 Message Date
Joel Sherrill
0e99592e5e 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/Makefile.am: Use 'PREINSTALL_FILES ='.
	* inline/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
	* macros/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:36:03 +00:00
Joel Sherrill
52b3ff6819 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:57 +00:00
Joel Sherrill
aea9bb4695 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* untar/Makefile.am: Use 'PREINSTALL_FILES ='.
	* monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
	* shell/Makefile.am: Use 'PREINSTALL_FILES ='.
	* devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
	* dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
	* mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
	* stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
	* rootfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:40 +00:00
Joel Sherrill
e747aaf843 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:27 +00:00
Joel Sherrill
4009fd862a 2001-09-27 Jiri Gaisler <jiri@gaisler.com>
* cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The
	bug has been there all the time, but only hits the leon bsp since the
	leon cpu has a 5-stage pipeline (erc32 has 4 stages).
2001-09-27 21:17:26 +00:00
Joel Sherrill
6846a2f5cf 2001-09-27 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed typo in date.
2001-09-27 21:08:19 +00:00
Joel Sherrill
5b87515dbe 2001-09-27 Eric Norum <eric.norum@usask.ca>
* 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 13:33:52 +00:00
Joel Sherrill
1ef8e3d448 2001-09-27 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add limited chdir() support to the TFTP
	filesystem.
2001-09-27 13:31:56 +00:00
Joel Sherrill
b68e01c5d9 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-27 13:28:22 +00:00
Joel Sherrill
684eebc86a 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
	* Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:24:14 +00:00
Joel Sherrill
1707a0425f 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shared/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:23:34 +00:00
Joel Sherrill
2b21dbc1b1 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:23:03 +00:00
Joel Sherrill
de05cbb98e 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-27 13:21:42 +00:00
Joel Sherrill
614e671bde 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* 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-27 13:21:14 +00:00
Joel Sherrill
0d309323fe 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
2001-09-24 18:29:46 +00:00
Joel Sherrill
352028078c 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5
	happy.
2001-09-24 18:29:17 +00:00
Joel Sherrill
615a7d0bb4 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/rtems/Makefile.am: Fix comments to make automake-1.5 happy.
2001-09-24 18:22:09 +00:00
Joel Sherrill
fa1661b611 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5.
2001-09-24 18:20:53 +00:00
Joel Sherrill
586a31b300 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* optman/Makefile.am: Adapt ASM4FLAGS to automake-1.5 happy.
	* src/Makefile.am: Adapt INCLUDES to make automake-1.5 happy.
2001-09-24 18:20:22 +00:00
Joel Sherrill
250afb6c6a 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/Makefile.am: Revamp INCLUDES handling to make automake-1.5
2001-09-24 18:17:02 +00:00
Joel Sherrill
6d13563911 2001-09-14 Eric Norum <eric.norum@usask.ca>
* libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
2001-09-21 17:51:10 +00:00
Joel Sherrill
2543311206 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* configure.in, rootfs/Makefile.am: Added conditional to make sure
	rootfs does not get built with networking is disabled.  Also
	added include of compile.am to rootfs/Makefile.am.
	* wrapup/Makefile.am: Added rootfs conditionally if networking enabled.
2001-09-21 14:02:27 +00:00
Joel Sherrill
8f6e5f0d53 2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
* src/tasks.c: Dereference pointer passed to destructor.
2001-09-21 13:57:57 +00:00
Joel Sherrill
5400f070e6 2001-09-19 Eric Norum <eric.norum@usask.ca>
* lib/tftpDriver.c: Add some debugging capability.
2001-09-19 17:40:37 +00:00
Joel Sherrill
4bde23948c 2001-09-19 Chris Johns <ccj@acm.org>
* 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 17:30:38 +00:00
Joel Sherrill
d34d2e6957 2001-09-19 Chris Johns <ccj@acm.org>
* 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-19 17:29:42 +00:00
Joel Sherrill
130291f55c 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed some mistakes.
2001-09-14 18:24:56 +00:00
Joel Sherrill
d3b8713ada 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c: Eliminate warning.
2001-09-13 21:04:49 +00:00
Joel Sherrill
c8d66913ee 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* src/sysconf.c: Fix typo syntax error accidentally committed.
2001-09-13 21:04:21 +00:00
Joel Sherrill
bc51d7e98f 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* 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-09-13 13:23:37 +00:00
Joel Sherrill
fb1d8f81a0 2001-08-30 Joel Sherrill <joel@OARcorp.com>
*  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 18:33:57 +00:00
Joel Sherrill
760045f0f3 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* inline/rtems/rtems/attr.inl: Correct typo and use correct
	attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
2001-08-30 18:28:46 +00:00
Joel Sherrill
dc6b5ed308 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* 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 17:14:57 +00:00
Joel Sherrill
856a44e4b6 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Add cast so negation works.
2001-08-30 13:29:38 +00:00
Joel Sherrill
d6c20ff373 2001-08-17 Joel Sherrill <joel@OARcorp.com>
* 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-17 21:59:28 +00:00
Joel Sherrill
19465445f2 2001-08-16 Mike Siers <mikes@poliac.com>
* 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-17 20:17:18 +00:00
Joel Sherrill
cc5c4ac6dd 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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-17 13:18:01 +00:00
Joel Sherrill
dfd218d5fe 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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 22:20:06 +00:00
Joel Sherrill
baf7b0856b 2001-08-26 Brett Swimley <brett.swimley@aedinc.net>
* mw-fb\Makefile.am: Corrected problem.
2001-08-16 21:19:31 +00:00
Joel Sherrill
f30a0ca972 2001-07-25 Radzislaw Galler <rgaller@et.put.poznan.pl>
* 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 21:11:13 +00:00
Joel Sherrill
b8575ab611 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* pppd/example/Makefile: Removed.
	* pppd/example/Makefile-user: Added was Makefile.  Renamed to
	avoid bootstrap -c clobbering it.
2001-08-16 21:01:31 +00:00
Joel Sherrill
c0af4e4799 2001-08-16 Mike Siers <mikes@poliac.com>
* 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 20:58:14 +00:00
Joel Sherrill
f7691e3b7b 2001-08-16 Mike Siers <mikes@poliac.com>
* 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 20:45:26 +00:00
Joel Sherrill
2f1b9304ac 2001-08-16 Mike Siers <mikes@poliac.com>
* 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 20:42:09 +00:00
Joel Sherrill
4b3c197fc0 2001-08-16 Mike Siers <mikes@poliac.com>
* 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 20:04:19 +00:00
Joel Sherrill
84e818899f 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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 19:55:33 +00:00
Joel Sherrill
6fe68fc250 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the
	core send operation.
2001-08-16 19:55:13 +00:00
Joel Sherrill
0a51f80a23 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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 19:36:29 +00:00
Joel Sherrill
7d74141380 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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 19:35:08 +00:00
Joel Sherrill
f879de5247 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* 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 19:32:19 +00:00