Commit Graph

4662 Commits

Author SHA1 Message Date
Joel Sherrill
a6eabdb6b9 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add lib/libcpu to the GNU canonicalized subdirectories,
2000-10-26 13:05:34 +00:00
Joel Sherrill
d82c00623c 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-26 13:05:10 +00:00
Joel Sherrill
b507814fd1 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove trailing '/'s from setting up RPM_SPECdir.
2000-10-26 13:00:02 +00:00
Joel Sherrill
2d5748f737 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Remove bogus cfg_subdirs.
	* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-26 12:59:48 +00:00
Joel Sherrill
c05edee950 2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add lib to the GNU canonicalized subdirectories,
	make the lib directory before configuring lib/.
2000-10-26 12:59:11 +00:00
Joel Sherrill
5582de17d6 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-25 17:19:31 +00:00
Joel Sherrill
e590416ad9 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in, Makefile.am: add exec to the GNU canonicalized
 	subdirectories.
2000-10-25 17:12:07 +00:00
Joel Sherrill
f36718c73a 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:10:18 +00:00
Joel Sherrill
ec58782312 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add librtems++, libnetworking, librpc, librdb, libmisc,
	and libchip to the GNU canonicalized subdirectories.
	NOTE: Missed committing as each subdirectory was added (joel).
2000-10-25 17:09:06 +00:00
Joel Sherrill
0864bf938a 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add librtems++ to the GNU canonicalized subdirectories.
2000-10-25 17:05:50 +00:00
Joel Sherrill
3724b7f7cb 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add libnetworking, librpc and librdb to the GNU
 	canonicalized subdirectories.
2000-10-25 17:04:13 +00:00
Joel Sherrill
2735b82335 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
	Switch to GNU canonicalization.
2000-10-25 17:00:20 +00:00
Joel Sherrill
fa60c5bdf5 2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: add libmisc and libchip to the GNU canonicalized
	subdirectories.
2000-10-25 16:59:41 +00:00
Joel Sherrill
b7ed82fc6c 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* macros/enable-hwapi.m4: Removed.
	* aclocal/rtems-top.m4, automake/compile.am, automake/lib.am:
	A small cleanup step towards gnu-canonicalization.
2000-10-25 16:57:27 +00:00
Joel Sherrill
7b0001f795 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* libc/ioman.c: Moved to libfs.
	* libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
	* libc/base_fs.c: Removed include of imfs.h and reworded comment
	to avoid being IMFS specific.
	* libc/libio.h: Removed prototype of IMFS_ops since it should
	not be in this file.
	* libc/mount.c: Removed IMFS specific configuration information.
	* libc/unmount.c: Removed include of imfs.h and reworded comment
	to avoid being IMFS specific.
2000-10-25 16:56:11 +00:00
Joel Sherrill
c801aba17b 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* custom/p4600.cfg, custom/p4650.cfg: Commented out RTEMS_CPU
	definition since this information can be picked up from
	autoconf generated files.  These BSPs are shared by the
	mips and mips64orion "ports."
2000-10-25 16:53:51 +00:00
Joel Sherrill
0bbc89df41 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* psxmount/test.c, psxstat/test.c: Include <imfs.h> to get IMFS_ops.
	It was formerly incorrectly prototyped in <libio.h>.
2000-10-25 16:52:28 +00:00
Joel Sherrill
a0756c9aa0 2000-10-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_config.c: New file containing IMFS configuration
	information split from libc/base_fs.c.
	* src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
	* src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
2000-10-25 16:51:22 +00:00
Joel Sherrill
4a2faa7c45 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, acinclude.m4, configure.in: Introduce GNU
	canonicalization to libfs/.
	The approach is currently a bit of a hack as GNU canonicalization
	does not support the per-BSP build some of the other directories
	require.  As more of the tree is converted, this will become less
	of an issue.
2000-10-24 22:06:58 +00:00
Joel Sherrill
7ec7cf7491 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.in:  Introduce GNU canonicalization to libfs/.
	The approach is currently a bit of a hack as GNU canonicalization
	does not support the per-BSP build some of the other directories
	require.  As more of the tree is converted, this will become less
	of an issue.
2000-10-24 22:06:00 +00:00
Joel Sherrill
509f835141 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* macros/enable-hwapi.m4: Removed.
	* aclocal/rtems-top.m4, automake/compile.am, automake/lib.am:
	A small cleanup step towards gnu-canonicalization.
