Commit Graph

7545 Commits

Author SHA1 Message Date
Joel Sherrill
dbb80309be 2003-04-18 Joel Sherrill <joel@OARcorp.com>
* tversions.texi: Updated to reflect gcc3.2.2newlib1.11.0-2.
2003-04-18 12:59:34 +00:00
Joel Sherrill
217019f3b6 2003-04-18 Joel Sherrill <joel@OARcorp.com>
* ChangeLog, gcc3newlib/gccnewlib.add, gdb/Makefile.am: Merged from
	head.
2003-04-18 12:58:24 +00:00
Joel Sherrill
522652e46b 2003-04-17 Joel Sherrill <joel@OARcorp.com>
* .cvsignore, ChangeLog, Makefile.am, develenv.texi: Merged from head.
	* direct.t, sample.t, utils.t: New files.
	* compile.texi, direct.texi, sample.texi, utils.texi: Removed.
2003-04-17 13:42:34 +00:00
Ralf Corsepius
b8ae9ec858 2003-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_FILES and TMPINSTALL_FILES to
	all-local (Sync with other Makefile.ams).
2003-04-17 10:55:13 +00:00
Ralf Corsepius
b22d3e5004 2003-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use "all-local:" instead of "all:".
2003-04-17 10:52:57 +00:00
Ralf Corsepius
b50c582da8 2003-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* dummy/Makefile.am: Remove stray dummy.rel.
2003-04-17 10:50:08 +00:00
Ralf Corsepius
0f7d5a778f 2003-04-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/no_posix.c: include <reent.h> instead of <sys/reent.h>
2003-04-17 10:45:07 +00:00
Joel Sherrill
3b585c3be6 2003-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 389/rtems
	* src/no_posix.c: Correct _kill_r() prototype and make it conditional
	on newlib.
2003-04-16 19:40:47 +00:00
Joel Sherrill
e3aa7c1ba5 2002-04-10 Victor V. Vengerov <vvv@oktet.ru>
PR 385/filesystem
	* src/ramdisk.c: The "from" and "to" locations are calculated as
	the start of the block within the ram that data is to be transferred
	from/to for reads and writes respectively.  However, within
	the loops, the "from" and "to" locations are never updated.  The loop
	should have been updated as:
	    from += rd->block_size;
	and
	    to += rd->block_size;
	within the for loops in the ramdisk_read and ramdisk_write routines,
	respectively.
2003-04-16 19:35:11 +00:00
Joel Sherrill
44268550bf 2003-04-15 Joel Sherrill <joel@OARcorp.com>
PR 388/networking
	* kern/kern_sysctl.c: Revert previous patch and use strlcpy() now that
	it is available. Also fixed some warnings.
2003-04-15 14:58:28 +00:00
Joel Sherrill
eedf195795 2003-04-15 Joel Sherrill <joel@OARcorp.com>
PR 387/rtems_misc
	* ide/ata.c: Removed warning and moved to use of simpler libc routines.
	* ide/ata_internal.h: Added missing newline and end of file.
2003-04-15 13:03:40 +00:00
Ralf Corsepius
d8767c3e64 Merger from trunk. 2003-04-14 06:24:44 +00:00
cvs2git
7c608e88e5 This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-04-14 06:19:46 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2003-04-14	Ralf Corsepius <corsepiu@faw.uni-ulm.de>':
    c/src/lib/libbsp/i386/pc386/ide/.cvsignore
    c/src/lib/libbsp/powerpc/mbx8xx/ide/.cvsignore
    doc/develenv/direct.t
    doc/develenv/sample.t
    doc/develenv/utils.t
2003-04-14 06:19:47 +00:00
Joel Sherrill
b545552df8 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:40:25 +00:00
Joel Sherrill
6ad3694786 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:13 +00:00
Joel Sherrill
c3f8aa9d16 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 13:09:09 +00:00
Joel Sherrill
2d8eddea7a 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:10 +00:00
Ralf Corsepius
0793e35195 2003-04-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bsp.mak: Use var="$val" instead of var=${var=$val}. to satisfy
	Solaris /bin/sh.
	(Reported by Till Straumann <strauman@SLAC.Stanford.EDU>).
