Commit Graph

7616 Commits

Author SHA1 Message Date
Joel Sherrill
2f73363ec5 2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 380/bsps
	* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h:
	make printk format strings compliant with libcpu/printk.
	minor fixes and lazy init bugfix.
2003-04-10 16:39:52 +00:00
Joel Sherrill
0d6849e76a 2003-04-10 Till Straumann <strauman@slac.stanford.edu>
PR 379/bsps
	* console/polled_io.c: libcpu provides 'printk' already.
	Therefore, the implementation in this file was removed (still
	used for the bootloader, though).  It now provides BSP_output_char()
	for libcpu's printk().
	* console/uart.c, console/uart.h: BSP_output_char_via_serial()
	prototype changed to match the BSP_output_char_function_type.  Note
	that the motorola BSPs use polled-io for the output_char routine, not
	the uart.c version. The latter can be used be other BSPs however
	(e.g. SVGM).
	* console/console.c, console/consoleIo.h, console/polled_io.c,
	irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
	Unfortunately, the supported 'printk' format string subset of the
	polled-io and libcpu implementations are different - hence, a few
	format strings in the ppc/shared BSP were changed.
2003-04-10 16:35:33 +00:00
Joel Sherrill
48cdb95aa2 2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 371/pppd
	* pppd/auth.c, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/lcp.c,
	pppd/options.c, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c:
	Change many symbols to static. There are still global symbols in
	rtemspppd.h which might need to be changed or converted into member
	of a structure which is dereferenced with a pointer that is managed
	as a per task variable. But this patch should avoid many conflicts.
2003-04-10 16:20:38 +00:00
Joel Sherrill
bbd88004c6 2003-04-10 Joel Sherrill <joel@OARcorp.com>
PR 383/bsps
	* irq/irq.c: Fix bug introduced by conflicts in previous patches.
2003-04-10 13:05:24 +00:00
Ralf Corsepius
6c987ccab7 2003-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ide/.cvsignore: Add.
2003-04-04 13:10:34 +00:00
Joel Sherrill
10a82e7094 2003-04-03 Eri Valette <eric.valette@free.fr>
PR 381/core
	* src/newlibc.c: Switch from using _REENT_INIT to _REEINT_INIT_PTR
	to fix strange run-time problem where EIP was corrupted on pc386 BSP.
2003-04-03 23:01:12 +00:00
Joel Sherrill
edd688eac9 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* bootloader/Makefile.am: Eliminate EABI CFLAGS from those used to
	compile the bootloader.
2003-03-27 18:46:05 +00:00
Joel Sherrill
109fc262bf 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* ide/Makefile.am: ATA code depends upon libchip/ide which is not
	allowed in the cpukit source code since it must be buildable
	independent of any BSP. These files were moved to libchip/ide.
	* ide/ata.c, ide/ata.h, ide/ata_internal.h: New files.
2003-03-27 15:22:58 +00:00
Joel Sherrill
8bdf1d6ac2 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, Makefile.am: ATA code depends upon libchip/ide which is
	not allowed in the cpukit source code since it must be buildable
	independent of any BSP. These files were moved to libchip/ide.
	* include/rtems/ata.h, include/rtems/ata_internal.h: Removed.
2003-03-27 15:20:19 +00:00
Joel Sherrill
6ea9196cc1 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy().
2003-03-27 13:48:56 +00:00
Ralf Corsepius
34b5bdb626 Merger from rtems-4-6-branch. 2003-03-25 20:48:35 +00:00
Joel Sherrill
a281b95bfa 2003-03-25 Joel Sherrill <joel@OARcorp.com>
* rtems/rtems_bsdnet_malloc_starvation.c: Fixed name of include file.
2003-03-25 19:43:52 +00:00
Joel Sherrill
26cdc2aff4 2002-03-25 Eric Norum <norume@aps.anl.gov>
PR 374/networking
	* Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c:
	The patch sent as part of PR270 got applied to the wrong place.
	The effect was that (1) startup was no faster than before and
	(2) malloc starvation messages came way too quickly.  The attached
	patch fixes both these problems and also provides a mechanism for
	applications to handle malloc starvation conditions as they see fit.
	* rtems/rtems_bsdnet_malloc_starvation.c: New file.
