Commit Graph

1759 Commits

Author SHA1 Message Date
Ralf Corsepius
6e183f18cd 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:10:09 +00:00
Ralf Corsepius
78c2a97196 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* inline/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* macros/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:07:32 +00:00
Ralf Corsepius
14e24777e4 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-alias.m4: Copied over from aclocal/.
	* aclocal/canonical-host.m4: Ditto.
	* aclocal/canonical-target-name.m4: Ditto.
	* aclocal/canonicalize-tools.m4: Ditto.
	* aclocal/check-bsp-cache.m4: Ditto.
	* aclocal/check-bsps.m4: Ditto.
	* aclocal/check-cpu.m4: Ditto.
	* aclocal/check-itron.m4: Ditto.
	* aclocal/check-multiprocessing.m4: Ditto.
	* aclocal/check-networking.m4: Ditto.
	* aclocal/check-newlib.m4: Ditto.
	* aclocal/check-posix.m4: Ditto.
	* aclocal/check-tool.m4: Ditto.
	* aclocal/enable-bare.m4: Ditto.
	* aclocal/enable-inlines.m4: Ditto.
	* aclocal/enable-itron.m4: Ditto.
	* aclocal/enable-multiprocessing.m4: Ditto.
	* aclocal/enable-networking.m4: Ditto.
	* aclocal/enable-posix.m4: Ditto.
	* aclocal/enable-rtemsbsp.m4: Ditto.
	* aclocal/env-rtemsbsp.m4: Ditto.
	* aclocal/env-rtemscpu.m4: Ditto.
	* aclocal/gcc-pipe.m4: Ditto.
	* aclocal/gcc-specs.m4: Ditto.
	* aclocal/multi.m4: Ditto.
	* aclocal/multilib.m4: Ditto.
	* aclocal/prog-cc.m4: Ditto.
	* aclocal/project-root.m4: Ditto.
	* aclocal/rtems-cpu-subdirs.m4: Ditto.
	* aclocal/rtems-debug.m4: Ditto.
	* aclocal/rtems-top.m4: Ditto.
	* aclocal/subdirs.m4: Ditto.
	* aclocal/sysv-ipc.m4: Ditto.
	* aclocal/tool-paths.m4: Ditto.
	* aclocal/version.m4: Ditto.