2000-10-24 21:59:16 +00:00
Joel Sherrill
5b53d9700d 2000-10-24 Alan Cudmore <alanc@linuxstart.com> and
Joel Sherrill <joel@OARcorp.com>

	* This is a major reworking of the mips64orion port to use
	gcc predefines as much as possible and a big push to multilib
	the mips port.  The mips64orion port was copied/renamed to mips
	to be more like other GNU tools.  Alan did most of the technical
	work of determining how to map old macro names used by the mips64orion
	port to standard compiler macro definitions.  Joel did the merge
	with CVS magic to keep individual file history and did the BSP
	modifications. Details follow:
	* Makefile.am: Made clock and timer subdirectories conditional.
	* configure.in: Ditto.
	* clock/clock.S: Switch from using <idtmon.h> to <asm.h>.
	* clock/gettime.S: Switch from using <idtmon.h> to <asm.h>.
2000-10-24 21:52:19 +00:00
Joel Sherrill
86748ff7ed 2000-10-24 Alan Cudmore <alanc@linuxstart.com> and
Joel Sherrill <joel@OARcorp.com>

	* This is a major reworking of the mips64orion port to use
	gcc predefines as much as possible and a big push to multilib
	the mips port.  The mips64orion port was copied/renamed to mips
	to be more like other GNU tools.  Alan did most of the technical
	work of determining how to map old macro names used by the mips64orion
	port to standard compiler macro definitions.  Joel did the merge
	with CVS magic to keep individual file history and did the BSP
	modifications. Details follow:
	* console/led.S: Switch from using <idtmon.h> to <asm.h>.
	* console/start.S: Switch from using <idtmon.h> to <asm.h>. Added
	define of PMON stacksize.
	* console/idtmem.S: Switch from using <idtmon.h> to <asm.h>.  Also
	reworked conditionals to use gcc predefines.
	* console/idttlb.S: Ditto.
2000-10-24 21:50:37 +00:00
Joel Sherrill
fda47cd1b9 2000-10-24 Alan Cudmore <alanc@linuxstart.com> and
Joel Sherrill <joel@OARcorp.com>

	* This is a major reworking of the mips64orion port to use
	gcc predefines as much as possible and a big push to multilib
	the mips port.  The mips64orion port was copied/renamed to mips
	to be more like other GNU tools.  Alan did most of the technical
	work of determining how to map old macro names used by the mips64orion
	port to standard compiler macro definitions.  Joel did the merge
	with CVS magic to keep individual file history and did the BSP
	modifications. Details follow:
	* Makefile.am: idtmon.h in mips64orion port not present.
	* asm.h: MIPS64ORION replaced with MIPS. Frame setup macros added.
	* cpu.c: Comments added.
	* cpu_asm.S: Conditionals changed.  MIPS ISA level 1 support added.
	First attempt at exception/interrupt processing for ISA level 1
	and minus any use of IDT/MON added.
	* idtcpu.h: Conditionals changed to use gcc predefines.
	* iregdef.h: Ditto.
	* cpu_asm.h: No real change.  Merger required commit.
	* rtems/Makefile.am: Ditto.
	* rtems/score/Makefile.am: Ditto.
	* rtems/score/cpu.h: Change MIPS64ORION to MIPS.
	* rtems/score/mips64orion.h: Change MIPS64ORION to MIPS.  Convert
	from using RTEMS_CPU_MODEL to gcc predefines to figre things out.
2000-10-24 21:48:33 +00:00
Joel Sherrill
6bb5260175 2000-10-23 Joel Sherrill <joel@OARcorp.com>
* console/serial_mouse.c: Fixed typos introduced by removal of CR/LF.
2000-10-23 14:10:25 +00:00
Joel Sherrill
396555aae4 2000-10-20 Rosimildo da Silva <rdasilva@connecttel.com>
* console/serial_mouse.c: Added support for changing serial parameters.
2000-10-20 16:01:13 +00:00
Joel Sherrill
772f2243e2 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* mpc8xx/console-generic/console-generic.c: Avoid use of
	BSP definitions and rely on the new routine
	mbx8xx_console_get_configuration() to get information.  This
	routine was formerly incorrectly called
	mbx8xx_console_use_maximum_buffer_size().
	binding to the exception code.
