Commit Graph

1005 Commits

Author SHA1 Message Date
Joel Sherrill
3d4e62feda 2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bsp_specs: Add qnolinkcmds.
2000-10-31 21:22:43 +00:00
Joel Sherrill
7ede0e7698 2000-10-30 Joel Sherrill <joel@OARcorp.com>
* POSIX include files merged into newlib.  This resulted in
	some definitions moving to other files and thus some secondary
	effects in RTEMS source code.
	* sbrk.c: Corrected prototype to match newlib.
2000-10-31 16:35:52 +00:00
Joel Sherrill
c51af96e04 2000-10-29 Joel Sherrill <joel@OARcorp.com>
* startup/sbrk.c: Removed.  Redundant with shared version.
2000-10-29 20:11:07 +00:00
Joel Sherrill
8a19e809c7 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 14:05:19 +00:00
Joel Sherrill
e83378d73e 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 13:59:24 +00:00
Joel Sherrill
0134f4fbdf 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in, Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 13:57:21 +00:00
Joel Sherrill
6e0c3c49c2 2000-10-27 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Corrected previous entry to include configure.in.
2000-10-27 13:50:20 +00:00
Joel Sherrill
30aa533dd3 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
        Switch to GNU canonicalization.
2000-10-27 13:46:05 +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
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
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
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
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
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
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
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
8ad5399ded 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* comm/i386-stub-glue.c, comm/tty_drv.c, comm/uart.c, comm/uart.h:
	Add the ability to set parity, number of data bits and
	number of stop bits to the existing i386 serial drivers.
2000-10-18 16:10:50 +00:00
Joel Sherrill
664db30bd3 2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* console/console.c, console/serial_mouse.c, include/bsp.h:
	Add the ability to set parity, number of data bits and
	number of stop bits to the existing i386 serial drivers.
2000-10-18 15:51:41 +00:00
Joel Sherrill
1fc2292d35 2000-10-18 Joel Sherrill <joel@OARcorp.com>
* console/console.c: Added BSP dependent routine
	mbx8xx_console_use_maximum_buffer_size() required by mbx8xx
	console-generic code.  This avoids libcpu use of bsp.h.
2000-10-18 15:47:26 +00:00
Joel Sherrill
1fba44da0a 2000-10-17 Joel Sherrill <joel@OARcorp.com>
* irq/Makefile.am, irq/idt.c: Added idt.c since it has been moved
	libcpu/i386 to libbsp/i386/shared/irq.
2000-10-17 20:37:30 +00:00
Joel Sherrill
bad7e90fee 2000-10-17 Joel Sherrill <joel@OARcorp.com>
* startup/Makefile.am: Added idt.c since it has been moved libcpu/i386
	to libbsp/i386/shared/irq.
2000-10-17 20:37:11 +00:00
Joel Sherrill
50bb762733 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* start/start.c: Modified to support generation of ram_init.
	* start/ram_init.ld, BSP/start/ram_init.sed: New files.
	These changes enable RTEMS to automatically generate
	the ram_init file used by gdb with the BDM patches. The 332 has
	on-board chip select lines (for RAM and FLASH) that must be
	configured before use of these peripherals. These patches parse
	data from start.c where the chip select lines are configured in
	the runtime executable and automatically generates the gdb
	initialization file using the same settings. A great time saver.
	A similar file, ram_init_FW (flash writable), is also generated
	that the flash programming tool uses.
	* start/Makefile.am: Modified to support above.
	* CPU/sim.h: Modified to support above.
	* startup/except_vect_332_ROM.S: Moved to start so it would not
	be included in libbsp.a.  Moving it to start ensures it is
	available as a single object file.
	* start/except_vect_332_ROM.S: Moved from startup.
	* startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
	shown in the comments.
2000-10-12 12:56:07 +00:00
Joel Sherrill
9f30a08bc4 2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* startup/linkcmds: Added lines so DWARF debug information
	would be available.  Otherwise gdb complains that the offsets
	for the debug info are incorrect and doesn't load the files.
2000-09-29 14:25:46 +00:00
Joel Sherrill
4cb5d29e6e 2000-09-29 Charles-Antoine Gauthier <charles.gauthier@nrc.ca>
* startup/linkcmds: Added lines so DWARF debug information
	would be available.  Otherwise gdb complains that the offsets
	for the debug info are incorrect and doesn't load the files.
2000-09-29 13:33:23 +00:00
Joel Sherrill
cd872d9401 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* shmdr/shm_driver.h: Added _AM29K entry.  May not be correct.
2000-09-25 19:05:05 +00:00
Joel Sherrill
d9608233c7 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: tty_* renamed to console_*.
	* tty/tty.c: Ditto.
	* shmsupp/addrconv.c: Typo fixed.
	* wrapup/Makefile.am: Merge startup not start directory.
2000-09-25 19:04:16 +00:00
Joel Sherrill
4f6377c515 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Entry added to wrong file and moved.
2000-09-25 19:02:49 +00:00
Joel Sherrill
a848acb6e6 2000-09-25 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Formatting more like other bsp_specs.
	* include/bsp.h: CPU_CLOCK_RATE_MHZ not a real variable to
	elimate need for including bsp.h in libcpu.
	* startup/bspstart.c: Ditto.
	* wrapup/Makefile.am: Did not list shmdr.
