Commit Graph

7473 Commits

Author SHA1 Message Date
Ralf Corsepius
b3ceb8973d 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Build librtems++$(LIB_VARIANT).a
2003-03-04 17:12:06 +00:00
Ralf Corsepius
64e52730a8 2002-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/system.h: Add __RTEMS_REVISION__.
2003-03-04 17:08:41 +00:00
Ralf Corsepius
d24f574e07 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Use SRC += instead of make-vars.
2003-03-04 11:27:58 +00:00
Ralf Corsepius
4638a5f021 2003-03-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/arm.h: Remove ARM_HAS_THUMB (Unused).
2003-03-03 15:59:36 +00:00
Ralf Corsepius
fc230981f9 2003-03-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add AC_CHECK_HEADERS.
2003-03-02 06:21:44 +00:00
Ralf Corsepius
fec45040bc 2003-03-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/cpu.h: Set up CPU_*_ENDIAN based on -D__ARMEL__ and
	-D__ARMEB__. Fix minor typo in comment.
2003-03-02 06:19:42 +00:00
Ralf Corsepius
3f5a592004 Remove corrupted ChangeLog entry. 2003-02-28 08:01:06 +00:00
Ralf Corsepius
b566205fca 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_SUBST(RTEMS_VERSION).
	AC_DEFINE(RTEMS_VERSION) to propagate it through cpuopts.h.
2003-02-28 06:23:12 +00:00
Ralf Corsepius
a3c5064e53 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/sptables.h.in: Remove RTEMS_VERSION (Moved to
	cpuopts.h).
2003-02-28 06:21:39 +00:00
Ralf Corsepius
1842800039 2002-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/system.h: Add __RTEMS_MAJOR__, __RTEMS_MINOR__.
2003-02-28 06:19:11 +00:00
Ralf Corsepius
1c450d78a0 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* bootstrap: Add ACLOCAL, AUTOHEADER.
	Don't check for auto*tool-versions.
2003-02-28 06:12:07 +00:00
Ralf Corsepius
f196b7a97d 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Don't build sh-rtems ml and ml/m2 multilib variants.
2003-02-28 05:53:57 +00:00
Ralf Corsepius
15eb411e86 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/compile.am: Introduce depend-gcc.
	* automake/lib.am: Remove stray comment.
	* automake/local.am: Introduce depend-gcc.
2003-02-28 05:13:20 +00:00
Ralf Corsepius
09969a8d12 2003-02-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Don't build arm-rtems/*fpu* multilib variants.
2003-02-28 05:08:26 +00:00
Ralf Corsepius
8a1d1e0bed 2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* gcc3newlib/gccnewlib.add: Add %gcc_version, %newlib_version.
	Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-c++.add: Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-g77.add: Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-gcc.add: Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-gcj.add: Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-gnat.add: Apply %gcc_version, %newlib_version.
	* gcc3newlib/target-objc.add: Apply %gcc_version, %newlib_version.
2003-02-26 15:52:36 +00:00
Ralf Corsepius
d4e67c5dc0 2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/armulator.cfg: CPU_CFLAGS = -msoft-float.
	* custom/vegaplus.cfg: CPU_CFLAGS = -msoft-float.
	* custom/ebd7312.cfg: CPU_CFLAGS = -msoft-float.
	* custom/arm_bare_bsp.cfg: CPU_CFLAGS = -msoft-float.
2003-02-26 07:46:06 +00:00
Ralf Corsepius
f622d16663 2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/armulator.cfg: CPU_CFLAGS = -msoft-float.
	* custom/vegaplus.cfg: CPU_CFLAGS = -msoft-float.
	* custom/ebd7312.cfg: CPU_CFLAGS = -msoft-float.
	* custom/arm_bare_bsp.cfg: CPU_CFLAGS += -msoft-float.