2000-10-20 13:34:45 +00:00
Joel Sherrill
623ffdb155 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* configure.in, Makefile.am: Explicitly specify whether an
	RTEMS_CPU_MODEL is using old or new exception processing.  This
	is important because when building multilib, you do not know
	the RTEMS_CPU_MODEL.  So everything built in a multilib'ed RTEMS
	must be independent of the exception model and allow for late
	binding to the exception code.
2000-10-20 13:33:28 +00:00
Joel Sherrill
6a04140780 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Add mbx8xx_console_get_configuration() which
	returns either nvram configuration or a static equivalent.
2000-10-20 13:31:31 +00:00
Joel Sherrill
cf5be833ff 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Invoke BSP_uart_init() with enough arguments
	now that more communication parameters are settable.
2000-10-20 13:30:19 +00:00
Joel Sherrill
fad00e765b 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* shared/ppc.h: For multilibs, derive PPC_HAS_FPU from _SOFT_FLOAT.
2000-10-20 13:29:24 +00:00
Joel Sherrill
461fa1bc95 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* network/dec21140.c: Corrected attach to include "int attach"
	parameter.
2000-10-20 13:11:39 +00:00
Joel Sherrill
84ab660187 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* include/wd80x3.h: Added file header and logic to prevent multiple
	inclusions of this file.
	* wd8003/wd8003.c: Corrected attach to include "int attach" parameter.
2000-10-20 13:10:30 +00:00
Joel Sherrill
b0a26dddd7 2000-10-20 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Cleaned up network driver name and attach defines.
2000-10-20 13:07:29 +00:00
Joel Sherrill
9142bf398b 2000-10-20 Dmitry Kargapolov <dk@gentex.ru>
* ne2000/ne2000.c: Fix some errors in the driver.
	1. There was no sufficient check of data in ethernet header.
	The code in ne_rx_daemon() was:
            inport_word (dport, len);
	    ...
	    len -= 4;
	      ...
	    if (len > 0)
	      ne_read_data (sc, startaddr, len, p);
	Unfortunately, sometimes my NIC gave me too big len value,
	the result was memory override.  To fix this, I added ethernet
	header data checking.

	2. The way overrides were serviced was not good.  It was complex
	but sometimes did not provide reliable continuing of NIC working.
	I had the situation of an endless loop in ne_check_status()
	after override processing.

	3. There was conceptual error of porting.  The old method of
	overrides curing was ported from the OS-s, where override-processing
	did start immediately.  But RTEMS-version uses events, and cleaning
	of the overrides can start later.

	I selected the way of ne2000 programming that is used
	in freebsd kernel (v4.0).

	Because of both problems, incorrect data in header of raw packet
	and receiver override, it went through ne_reset() and fully
	reset the ne2000.

	So, in summary
	- added detecting of the incorrect data in ethernet header;
	- replaced handling of receiver overrides with new scheme,
	via resetting of NIC, this method is used also in case of
	invalid header detecting.
2000-10-20 12:57:46 +00:00
Joel Sherrill
8327c5cc78 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* page.c: Readd deleted comment lines.
2000-10-19 15:54:34 +00:00
Joel Sherrill
c4be347517 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Invoke BSP_uart_init() with all arguments
	now that it takes more parameters.
2000-10-19 15:54:00 +00:00
Joel Sherrill
e6f5358c65 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* common/uart.h: Added prototype for BSP_uart_set_baud().
2000-10-19 15:53:15 +00:00
Joel Sherrill
5b59c4d46a 2000-10-19 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, src/.cvsignore, src/imfs/.cvsignore, wrapup/.cvsignore:
	New files.
2000-10-19 15:52:22 +00:00
Joel Sherrill
f52111f233 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* clock/ckinit.c: Do not just set the IMR, OR the enable bit in.
2000-10-19 15:43:54 +00:00
Joel Sherrill
cab273000e 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
	src/m68k/any/remdeb_svc.c: New files missed in merger.
2000-10-19 15:37:01 +00:00
Joel Sherrill
c92fb641f0 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* configure.in: Add m68k support.
	* include/rdbg/m68k, src/m68k, src/m68k/any: New subdirectory.
	* src/_servtgt.c: add status text to prinf upon task creation failure.
	* src/rdbg.c: reconnect rdbg exception handlers upon RPC calls.
	* src/m68k/Makefile.am, src/m68k/any/Makefile.am,
	src/m68k/any/remdeb_f.x, src/m68k/any/.cvsignore,
	src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c,
	src/m68k/any/remdeb_svc.c, src/m68k/excep_f.c, src/m68k/rdbg_cpu_asm.S,
	src/m68k/rdbg_f.c, src/m68k/.cvsignore: New files.