2000-09-25 19:01:14 +00:00
Joel Sherrill
fe7416352b 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Use default object format to avoid name
	changes in object format due to tool version changes.
2000-09-22 20:39:48 +00:00
Joel Sherrill
2365488eeb 2000-09-22 Joel Sherrill <joel@OARcorp.com>
* start/crt0.S: Renamed to start/start.S.
	* start/start.S: Formerly start/crt0.S.
	* startup/linkcmds: New file.  GNU linker script that is not
	correct for the target board but links programs.
	* bsp_specs: Use linkcmds.
	* include/Makefile.am, start/Makefile.am startup/Makefile.am:
	Now work.
	* startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references
	to reoutines in assembly that are in turn "#if 0"'ed out.
2000-09-22 20:33:08 +00:00
Joel Sherrill
0eca1d08f6 2000-09-14 Joel Sherrill <joel@OARcorp.com>
* include/mvme16x_hw.h: Include rtems/score/targopts.h so we
	can check which BSP this is being used with.
2000-09-15 13:12:12 +00:00
Joel Sherrill
63c5ce455d 2000-09-13 Joel Sherrill <joel@OARcorp.com>
* bsp_specs, console/Makefile.am, include/Makefile.am: Clean up.
2000-09-13 20:03:48 +00:00
Joel Sherrill
8b9acbf06e 2000-09-13 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, bsp_specs, configure.in, console/Makefile.am,
	include/Makefile.am, irq/Makefile.am, irq/irq.c, start/Makefile.am,
	startup/Makefile.am, startup/exit.c, wrapup/Makefile.am:
	Made to conform to current practice concerning automake and
	autoconf.  Corrected minor warnings.
2000-09-13 19:42:20 +00:00
Joel Sherrill
456456632d 2000-09-13 Emmanuel Raguet <raguet@crf.canon.fr>
* vegaplus BSP submitted by Emmanuel Raguet <raguet@crf.canon.fr> and
	Eric Valette <valette@crf.canon.fr>.
	* vegaplus/bsp_specs, configure.in, console/Makefile.am,
	include/Makefile.am, include/bsp.h, include/registers.h,
	irq/Makefile.am, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c,
	irq/irq.h, start/Makefile.am, start/start.S, startup/Makefile.am,
	startup/bspstart.c, startup/exit.c, startup/linkcmds,
	wrapup/Makefile.am: New files.
2000-09-13 13:45:05 +00:00
Joel Sherrill
4166123841 2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* start/Makefile.am: Remove AM_CPPFLAGS and GAS_CODE16 conditional.
	* startup/Makefile.am: Cleanup comments.
2000-09-12 12:53:19 +00:00
Joel Sherrill
2431a8cfa1 2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* start/Makefile.am: Remove AM_CPPFLAGS and GAS_CODE16 conditional.
2000-09-12 12:52:57 +00:00
Joel Sherrill
e453d5cbb7 2000-09-12 Joel Sherrill <joel@OARcorp.com>
* network/network.c (uti596_attach): Adjust cpp directives
	and conditional braces so all cases compile.
2000-09-12 12:37:19 +00:00
Joel Sherrill
633657c3eb 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* scitab/Makefile.am: PROJECT_TOPdir.
2000-09-06 15:31:12 +00:00
Joel Sherrill
278495b042 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* io/Makefile.am: Formatting.
2000-09-05 16:16:07 +00:00
Joel Sherrill
4c19137ce1 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Formatting.
2000-09-05 16:15:29 +00:00
Joel Sherrill
39d0576cf4 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, shared/Makefile.am, shared/comm/Makefile.am,
	shared/irq/Makefile.am: Include compile.am
2000-09-05 16:13:40 +00:00
Joel Sherrill
3e30f27e20 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mpc505/timer/Makefile.am, mpc505/vectors/Makefile.am,
	mpc6xx/clock/Makefile.am, mpc6xx/exceptions/Makefile.am,
	mpc6xx/mmu/Makefile.am, mpc6xx/timer/Makefile.am,
	mpc6xx/wrapup/Makefile.am, ppc403/clock/Makefile.am,
	ppc403/console/Makefile.am, ppc403/ictrl/Makefile.am,
	ppc403/timer/Makefile.am, ppc403/vectors/Makefile.am,
	shared/include/Makefile.am, shared/src/Makefile.am,
	wrapup/Makefile.am, mpc8xx/clock/Makefile.am,
	mpc8xx/console-generic/Makefile.am, mpc8xx/cpm/Makefile.am,
	mpc8xx/mmu/Makefile.am, mpc8xx/timer/Makefile.am,
	mpc8xx/vectors/Makefile.am, new_exception_processing/Makefile.am,
	old_exception_processing/Makefile.am: Include compile.am
2000-09-05 16:00:37 +00:00
Joel Sherrill
4adcc2cfa6 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* shmdr/Makefile.am: Include compile.am
2000-09-05 15:58:06 +00:00
Joel Sherrill
0dcf5e127d 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am, console/Makefile.am, shmsupp/Makefile.am,
	startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include
	compile.am
2000-09-05 15:55:53 +00:00
Joel Sherrill
0ecf57c710 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* clock/Makefile.am, console/Makefile.am, gnatsupp/Makefile.am,
	start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
	wrapup/Makefile.am: Include compile.am
2000-09-05 15:54:50 +00:00