2003-04-08 05:22:37 +00:00
Ralf Corsepius
48b0211586 2003-04-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* sourcecode.t: cpukit/score/cpu.
2003-04-07 16:16:13 +00:00
Joel Sherrill
bce564105d 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:31 +00:00
Joel Sherrill
dd6ad01947 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:44:42 +00:00
Joel Sherrill
5f83947367 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:18:37 +00:00
Joel Sherrill
05341d806f 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* 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, src/ata.c: Removed.
2003-03-27 15:17:53 +00:00
Joel Sherrill
c2034a9eb7 2003-03-27 Joel Sherrill <joel@OARcorp.com>
* kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy().
2003-03-27 13:48:41 +00:00
Joel Sherrill
8db5e22630 2003-03-25 Joel Sherrill <joel@OARcorp.com>
* rtems/rtems_bsdnet_malloc_starvation.c: Fixed name of include file.
2003-03-25 19:43:12 +00:00
Joel Sherrill
593616a8db 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:23 +00:00
Joel Sherrill
b7985c50a6 2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 368/filesystems
	* mpc8xx/include/mpc8xx.h: Add PCMCIA registers.
2003-03-25 18:36:34 +00:00
Joel Sherrill
bf82aab61d 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:30:52 +00:00
Joel Sherrill
08d43444a5 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:03 +00:00
Joel Sherrill
26e927f71b 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:21:29 +00:00
Joel Sherrill
086e708d3f 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:17:25 +00:00
Joel Sherrill
bf71e25ee4 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:02:01 +00:00
Joel Sherrill
01c5b9d74e 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:56 +00:00
Joel Sherrill
2742cc30e5 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:29 +00:00
Joel Sherrill
a3ef256740 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:46:01 +00:00
Joel Sherrill
c960a72529 2003-03-25 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* shared/include/cpuIdent.c: Readd PPC604r CPU.
2003-03-25 16:40:08 +00:00
Ralf Corsepius
4bab4aff51 Merger from CVS-trunk. 2003-03-25 08:06:19 +00:00
Joel Sherrill
186d8b23ce 2003-03-19 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Fixed so sysctl sections appear correctly. Also
	increased RAM (a lie) so all programs link.
2003-03-20 00:17:15 +00:00
Ralf Corsepius
ccb739c6b3 2003-03-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/utils.c: Remove strlcpy, strlcat.
2003-03-19 00:51:54 +00:00
Ralf Corsepius
8114f30144 2003-03-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_CHECK_FUNCS(strlcpy strlcat).
	* src/strlcat.c: New (extracted from pppd/utils.c).
	* src/strlcpy.c: New (extracted from pppd/utils.c).
	* Makefile.am: Add BSD_C_FILES, strlcat.c, strlcpy.c.
2003-03-19 00:49:15 +00:00
Joel Sherrill
49f02fff4c 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:43:07 +00:00
Joel Sherrill
7e9c793ba5 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:36 +00:00
Joel Sherrill
2ae52c7583 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:24:59 +00:00
Joel Sherrill
2e0ee93e04 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:28 +00:00
Joel Sherrill
9cfccae23f 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:55 +00:00
cvs2git
6ac7a12b3f This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-03-18 19:20:55 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-03-18  Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libbsp/powerpc/shared/start/rtems_crti.S
2003-03-18 19:20:56 +00:00
Joel Sherrill
98847ed837 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:53 +00:00
Joel Sherrill
95501284c6 2003-03-18 Joel Sherrill <joel@OARcorp.com>
* comm/GDB.HOWTO: Updated.
2003-03-18 14:25:40 +00:00
Ralf Corsepius
04a6b0da6e 2003-03-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Reformat build_* handling.
	Preset *_alias if empty.
	* configure.ac: Change tools/build to build-config dirs.
	Conditionally build tools/build as host-config dirs.
2003-03-14 00:25:00 +00:00
Ralf Corsepius
7d9818cb47 2003-03-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Fix broken comments.
	Add hidden option --enable-experimental.
	* README.cdn-X: Update.
	* configure.ac:	Build tools/build as host and build-host tools to
	accomodate those BSPs applying packhex in <BSP>.cfg.
	Build tools/cpu as build-host tools.
2003-03-13 11:03:53 +00:00