2003-02-26 07:45:48 +00:00
Ralf Corsepius
536b41ac1b 2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems/score/arm.h: Set up ARM_HAS_FPU based on -D__SOFTFP__.
2003-02-26 07:16:01 +00:00
Ralf Corsepius
55e2e98a7f 2003-02-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_SUBST(RTEMS_VERSION,_RTEMS_VERSION).
2003-02-26 07:14:05 +00:00
Joel Sherrill
125d81db0f 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* rtems/powerpc/registers.h: Add definitions for HID1 and DABR SPRs.
2003-02-20 22:12:10 +00:00
Joel Sherrill
c494deb85d Patch against RTEMS-ss-20030128
Author: Till Straumann <strauman@slac.stanford.edu>

2003/2/11

This patch addresses the following issues:
2003-02-20	Till Straumann <strauman@slac.stanford.edu>

	PR 349/bsps
	* src/mount.c, src/privateenv.c:
  	    - mount() bugfix: allocated 'loc' node must be released if
			mount fails due to missing node_type_h
	    - silence compiler warning about improper pointer type

Index: cpukit/libcsupport/src/mount.c
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/mount.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 mount.c
*** cpukit/libcsupport/src/mount.c	29 Jan 2003 22:57:19 -0000	1.1.1.2
--- cpukit/libcsupport/src/mount.c	7 Feb 2003 20:47:49 -0000
***************
*** 142,147 ****
--- 142,149 ----
              mount_point, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE ) == -1 )
        goto cleanup_and_bail;

+     loc_to_free = &loc;
+
      /*
       * Test for node_type_h
       */
***************
*** 155,161 ****
       *  Test to see if it is a directory
       */

-     loc_to_free = &loc;
      if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
        errno = ENOTDIR;
        goto cleanup_and_bail;
--- 157,162 ----
Index: cpukit/libcsupport/src/privateenv.c
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/privateenv.c,v
retrieving revision 1.1.1.3
diff -c -r1.1.1.3 privateenv.c
*** cpukit/libcsupport/src/privateenv.c	29 Jan 2003 22:57:20 -0000	1.1.1.3
--- cpukit/libcsupport/src/privateenv.c	30 Jan 2003 18:01:40 -0000
***************
*** 65,71 ****
     tmp->refcnt = 1;
  #endif