2003-03-25 19:00:35 +00:00
Joel Sherrill
b7e2596910 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* mpc8xx/include/mpc8xx.h: Add PCMCIA registers.
2003-03-25 18:37:02 +00:00
Joel Sherrill
13f262838b 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* custom/mbx821_002.cfg, custom/mbx821_002b.cfg: New files included
	with this PR for alias BSPs.
2003-03-25 18:31:13 +00:00
Joel Sherrill
3446afa555 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* ide/Makefile.am, ide/ide_ctrl_cfg.h: General improvements which
	now work on pc386 and mbx8xx.
	* ide/ide_controller.c: New file.
2003-03-25 18:25:50 +00:00
Joel Sherrill
58f7c34904 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* startup/ldsegs.S: Increase alignment.
	* Makefile.am, configure.ac, include/bsp.h, wrapup/Makefile.am:
	Added IDE supporting infrastructure.
	* ide/Makefile.am, ide/ide.c, ide/idecfg.c: New files.  Added
	BSP support for libchip standard ide driver.
2003-03-25 18:22:04 +00:00
Joel Sherrill
ebe5abc87c 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystem
	* ide/*: added BSP support for libchip standard ide driver
2003-03-25 18:18:01 +00:00
Joel Sherrill
dbe06865bf 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 367/filesystem
	* Makefile.am, include/rtems/ide_part_table.h, src/ata.c,
	src/ide_part_table.c: Some bugs were still present in the DOSFS
	implementation:
	    - FAT12 did not work properly on Big-Endian machines
	    - Some synchronization and error handling problems were present
	    - Some legal codings for EOC were not recognized
2003-03-25 17:01:52 +00:00
Joel Sherrill
c151cfc347 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 367/filesystem
	* src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h,
	src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c,
	src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still
	present in the DOSFS implementation:
	    - FAT12 did not work properly on Big-Endian machines
	    - Some synchronization and error handling problems were present
	    - Some legal codings for EOC were not recognized
2003-03-25 17:01:45 +00:00
Joel Sherrill
ec6422eb96 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 360/bsps
	* irq/irq.c, irq/irq_init.c, openpic/openpic.c, openpic/openpic.h:
	BSP code had set the task priority register multiple times of
	the OpenPIC instead of setting the individual source priorities.
	This patch adds openpic_get_source_priority() and
	openpic_set_source_priority() calls and lets IRQ management code
	use them.
2003-03-25 16:55:53 +00:00
Joel Sherrill
de223218f5 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* irq/irq.c, vme/VME.h, vme/vmeconfig.c: Fixes library dependency
	on the vmeUniverse driver. It is now possible to use the ppc/shared/irq
	code on non-VME BSPs without triggering linkage of the vmeUniverse
	driver.
2003-03-25 16:48:24 +00:00
Joel Sherrill
8ca2e5b778 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:43:47 +00:00
Ralf Corsepius
55837f7e4d Merger from rtems-4-6-branch. 2003-03-25 08:55:26 +00:00
Ralf Corsepius
0b22af60bb Merger from rtems-4-6-branch. 2003-03-25 08:50:16 +00:00
Ralf Corsepius
24af9a0677 Merger from rtems-4-6-branch. 2003-03-25 08:30:09 +00:00
Ralf Corsepius
db3e91f2db Merger from rtems-4-6-branch. 2003-03-25 07:20:58 +00:00
Joel Sherrill
81aa167d52 2003-03-24 Joel Sherrill <joel@OARcorp.com>
PR 378/bsps
	* bsp_specs: Did not include ecrtn in endfile sections. Reported
	and fixed by elkolli@crf.canon.fr.
2003-03-24 17:17:41 +00:00
Joel Sherrill
818ab36a1c 2003-03-24 Joel Sherrill <joel@OARcorp.com>
* direct.t, sample.t, utils.t: Significantly updated.
2003-03-24 16:40:49 +00:00
Ralf Corsepius
b2eb323d42 Merger from rtems-4-6-branch. 2003-03-24 10:57:03 +00:00
Ralf Corsepius
f62f49e3f3 Merger from rtems-4-6-branch. 2003-03-24 10:56:35 +00:00
Ralf Corsepius
0b882b7f91 Merger from rtems-4-6-branch. 2003-03-24 10:29:25 +00:00
Ralf Corsepius
dbe9b0ca1c Merger from rtems-4-6-branch. 2003-03-24 10:23:16 +00:00
Ralf Corsepius
6285bc89f3 Merger from rtems-4-6-branch. 2003-03-24 10:11:21 +00:00
Ralf Corsepius
dc135ad136 Merger from rtems-4-6-branch. 2003-03-24 10:11:20 +00:00
Ralf Corsepius
434b8ea114 Merger from rtems-4-6-branch. 2003-03-24 09:53:09 +00:00
Joel Sherrill
bef4fddd1d 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
	Declare all linker-script defined addresses as
	variables of unknown size and not as short objects
	like 'int', 'void*' etc.  Since only addresses are used and never those
	variable's values, the type used in a declaration is not important.
2003-03-18 20:42:51 +00:00
Joel Sherrill
73e3614f9e 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* custom/mvme2307.cfg: This patch makes RTEMS/PowerPC eabi compliant.
	Enable EABI by adding -meabi -msdata=eabi CFLAGS.
2003-03-18 19:26:14 +00:00
Joel Sherrill
66565bb217 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant.
	Let Thread_Handler verify that _init/_main are non-NULL
	before calling them (gives the linker script/user more
	freedom to handle special cases).
2003-03-18 19:24:13 +00:00
Joel Sherrill
ab504d3415 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* cpu.c: This patch makes RTEMS/PowerPC eabi compliant.
2003-03-18 19:22:33 +00:00
Joel Sherrill
64f8ae44cc 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	This patch makes RTEMS/powerpc/shared EABI compliant.
	* irq/irq_init.c, start/Makefile.am, start/start.S, startup/bspstart.c,
	startup/pgtbl_setup.c, vectors/vectors.h, vectors/vectors_init.c:
	zero_bss() should clear not only bss but sbss and sbss2
	also (this is probably a bugfix, as sbss/sbss2 are
	probably used even if -msdata=eabi is not specified).
	* start/rtems_crti.S: New file which must
	be linked immediately after ecrti.o. rtems_crti.o contains
	a code snippet who lets __init() return immediately. Also,
	a new entry point '_init' to the C++ Ctors is generated
	for use by the RTEMS Thread_Handler.
2003-03-18 19:20:55 +00:00
Joel Sherrill
c4561f251d 2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps
	* bsp_specs, start/Makefile.am, startup/linkcmds
	This patch makes RTEMS/powerpc/shared EABI compliant.
	Declare all linker-script defined addresses as
	variables of unknown size and not as short objects
	like 'int', 'void*' etc.
	This prevents the compiler from generating a relocation
	who assumes the existence of an __rtems_end object in
	one of the short data areas (which would result in a
	linker error).
2003-03-18 18:16:43 +00:00
Joel Sherrill
c599ce7b57 2003-03-18 Joel Sherrill <joel@OARcorp.com>
* comm/GDB.HOWTO: Updated.
2003-03-18 14:24:52 +00:00
Ralf Corsepius
69b742ee43 Merger from rtems-4-6-branch. 2003-03-11 12:40:35 +00:00
Ralf Corsepius
5ba8f3067b Merger from rtems-4-6-branch. 2003-03-11 12:12:22 +00:00
Ralf Corsepius
ec0a3462b0 Merger from rtems-4-6-branch. 2003-03-11 11:47:17 +00:00
Ralf Corsepius
f418d6e270 Merger from rtems-4-6-branch. 2003-03-11 11:16:34 +00:00
Ralf Corsepius
6600424de4 Merger from rtems-4-6-branch. 2003-03-11 11:00:20 +00:00
Ralf Corsepius
7a97f26d80 Merger from rtems-4-6-branch. 2003-03-11 10:43:44 +00:00
Ralf Corsepius
afaa498da0 Merger from rtems-4-6-branch. 2003-03-11 09:42:13 +00:00