Commit Graph

7490 Commits

Author SHA1 Message Date
Ralf Corsepius
1a7784f87c 2003-03-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/env-rtemscpu.m4: Remove obsolete comment.
	Add MULTISUBDIR to probject_libdir.
2003-03-11 23:12:12 +00:00
Ralf Corsepius
03cd4b611a 2003-03-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/env-rtemscpu.m4: Remove RTEMS_ROOT (Unused).
	* aclocal/env-rtemsbsp.m4: Remove RTEMS_ROOT (Unused).
	Remove RTEMS_PROJECT_ROOT (Unused).
	* aclocal/tool-paths.m4: Delete.
2003-03-11 16:28:15 +00:00
Ralf Corsepius
d2c2c6ca48 2003-03-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/ppcn_60x.cfg: Fix mal-formed CVS-Id.
2003-03-10 16:41:09 +00:00
Ralf Corsepius
52f13c3e19 2003-03-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add AC_CHECK_HEADERS(getopt.h) to work around a bug
	in autoconf-2.57.
2003-03-07 03:00:17 +00:00
Ralf Corsepius
ebab90121a 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 11:31:46 +00:00
Ralf Corsepius
d10340a1bf 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 11:13:53 +00:00
Ralf Corsepius
0f1ee002e1 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
	* alocal/rtems-top.a4: Add AC_CONFIG_AUX_DIR.
2003-03-06 10:49:13 +00:00
Ralf Corsepius
b18646c909 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 10:45:24 +00:00
Ralf Corsepius
17569bf489 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
2003-03-06 09:40:38 +00:00
Ralf Corsepius
45633aa3ed 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
	* aclocal/rtems-top.m4: Add AC_CONFIG_AUX_DIR.
2003-03-06 09:38:10 +00:00
Ralf Corsepius
6a02d05533 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* netinet/in_chksum.c: Remove duplicate case to include
	in_chksum_arm.c.
2003-03-06 09:08:47 +00:00
Ralf Corsepius
cd83ff6184 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-03-06 06:52:51 +00:00
Ralf Corsepius
a7cc7b42a6 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove stray reference to sptables.h.in.
2003-03-06 06:51:56 +00:00
Ralf Corsepius
5bc48b5eb5 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove sptables.h.in.
2003-03-06 06:14:28 +00:00
Ralf Corsepius
691fed92cd 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rtems/sptables.h.in: Remove.
	* include/rtems/sptables.h: New.
	* include/.cvsignore: Remove.
	* include/rtems/.cvsignore: Remove.
	* inline/.cvsignore: Remove.
	* inline/rtems/.cvsignore: Remove.
	* macros/.cvsignore: Remove.
	* macros/rtems/.cvsignore: Remove.
	* src/.cvsignore: Remove.
2003-03-06 06:12:27 +00:00
Ralf Corsepius
0b5d1b0a8a Fix ChangeLog 2003-03-06 06:05:21 +00:00
Ralf Corsepius
f87a9f2558 2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add support/.
	* support/Makefile.am: New.
	* support/version.c: New.
	* wrapup/Makefile.am: Add support/libsupport.a.
2003-03-06 06:01:31 +00:00
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