!    sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
     if (sc != RTEMS_SUCCESSFUL) {
  	 /* don't use free_user_env because the pathlocs are
  	  * not initialized yet
--- 65,71 ----
     tmp->refcnt = 1;
  #endif

!    sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
     if (sc != RTEMS_SUCCESSFUL) {
  	 /* don't use free_user_env because the pathlocs are
  	  * not initialized yet
2003-02-20 22:10:38 +00:00
Joel Sherrill
c074ea2eae 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* mpc6xx/exceptions/raw_exception.c, mpc6xx/mmu/bat.c,
	mpc6xx/mmu/pte121.c, shared/include/cpuIdent.c,
	shared/include/cpuIdent.h, shared/src/Makefile.am, shared/src/stack.c,
	shared/src/stackTrace.h, powerpc/registers.h:
	  - undo improper 'fix' who broke mpc604r identification
	  - fix: 7400 identification PVR value was wrong
	  - enhance 'setdbat()' to switch OFF a given BAT if called with 0 size
	  - fix: page table support bugfix
	  - enhancement: provide routines to take and print stack trace
	    snapshots
	  - add definitions for HID1 and DABR SPRs
2003-02-20 22:07:54 +00:00
cvs2git
da1100e035 This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-02-20 22:07:22 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-02-20	Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libcpu/powerpc/shared/src/stack.c
    c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
2003-02-20 22:07:23 +00:00
Joel Sherrill
ef42b5c2e9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:59:02 +00:00
Joel Sherrill
83ae314d4e 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
	Let the powerpc/shared (+derived) BSPs use pagetable support
	from libcpu.
2003-02-20 21:57:44 +00:00
Joel Sherrill
ff4e9fe7a1 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/Makefile.am, startup/linkcmds startup/Makefile.am,
	startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
	Let the powerpc/shared (+derived) BSPs use pagetable support
	from libcpu.
2003-02-20 21:57:22 +00:00
Joel Sherrill
3c2f21a987 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* Makefile.am, configure.ac: Add glue to the powerpc/shared BSP
	to use the vmeUniverse VME-PCI bridge driver.
	* vme/.cvsignore, vme/Makefile.am, wrapup/Makefile.am: New files.
2003-02-20 21:57:21 +00:00
Joel Sherrill
5cfb5ca283 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* openpic/Makefile.am, pci/Makefile.am:
	  - install the 'openpic.h' and 'pci.h' headers
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
2003-02-20 21:52:21 +00:00
Joel Sherrill
e7625fc6c9 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* console/polled_io.c, console/reboot.c, irq/irq.c, irq/irq_asm.S,
	irq/irq_init.c, openpic/Makefile.am, startup/linkcmds,
	vectors/vectors.S, vectors/vectors_init.c:
	  - install the 'openpic.h' and 'pci.h' headers
	  - avoid a name clash by renaming 'vsprintf' & friends
	    to 'k_vsprintf' etc.
	  - let 'rtemsReboot' print a stack trace (in case an 'assert' failed)
	  - irq.c:
	     * fix: remove implicit assumption that ISA interrupt vectors start
	            at 0
	     * add BSP hook to let a VME interrupt acknowledge the PCI/openpic
	       IRQ. (SEE ALSO THE ppc-sharedbsp-vme.diff patch)
	  - fix: EABI compliance; isr/exception lowlevel handlers must not
	         clobber R2 or R13
	  - fix: openpic_init was called with the polarity/senses tables
	         swapped (fixed wrong order of arguments)
	  - cosmetics: use new _read_SPRXX() _write_SPRXX() macros
2003-02-20 21:48:25 +00:00
Joel Sherrill
837a1323e3 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* startup/pgtbl_setup.c, startup/pgtbl_activate.c: New files
	* startup/Makefile.am, startup/bspstart.c, startup/linkcmds:
	Let the powerpc/shared (+derived) BSPs use pagetable support
   	from libcpu.
2003-02-20 21:45:49 +00:00
Joel Sherrill
422d561d4a 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* vme/.cvsignore, vme/Makefile.am, vme/VME.h, vme/VMEConfig.h,
	vme/vmeconfig.c: Add glue to the powerpc/shared BSP to use
	the vmeUniverse VME-PCI bridge driver.
2003-02-20 21:42:15 +00:00
Joel Sherrill
01fdbb1f30 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* console/console.c, console/uart.c, console/uart.h: implement
	IOCTLs for the serial (UART) console to install/retrieve a BREAK-IRQ
	callback.  The callback routine (if installed) is invoked from the
	UART ISR when a BREAK interrupt is detected.  This can be used
	e.g. to enforce a "hotkey" reboot a la vxWorks Ctrl-X (although we
	use the serial line break condition) NOTE: The callback runs in
	ISR context.
2003-02-20 21:38:50 +00:00
Joel Sherrill
254f0552cb 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
	* README.universe, vmeUniverse/README.porting
	vmeUniverse/README.universe, vmeUniverse/vmeUniverse.c,
	vmeUniverse/vmeUniverse.h: Update of the VME universe driver.
	* vmeUniverse/README.porting: New file.
2003-02-20 21:37:34 +00:00
cvs2git
03dfa5ee5f This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.
Cherrypick from master 2003-02-20 21:35:57 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2003-02-20	Till Straumann <strauman@slac.stanford.edu>':
    c/src/lib/libbsp/shared/vmeUniverse/README.porting
2003-02-20 21:35:58 +00:00
Joel Sherrill
c16310759a 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 353/bsps
	* include/bsp.h: Let the application override the network driver
	and attach routine.
2003-02-20 21:25:11 +00:00
Joel Sherrill
6ba05a77cc Fixed typo in PR category. 2003-02-20 21:22:34 +00:00
Joel Sherrill
64db6d3f44 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 351/networking
	* nfs/bootp_subr.c: Fix ridiculous leak in bootp and use
	strdup_bootp_realloc() everywhere for sake of consistency.
2003-02-20 21:21:46 +00:00
Joel Sherrill
8daecd811b 2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 354/networkign
	* network/if_fxp.c (Intel eepro network driver): re-enabled the chip
	against a table of supported chips. The untested
	ones are still commented out, however.
2003-02-20 21:18:14 +00:00
Joel Sherrill
bce9f3b173 2003-02-20 Wolfram Wadepohl <W.Wadepohl@indumat.de>
PR 357/rtems_misc
	* src/termios.c (rtems_termios_open):  Fixed code the incorrectly
	checked that the wrong pointer during allocation was NULL.
2003-02-20 20:45:40 +00:00
Ralf Corsepius
529fc62612 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
capture/capture-cli.c: Add proper definition to avoid compiler
	warnings. Apply int = getchar().
2003-02-18 15:19:13 +00:00
Ralf Corsepius
6738c9dc6e 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/gcc-isystem.m4: New.
	* aclocal/gcc-specs.m4: Remove.
	* aclocal/prog-cc.m4: Remove RTEMS_GCC_SPECS.
	Add RTEMS_GCC_ISYSTEM.
	Reformat setting up RTEMS_CPPFLAGS.
2003-02-18 14:35:03 +00:00
Ralf Corsepius
f7276a9bdf 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Set PROJECT_ROOT unconditionally.
	* automake/local.am: Remove $(ARCH), clean-local.
	* automake/compile.am: Add $(ARCH), clean-local.
	Set CXXFLAGS = @RTEMS_CFLAGS@ $(XCXXFLAGS).
2003-02-18 13:20:59 +00:00
Ralf Corsepius
385b2e235d 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/local.am: Introduce depend-gcc.
	Remove ${ARCH}.
	* automake/compile.am: Remove GCCSPECS, GCC_SPECS, CONFIG.CC, CC,
	CPP. Add ${ARCH}. depend-gcc.
	* aclocal/prog-cc.m4: Set up RTEMS_CPPFLAGS.
	* aclocal/env-rtemscpu.m4: Remove GCC_SPECS.
	* aclocal/env-rtemsbsp.m4: Remove GCC_SPECS.
2003-02-18 12:58:44 +00:00
Ralf Corsepius
a0d2c79a73 2003-02-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/privateenv.c: Fix prototype for free_user_env.
2003-02-18 12:51:46 +00:00
Ralf Corsepius
21595c79b3 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Unconditionally check for epstopdf and texi2pdf.
2003-02-15 06:09:43 +00:00
Ralf Corsepius
fb5bfdc4bc 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* buildc.t: Add several @ifset BUILDTOOLS-TAR.
	* sample.t: Use @code{make/README} instead of
	@code{@value{RTEMS-UNTAR}/make/README} (Workaround to PR 345).
2003-02-15 06:09:26 +00:00
Ralf Corsepius
d7efd85239 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove references to obsoleted files
	aclocal/enable-gcc28.m4, aclocal/enable-libcdir.m4.
2003-02-15 04:09:03 +00:00
Ralf Corsepius
4b14cd2940 2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove references to obsolete files
	README.DOS REQUIRES PROBLEMS TESTED README UPDATE_HELP.
	Add TOOL_TARGETS.
2003-02-15 04:03:14 +00:00
Joel Sherrill
9e2dc5fc56 2003-02-14 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 348/bsps
	* mpc6xx/exceptions/raw_exception.c: Add PPC_603ev as required
	by MTX603e BSP.
2003-02-14 20:12:34 +00:00
Joel Sherrill
de621a5bd5 2003-02-14 Till Straumann <strauman@slac.stanford.edu>
PR 352/rtems_misc
	* shell/shell.c: make rtems_shell main task an FP enabled task.
2003-02-14 20:09:11 +00:00