Commit Graph

5247 Commits

Author SHA1 Message Date
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
1cd0db4073 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* setup.def, gccnewlib/gccnewlib.add, gccnewlib/target-gcc.add:
	Revert changes because of gcc 2.5.x/3.0 transition and continue
	to support gcc 2.95.x as primary version.
2001-09-13 16:37:03 +00:00
Joel Sherrill
1e3f4633a0 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* configure.in: Add RTEMS specific version of EXEEXT test.
	* mkgdbspec.in, mkgnatnewlibspec.in, gdb/gdb.spec.in,
	gnatnewlib/gnatnewlib.spec.in: Change to Target_alias to avoid
	conflicts with new autoconf/automake.
	* setup, setup.def, mkgnatnewlibspec.in: Add gnat_newlib_patch_version
	variable.
	* gnatnewlib/Makefile.am: Add i386-rtemscoff target in attempt to
	build it.
2001-09-13 16:35:55 +00:00
Joel Sherrill
a8bd1dea77 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* mkgccnewlibspec.in,
	Use Target_alias not target_alias to avoid conflicts with new autoconf.
	* setup.def: Changed version numbers in attempt at building gcc 3.0.1.
	Only sparc and arm built for C/C++ OK. :(
	* gccnewlib/base-gcc.add: Modifications to reflect files not in gcc 3.x.
	* gccnewlib/gccnewlib.add: gcc 3.x does not have "everything in the name"
	* target-gcc.add: Modifications to reflect files not in gcc 3.1
2001-09-13 13:35:35 +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
986e111357 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* missing: Updated to latest version.
2001-09-13 13:15:41 +00:00
Joel Sherrill
e712997cac 2001-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: autoupdate to autoconf-2.52.
	* bootstrap: Add handling for configure.ac, make autoheader verbose,
	fix auto*tool invocation order.
	* aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-gcc28: Introduce AC_HELP_STRING.
	* aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
	* aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in
	RTEMS_CONFIG_PER_BSP conditional.
	* aclocal/multilib.m4: Introduce AC_HELP_STRING.
	* aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
	* aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
2001-09-13 13:14:30 +00:00
Joel Sherrill
34094cc350 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* autotools/.cvsignore: New file.
2001-09-13 13:13:20 +00:00
Joel Sherrill
dcf07a6e62 2001-09-13 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Corrected for missing files.
2001-09-13 13:12:03 +00:00
Joel Sherrill
a792b78d7b 2001-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* autotools/Makefile.am, autotools/autoconf-rtems.spec,
	autotools/automake-rtems.spec: New.
	* configure.in, Makefile.am: Add autotools/.
2001-09-06 18:38:31 +00:00
Joel Sherrill
e93bc5c100 2001-08-31 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Missed in previous commit.
2001-08-31 19:48:54 +00:00
Joel Sherrill
93688eba9a 2001-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, .cvsignore, configure.in, i386-cygwin-binutils.spec.in,
	i386-cygwin-gcc.spec.in, i386-cygwin-libs.spec.in,
	i386-cygwin-w32api.spec.in, i386-cygwin-mingw.spec.in, setup, setup.def:
	New files that support building RPMs for Linux hosted cross compilers
	targeting Cygwin.
2001-08-31 15:25:18 +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
4331c3dfa9 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* .cvsignore: Add buildalltar.
2001-08-30 13:36:26 +00:00
Joel Sherrill
302b76df6a 2001-08-30 Joel Sherrill <joel@OARcorp.com>
* buildalltar.in: New file.
	* configure.in, Makefile.am: Modified to reflect addition of file.
2001-08-30 13:33:32 +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
d62b0d5210 changed version to ss-20010816 2001-08-16 23:31:07 +00:00
Joel Sherrill
aeb5122043 changed version to eng-20010816 2001-08-16 23:09:33 +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
a5c0402c8c 2001-08-16 Joel Sherrill <joel@OARcorp.com>
* setup.def, gnatnewlib/gnatnewlib.spec.in: Modified to properly
	build gnat 3.13p-2 RPMs.  These were used to run the ACATS with
	the following results on the powepc-rtems/psim:
		acats4gnat results cz 3 /       4
		acats4gnat results a 75 /      75
		acats4gnat results c2 35 /      35
		acats4gnat results c3 347 /     349
		acats4gnat results c4 333 /     338
		acats4gnat results c5 95 /      95
		acats4gnat results c6 81 /      81
		acats4gnat results c7 47 /      50
		acats4gnat results c8 140 /     140
		acats4gnat results c9 246 /     255
		acats4gnat results ca 73 /      74
		acats4gnat results cb 43 /      43
		acats4gnat results cc 117 /     117
		acats4gnat results cd 172 /     172
		acats4gnat results ce 262 /     268
		acats4gnat results cxa 85 /      85
		acats4gnat results cxb 29 /      30
		acats4gnat results cxc 9 /      16
		acats4gnat results cxd 27 /      39
		acats4gnat results cxe 1 /       1
		acats4gnat results cxf 20 /      20
		acats4gnat results cxg 28 /      29
		acats4gnat results cxh 4 /       4
		acats4gnat results d 4 /       4
		acats4gnat results e 11 /      11
		acats4gnat results l 26 /      26
	This compares favorably with the results on Linux.  Laurent
	Guerby's <guerby@acm.org> acats4gnat-0.2 scripts were used
	with minor modifications to support cross testing.
2001-08-16 19:47:11 +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