2002-06-17 08:53:19 +00:00
Ralf Corsepius
ed8ec1cf11 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* copied over from aclocal/.
2002-06-17 08:52:47 +00:00
Ralf Corsepius
bfd1a53a2f 2002-06-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/Makefile.am: include multilib.am instead of RTEMS_BSP.cfg.
2002-06-15 07:14:44 +00:00
Ralf Corsepius
39dfccf225 2002-06-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Copied over from automake/.
	* automake/lib.am: Copied over from automake/.
	* automake/local.am: Copied over from automake/.
	* automake/multilib.am: Copied over from automake/.
	* automake/subdirs.am: Copied over from automake/.
	* Makefile.am: Add automake/*.am.
2002-06-15 05:34:38 +00:00
Ralf Corsepius
b6b3cf5246 Add AUTOMAKE_FILES. 2002-06-15 05:33:10 +00:00
Ralf Corsepius
9ea3832c6c Copied over from the automake/ 2002-06-15 05:29:18 +00:00
Joel Sherrill
158e2d7d79 2002-05-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_POSIX_API.
	  Remove RTEMS_ENABLE_POSIX.
	  Remove RTEMS_CHECK_CUSTOM_BSP.
	  Remove RTEMS_ENABLE_POSIX.
2002-05-30 12:25:38 +00:00
Joel Sherrill
3e39b47d70 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add libnetworking.
	* wrapup/Makefile.am: Ditto.
2002-05-29 17:01:22 +00:00
Joel Sherrill
8a79786886 2002-05-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate c/src/libnetworking.
	* Makefile.am: Reflect moval.
	* machine/Makefile.am: Ditto.
	* net/Makefile.am: Ditto.
	* lib/Makefile.am: Ditto.
	* netinet/Makefile.am: Ditto.
	* vm/Makefile.am: Ditto.
	* libc/Makefile.am: Ditto.
	* sys/Makefile.am: Ditto.
	* arpa/Makefile.am: Ditto.
	* nfs/Makefile.am: Ditto.
	* kern/Makefile.am: Ditto.
	* rtems/Makefile.am: Ditto.
	* configure.ac: Dittp.
	* wrapup/Makefile.am: Ditto. Remove references to networking apps.
2002-05-29 17:00:59 +00:00
Joel Sherrill
2c7e8e519b 2002-05-28 Chris Johns <ccj@acm.org>
* rtems/score/m68k.h: Per PR227, mc68060 does not require FPSP
	since it is now multilib'ed.
2002-05-28 17:32:33 +00:00
Joel Sherrill
35cd6aed1b 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add libblock. Add libfs. Add AM_CONDITIONAL(UNIX).
	* wrapup/Makefile.am: Add libblock, libfs/dosfs, libfs/imfs.
2002-05-28 17:21:23 +00:00
Joel Sherrill
47ef863af4 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Move from c/src/libfs to c/src/exec/libfs
	* configure.ac: Reflect move.
	* Makefile.am: Ditto.
	* src/Makefile.am: Ditto.
	* src/dosfs/Makefile.am: Ditto.
	* src/imfs/Makefile.am: Ditto.
	* wrapup/Makefile.am: Ditto.
2002-05-28 17:21:17 +00:00
Joel Sherrill
279ec4e8b5 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Move from c/src/libblock to c/src/exec/libblock
	* configure.ac: Reflect move.
	* Makefile.am: Ditto.
	* include/Makefile.am: Ditto.
	* src/Makefile.am: Ditto.
2002-05-28 17:21:09 +00:00
Joel Sherrill
e3eab02dd6 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems_telnetd/pty.c: Remove bsp.h. Include <rtems/bspIo.h>.
2002-05-28 16:20:54 +00:00
Joel Sherrill
3fa500f7e2 2001-05-24 Joel Sherrill <joel@OARcorp.com>
* src/.cvsignore: New file.
2002-05-24 15:38:42 +00:00
Joel Sherrill
a653f39f30 2002-05-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* coinfigure.ac, Makefile.am: Remove references to rootfs.
2002-05-24 15:35:56 +00:00
Joel Sherrill
909261295b 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add libcsupport.
	* wrapup/Makefile.am: Ditto.
2002-05-17 18:32:38 +00:00
Joel Sherrill
c8e972f57b 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Relocate libcsupport from c/src/lib to c/src/exec/libcsupport.
	* configure.ac: Use ENV_RTEMSCPU. Reflect changed paths.
	* Makefile.am: Reflect changed paths.
	* src/Makefile.am: Reflect changed paths.
2002-05-17 18:32:22 +00:00
Joel Sherrill
ae30735267 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rootfs/.cvsignore: Remove.
	* rootfs/Makefile.am: Remove.
	* rootfs/mkrootfs.h: Remove.
	* rootfs/mkrootfs.c: Remove.
	* configure.ac: Remove rootfs and NETWORKING macros.
	* wrapup/Makefile.am: Remove rootfs and HAS_NETWORKING.
2002-05-17 18:30:03 +00:00
Joel Sherrill
c1f3fc045d 2002-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/mkrootfs.c: Add (relocated from libmisc/rootfs).
	* rtems/mkrootfs.h: Ditto.
	* rtems/Makefile.am: Reflect changes above.
2002-05-17 18:28:26 +00:00
Joel Sherrill
7c844e30ab 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* libc/envlock.c: Implemented code to let newlib's envlock share
	the libio open/close mutex.  Since both should be lightly used,
	this should not lead to problems and saves resources.
2002-05-17 18:03:34 +00:00
Joel Sherrill
1b074a19c3 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/score/thread..inl: Implemented missing routines
	for new libc reentrancy support.
2002-05-17 18:01:36 +00:00
Joel Sherrill
6a3a81c830 2001-05-17 Joel Sherrill <joel@OARcorp.com>
* macros/rtems/posix/mqueue.inl: Implemented missing routines
	to support message queue FDs.
2002-05-17 17:59:21 +00:00
Joel Sherrill
a923a82d2d 2002-05-16 Chris Johns <ccj@acm.org>
* Per PR194, added the Capture engine.
	* capture/Makefile.am, capture/README, capture/capture-cli.c,
	capture/capture-cli.h, capture/capture.c, capture/capture.h,
	capture/.cvsignore: New files.
	* Makefile.am, configure.ac, wrapup/Makefile.am: Modified to
	reflect addition.
2002-05-15 16:36:10 +00:00
Joel Sherrill
c0d4abe6b0 2002-05-15 Chris Johns <ccj@acm.org>
* libc/newlibc.c: Per PR141, move the C library re-enterrant
	support directly into the thread dispatch code. RTEMS needs
	libc and so requiring libc to use a user extension with its
	overhead is not the best solution. This patch lowers the
	overhead to 2 pointer moves.
2002-05-15 16:29:05 +00:00
Joel Sherrill
0df8293e2b 2002-05-15 Chris Johns <ccj@acm.org>
* include/rtems/score/thread.h, inline/rtems/score/thread.inl,
	src/threaddispatch.c, src/threadinitialize.c:
	Move the C library re-enterrant support directly into
	the thread dispatch code. RTEMS needs libc and so requiring
	libc to use a user extension with its overhead is not the best
	solution. This patch lowers the overhead to 2 pointer moves.
2002-05-15 15:14:58 +00:00
Joel Sherrill
c16dcbc8fd 2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add preinstall-stamp.
2002-05-15 15:07:41 +00:00
Joel Sherrill
b3afc0f89d 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* dummy/Makefile.am, wrapup/Makefile.am: Fixed to generate
	a library of the same name.
2002-05-14 22:09:29 +00:00
Joel Sherrill
f85a3c56ed 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* include/sys/utsname.h: Added, removed times (now in newlib).
	* Makefile.am: Merge include/Makefile.am
	* libc/utsname.c: Relocated from posix/src.
	* libc/Makefile.am: Reflect changes above.
	* configure.ac: Remove include/Makefile
2002-05-14 20:52:51 +00:00
Joel Sherrill
baf7133855 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* Per PR212, added envlock support for newlib.  This is used
	by at least getenv()/putenv() to avoid race conditions.
	* libc/envlock.c: New file.
	* libc/Makefile.am: Modified to reflect above.
2002-05-14 19:02:06 +00:00
Joel Sherrill
deb66d121b 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* include/sys/utsname.h: Added, removed times (now in newlib).
	* Makefile.am: Merge include/Makefile.am

	* libc/utsname.c: Relocated from posix/src.
	* libc/Makefile.am: Reflect changes above.

	* configure.ac: Remove include/Makefile
2002-05-14 18:46:05 +00:00
Joel Sherrill
dc7fb59bb7 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/utsname.h: Remove.
	* include/Makefile.am: Reflect changes above.
	* src/utsname.c: Remove.
	* src/Makefile.am: Reflect changes above.
2002-05-14 18:45:34 +00:00
Joel Sherrill
0fe89f6a5f 2002-05-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/ppc.h: Remove PPC_DEBUG_MODEL.
2002-05-14 18:31:37 +00:00
Joel Sherrill
bd9265df54 2002-05-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Work-around to autoconf-2.53 adding PACKAGE_*
	to autoheaders - sed out *PACKAGE* from cpuopts-tmp.h.
2002-05-14 18:11:36 +00:00
Joel Sherrill
b7be6533db 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/ioctl.h: Relocated from libnetworking/sys.
	* include/sys/filio.h: Relocated from libnetworking/sys.
	* include/sys/sockio.h: Relocated from libnetworking/sys.
	* include/Makefile.am: Reflect changes above.
	* configure.ac: Take out *NETWORKING*.
2002-05-14 18:03:57 +00:00
Joel Sherrill
c7286d942e 2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sys/ioctl.h: Remove.
	* sys/sockio.h: Remove.
	* sys/filio.h: Remove.
	* sys/Makefile.am: Reflect changes above.
2002-05-14 18:02:47 +00:00
Joel Sherrill
19131e9744 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* rtems/new-exceptions/cpu.h: Per PR211 fix
	saving/restoring floating point context.  The fpsave and fprestore
	routines are only used in a executing context which _is_ fp and hence
	has the FPU enabled. The current behavior required the FPU always to
	be on which is very dangerous if lazy context switching is used.
	[Joel Note: Some ports explicitly enabled the FPU in the FP save and
	restore routines to avoid this.]

	The patch also makes sure (on powerpc only) that the FPU is disabled
	for integer tasks. Note that this is crucial if deferred fp context
	switching is used. Otherwise, fp context corruption may go undetected!
	Also note that even tasks which merely push/pop FP registers to/from
	the stack without modifying them still MUST be FP tasks - otherwise
	(if lazy FP context switching is used), FP register corruption (of
	other, FP, tasks may occur)!

	Furthermore, (on PPC) by default, lazy FP context save/restore
	is _disabled_.
2002-05-14 17:45:37 +00:00
Joel Sherrill
48f8968356 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* src/threaddispatch.c, src/threadhandler.c: Per PR211 fix
	saving/restoring floating point context.  The fpsave and fprestore
	routines are only used in a executing context which _is_ fp and hence
	has the FPU enabled. The current behavior required the FPU always to
	be on which is very dangerous if lazy context switching is used.
	[Joel Note: Some ports explicitly enabled the FPU in the FP save and
	restore routines to avoid this.]

	The patch also makes sure (on powerpc only) that the FPU is disabled
	for integer tasks. Note that this is crucial if deferred fp context
	switching is used. Otherwise, fp context corruption may go undetected!
	Also note that even tasks which merely push/pop FP registers to/from
	the stack without modifying them still MUST be FP tasks - otherwise
	(if lazy FP context switching is used), FP register corruption (of
	other, FP, tasks may occur)!

	Furthermore, (on PPC) by default, lazy FP context save/restore
	is _disabled_.
2002-05-14 17:45:36 +00:00
Joel Sherrill
06549dcf3f 2001-05-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected -- entry should have been in libchip.
2002-05-14 17:35:55 +00:00
Joel Sherrill
1065f16b76 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
	Per PR215 address the following issues:
	    - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
	      are no longer defined by libcpu (powerpc/shared/include/io.h)
	      but by the BSP (who is the only one to know the values)
	    - the affected BSP (shared/motorola) headers have been fixed
	      in a separate "libbsp/powerpc/shared" patch.
	    - the DEC 21140 driver (libchip/network/dec21140.c) has been
	      fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
	      and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
	      is to be defined by the BSP who is using this driver.
	    - the DEC driver also has been fixed to use the newer
	      rtems_bsp_delay_in_bus_cycles() instead of the obsolete
	      delay_in_bus_cycles().
2002-05-14 17:35:16 +00:00
Joel Sherrill
3ce2907d59 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* network/dec21140.c: Per PR215 address the following issues:
	    - _IO_BASE, _ISA_MEM_BASE and PCI_DRAM_OFFSET
	      are no longer defined by libcpu (powerpc/shared/include/io.h)
	      but by the BSP (who is the only one to know the values)
	    - the affected BSP (shared/motorola) headers have been fixed
	      in a separate "libbsp/powerpc/shared" patch.
	    - the DEC 21140 driver (libchip/network/dec21140.c) has been
	      fixed to use PCI_DRAM_OFFSET instead of PREP_PCI_DRAM_OFFSET.
	      and PCI_MEM_BASE instead of PREP_ISA_MEM_BASE. PCI_MEM_BASE
	      is to be defined by the BSP who is using this driver.
	    - the DEC driver also has been fixed to use the newer
	      rtems_bsp_delay_in_bus_cycles() instead of the obsolete
	      delay_in_bus_cycles().
2002-05-14 17:08:25 +00:00
Joel Sherrill
78f8c91747 2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add
	support for the MPC74000 (AKA G4); there is no AltiVec support yet,
	however.
2002-05-14 16:53:01 +00:00
Joel Sherrill
a2a8c5b417 2001-05-09 Joel Sherrill <joel@OARcorp.com>
* src/exinit.c: Slightly rework initialization so there
	is a valid thread as _Thread_Executing when the pre_tasking
	hook is called.  This allows one directives and malloc
	to potentially use mutex protection.
2002-05-09 21:41:05 +00:00
Joel Sherrill
51b39864ae 2002-05-01 Eric Norum <eric.norum@usask.ca>
* machine/in_cksum.h: Per PR200 fix multi-line inline assembly
	to satisfy gcc 3.1 and newer.
2002-05-01 23:09:37 +00:00
Joel Sherrill
5a715de409 2002-04-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/ppc.h: Remove rtems_multilib.
	Add mpc555 (Based on comments from Sergei Organov <osv@javad.ru>).
	* rtems/old-exceptions/cpu.h: Remove _CPU_Data_Cache_Block_Flush.
	Remove _CPU_Data_Cache_Block_Invalidate.
2002-05-01 22:35:52 +00:00
Joel Sherrill
80fe968c12 2002-03-20 Chris Johns <ccj@acm.org>
* monitor/mon-command.c: Per PR192 the RTEMS monitor makes everything
	lowercase. The capture engine need to set triggers or watches on task
	with uppercase names.
	Also stop the monitor repeating command when enter is pressed.
2002-05-01 22:33:52 +00:00
Joel Sherrill
bf99393f73 2001-04-26 Joel Sherrill <joel@OARcorp.com>
* src/objectcomparenamestring.c: Fix typos.
2002-04-27 00:20:40 +00:00
Joel Sherrill
2b454faf13 2001-04-26 Joel Sherrill <joel@OARcorp.com>
* include/rtems/score/object.h, inline/rtems/score/object.inl,
	src/objectcomparenamestring.c: Address PR81 that
	reworked POSIX message queues to add a descriptor separate from
	the underlying message queue.  This allows non-blocking to follow
	the "open" not the underlying queue.   As part of debugging this
	it became clear that _Objects_Compare_name_string was broken
	and a simple version using strncmp() was substituted.
2002-04-26 23:56:56 +00:00