Commit Graph

3858 Commits

Author SHA1 Message Date
Joel Sherrill
929efa6b85 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* psx01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx11/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxcancel/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx02/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx13/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxtime/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxchroot01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx07/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxmsgq01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxtimer/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx10/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx08/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxhdrs/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxfile01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx05/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx09/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxmount/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxstat/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx12/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxreaddir/Makefile.am: include leaf.am instead of leaf.cfg.
	* psxsem01/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx03/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx04/Makefile.am: include leaf.am instead of leaf.cfg.
	* psx06/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:21:08 +00:00
Joel Sherrill
e242657da6 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mp02/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp02/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp04/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp04/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp14/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp14/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp06/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp06/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp08/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp08/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp03/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp03/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp10/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp10/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp05/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp05/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp13/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp13/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp01/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp01/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp07/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp07/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp11/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp11/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp12/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp12/node1/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp09/node2/Makefile.am: include leaf.am instead of leaf.cfg.
	* mp09/node1/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:20:55 +00:00
Joel Sherrill
682c7fd272 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* malloctest/Makefile.am: include leaf.am instead of leaf.cfg.
	* monitor/Makefile.am: include leaf.am instead of leaf.cfg.
	* termios/Makefile.am: include leaf.am instead of leaf.cfg.
	* putenvtest/Makefile.am: include leaf.am instead of leaf.cfg.
	* rtems++/Makefile.am: include leaf.am instead of leaf.cfg, use
	make-cxx-exe.
	* stackchk/Makefile.am: include leaf.am instead of leaf.cfg.
	* rtmonuse/Makefile.am: include leaf.am instead of leaf.cfg.
	* cpuuse/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:20:39 +00:00
Joel Sherrill
cd0e68b0b3 2001-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* itrontask03/Makefile.am: include leaf.am instead of leaf.cfg.
	* itrontask04/Makefile.am: include leaf.am instead of leaf.cfg.
	* itronmbf01/Makefile.am: include leaf.am instead of leaf.cfg.
	* itronsem01/Makefile.am: include leaf.am instead of leaf.cfg.
	* itronhello/Makefile.am: include leaf.am instead of leaf.cfg.
	* itrontime01/Makefile.am: include leaf.am instead of leaf.cfg.
	* itrontask01/Makefile.am: include leaf.am instead of leaf.cfg.
	* itrontask02/Makefile.am: include leaf.am instead of leaf.cfg.
	* itronmbox01/Makefile.am: include leaf.am instead of leaf.cfg.
2001-09-19 17:20:12 +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
0f466f7e17 2001-09-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.
2001-09-14 17:24:37 +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
a3ac20f7bb 2001-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: autoupdate to autoconf-2.52, new CONFIG_SUBDIRS
	handling.
2001-09-13 13:24:29 +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
73aef37f8b 2001-08-31 Eric Valette <valette@crf.canon.fr>
* network/network.c: Fix to account for return value when
	installing interrupts handler.
2001-08-31 14:57:48 +00:00
Joel Sherrill
7078fa2ac9 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Modified to work better with gcc 2.8.1 and
	gnat 3.13p.
2001-08-30 18:38:09 +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
7ac1f89365 2001-08-17 Joel Sherrill <joel@OARcorp.com>
* include/Makefile.am: Include coverhd.h so tmtests will compile.
2001-08-17 22:00:19 +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
6e46cf8fe7 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
	number range check and handling of interrupt priority regs to
	conform SH2 specs.
	* sci/sci_termios.c: New file.
	* include/sci_termios.h: New file.
	* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
	(include_sh_HEADERS): Added sci_termios.h.
	* score/ispsh7045.c (isp): Calling an ISR with immediate argument
	casued negative sign extension for vector numbers of 128 and
	above. This was fixed.
	* sci/sci.c: Cleaned initialization of SCI registers; added
	necessary setup for new TERMIOS console cooperation
2001-08-17 13:18:02 +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
3a5fec8fef 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
	number range check and handling of interrupt priority regs to
	conform SH2 specs.
	* sci/sci_termios.c: New file.
	* include/sci_termios.h: New file.
	* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
	(include_sh_HEADERS): Added sci_termios.h.
	* score/ispsh7045.c (isp): Calling an ISR with immediate argument
	casued negative sign extension for vector numbers of 128 and
	above. This was fixed.
	* sci/sci.c: Cleaned initialization of SCI registers; added
	necessary setup for new TERMIOS console cooperation