2000-10-19 15:35:21 +00:00
Joel Sherrill
0da0dea224 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* lib/tftpDriver.c: add comments to handlers struct function pointers.
	* rtems/rtems_glue.c: move pointer arithmetic to be _after_
	pointer has been checked against NULL.
2000-10-19 15:33:03 +00:00
Joel Sherrill
e090b7e5de 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* rtems/score/cpu.h: define CPU_Exception_frame for rdbg.
	* m68302.h: Make buffer pointer in m302_SCC_bd volatile.
2000-10-19 15:32:20 +00:00
Joel Sherrill
75e8e04a19 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* comm/uart.c (BSP_uart_init): Save more line state parameters.
2000-10-19 15:18:20 +00:00
Joel Sherrill
f244218338 2000-10-18 Sergei Organov <osv@javad.ru>
* Added full support for MPC505.
	* mpc505/ictrl: New directory.
	* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
	* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
	mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
	* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
	* mpc505/vectors/Makefile.am: alignment exception handler now included.
	* mpc505/vectors/vectors.S: Now use constants for exception numbers.
	* old_exception_processing/ppc_offs.h: New file.
	* old_exception_processing/Makefile.am: Account for ppc_offs.h.
	* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
	* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
2000-10-18 18:33:47 +00:00
Joel Sherrill
a982e0c639 2000-10-18 Sergei Organov <osv@javad.ru>
* Added full support for MPC505.
	* mpc505/ictrl: New directory.
	* configure.in, mpc505/Makefile.am: Modified to reflect ictrl addition.
	* mpc505/ictrl/.cvsignore, mpc505/ictrl/Makefile.am,
	mpc505/ictrl/ictrl.c, mpc505/ictrl/ictrl.h: New files.
	* mpc505/timer/timer.c: Use <rtems.h>, not "rtems.h".
	* mpc505/vectors/Makefile.am: alignment exception handler now included.
	* mpc505/vectors/vectors.S: Now use constants for exception numbers.
	* old_exception_processing/ppc_offs.h: New file.
	* old_exception_processing/Makefile.am: Account for ppc_offs.h.
	* old_exception_processing/cpu.h: Make Nest and Disable levels volatile.
	* old_exception_processing/cpu_asm.S: Offsets moved to ppc_offs.h.
2000-10-18 18:24:43 +00:00
Joel Sherrill
10c6e9034f 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* wrapup/Makefile.am: Added libfs.
2000-10-18 18:14:14 +00:00
Joel Sherrill
d71c6c1f0e 2000-10-18 Chris Johns <ccj@acm.org>
* libfs created.
	* src, src/imfs, wrapup: New directories.
	* ChangeLog, Makefile.am, README, configure.in, src/Makefile.am,
	wrapup/Makefile.am: New files.
	* src/imfs/deviceio.c, src/imfs/imfs_getchild.c,
	src/imfs/imfs_readlink.c, src/imfs/imfs.h, src/imfs/imfs_gtkn.c,
	src/imfs/imfs_rmnod.c, src/imfs/imfs_chown.c,
	src/imfs/imfs_handlers_device.c, src/imfs/imfs_stat.c,
	src/imfs/imfs_creat.c, src/imfs/imfs_handlers_directory.c,
	src/imfs/imfs_symlink.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_handlers_link.c, src/imfs/imfs_unixstub.c,
	src/imfs/imfs_directory.c, src/imfs/imfs_handlers_memfile.c,
	src/imfs/imfs_unlink.c, src/imfs/imfs_eval.c, src/imfs/imfs_init.c,
	src/imfs/imfs_unmount.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_initsupp.c, src/imfs/imfs_utime.c, src/imfs/imfs_fcntl.c,
	src/imfs/imfs_link.c, src/imfs/memfile.c, src/imfs/imfs_fdatasync.c,
	src/imfs/imfs_mknod.c, src/imfs/miniimfs_init.c, src/imfs/imfs_free.c,
	src/imfs/imfs_mount.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_ntype.c:
	New files. Moved from libc.
2000-10-18 18:10:55 +00:00
Joel Sherrill
45c3da3b36 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* include/confdefs.h: Set CONFIGURE_INIT_TASK_STACK_SIZE to 0
	if there is no Classic API Initialization Tasks Table defined.
2000-10-18 18:08:32 +00:00