2001-08-16 21:50:01 +00:00
Joel Sherrill
465ab0908d 2001-08-01 Radzislaw Galler <rgaller@et.put.poznan.pl>
* include/bsp.h: Disabled redefinition of
	CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added.
	* console/config.c: New file. Definitions of externs referenced
	from libbsp/shared/console.c.
	* console/Makefile.am: Changed VPATH to point to
	libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
2001-08-16 21:49:11 +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
7ae512513f 2001-08-10 Radzislaw Galler <rgaller@et.put.poznan.pl>
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
	number range check and handling of interrupt priority regs to
	conform SH2 specs.
	* sci/sci_termios.c: New file.
	* include/sci_termios.h: New file.
	* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
	(include_sh_HEADERS): Added sci_termios.h.
	* score/ispsh7045.c (isp): Calling an ISR with immediate argument
	casued negative sign extension for vector numbers of 128 and
	above. This was fixed.
	* sci/sci.c: Cleaned initialization of SCI registers; added
	necessary setup for new TERMIOS console cooperation
2001-08-16 21:08:28 +00:00
Joel Sherrill
ede9699cf4 2001-08-01 Radzislaw Galler <rgaller@et.put.poznan.pl>
* include/bsp.h: Disabled redefinition of
	CONSOLE_DRIVER_TABLE_ENTRY. Some "FIXME:" comments added.
	* console/config.c: New file. Definitions of externs referenced
	from libbsp/shared/console.c.
	* console/Makefile.am: Changed VPATH to point to
	libbsp/shared. Added config.c to C_FILES and EXTRA_DIST.
2001-08-16 21:07:41 +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
b9ff276c35 2001-08-16 Mike Siers <mikes@poliac.com>
* comm/tty_drv.c, comm/uart.c: Correct some minor cut and paste bugs.
2001-08-16 20:52:05 +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
2fe224f2e2 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Ensure that clock ticks are long enough to
	make forward progress.  This was modified to improve results
	on the RTEMS tests and the ACATS.
	* startup/linkcmds: Modified to work better with gcc 2.8.1 and
	gnat 3.13p.
2001-08-16 19:55:46 +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
413043b7c0 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* include/tmacros.h: Attempt to print errno as further information.
2001-08-16 19:42:02 +00:00
Joel Sherrill
94dfe0f713 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp20/system.h: Account for extra task stacks properly.
2001-08-16 19:41:09 +00:00
Joel Sherrill
11b1063d2e 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* sp13/sp13.scn: Id in screen had wrong class field value.
	* sp13/system.h: Account for message buffer memory.
	* sp13/task2.c: Remove unnecessary check for failure.
2001-08-16 19:40:29 +00:00
Joel Sherrill
78796bbaf2 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* tools/runtest.in: Recognize debug variant of monitor test.
2001-08-16 19:39:07 +00:00
Joel Sherrill
f599af02fb 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c: Ensure that clock ticks are long enough to
	make forward progress.  This was modified to improve results
	on the RTEMS tests and the ACATS.
	* startup/linkcmds: Modified to work better with gcc 2.8.1 and
	gnat 3.13p.
2001-08-16 19:38:05 +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
Joel Sherrill
aed5ae00ee 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* src/mqueuesendsupp.c: Account for possibly blocking during the
	core send operation.
2001-08-16 19:30:59 +00:00
Joel Sherrill
bfe5d15ef1 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* rtems_telnetd/.cvsignore: New file.
2001-08-16 18:49:28 +00:00
Joel Sherrill
3c6cc4a04f 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* shell/pty.c: Moved to libnetworking/rtems_telnetd.
2001-08-09 22:26:51 +00:00
Joel Sherrill
ccb13cfe7c 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
	previous failed after a chroot(). (unknown user & group)
2001-08-09 22:11:19 +00:00
Joel Sherrill
b6a2d2fa5d 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* 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 22:09:36 +00:00