Compare commits

..

402 Commits

Author SHA1 Message Date
cvs2git
6142b42c41 This commit was manufactured by cvs2svn to create tag 'rtems-4-7-1'.
Sprout from rtems-4-7-branch 2007-04-13 18:29:37 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'Upgrade to 4.7.1'
Delete:
    Makefile.maint
    contrib/apt-conf/.cvsignore
    contrib/apt-conf/COPYING
    contrib/apt-conf/ChangeLog
    contrib/apt-conf/INSTALL
    contrib/apt-conf/Makefile.am
    contrib/apt-conf/README
    contrib/apt-conf/configure.ac
    contrib/apt-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458
    contrib/apt-conf/rtems-apt-conf.spec.in
    contrib/apt-conf/sources.list.d/rtems-4.6.list
    contrib/apt-conf/sources.list.d/rtems-4.7.list
    contrib/apt-conf/vendors.list.d/rtems.list
    contrib/crossrpms/.cvsignore
    contrib/crossrpms/AUTHORS
    contrib/crossrpms/COPYING
    contrib/crossrpms/ChangeLog
    contrib/crossrpms/Makefile.am
    contrib/crossrpms/NEWS
    contrib/crossrpms/README
    contrib/crossrpms/TODO
    contrib/crossrpms/acinclude.m4
    contrib/crossrpms/autotools/.cvsignore
    contrib/crossrpms/autotools/Makefile.am
    contrib/crossrpms/autotools/autoconf.add
    contrib/crossrpms/autotools/autoconf.am
    contrib/crossrpms/autotools/automake.add
    contrib/crossrpms/autotools/automake.am
    contrib/crossrpms/autotools/target-autoconf.add
    contrib/crossrpms/autotools/target-automake.add
    contrib/crossrpms/binutils/.cvsignore
    contrib/crossrpms/binutils/base-binutils.add
    contrib/crossrpms/binutils/binutils.add
    contrib/crossrpms/binutils/build.add
    contrib/crossrpms/binutils/install.add
    contrib/crossrpms/binutils/prep.add
    contrib/crossrpms/binutils/rpm-install.add
    contrib/crossrpms/binutils/target-binutils.add
    contrib/crossrpms/bootstrap
    contrib/crossrpms/common/clean.add
    contrib/crossrpms/common/common.add
    contrib/crossrpms/configure.ac
    contrib/crossrpms/gcc/base-g77.add
    contrib/crossrpms/gcc/base-gcc.add
    contrib/crossrpms/gcc/base-gcj.add
    contrib/crossrpms/gcc/base-gfortran.add
    contrib/crossrpms/gcc/base-gnat.add
    contrib/crossrpms/gcc/base-newlib.add
    contrib/crossrpms/gcc/build.add
    contrib/crossrpms/gcc/gccnewlib.add
    contrib/crossrpms/gcc/install.add
    contrib/crossrpms/gcc/prep.add
    contrib/crossrpms/gcc/rpm-install.add
    contrib/crossrpms/gcc/target-c++.add
    contrib/crossrpms/gcc/target-g77.add
    contrib/crossrpms/gcc/target-gcc.add
    contrib/crossrpms/gcc/target-gcj.add
    contrib/crossrpms/gcc/target-gfortran.add
    contrib/crossrpms/gcc/target-gnat.add
    contrib/crossrpms/gcc/target-newlib.add
    contrib/crossrpms/gcc/target-objc.add
    contrib/crossrpms/gdb/base-gdb.add
    contrib/crossrpms/gdb/build.add
    contrib/crossrpms/gdb/gdb.add
    contrib/crossrpms/gdb/install.add
    contrib/crossrpms/gdb/prep.add
    contrib/crossrpms/gdb/rpm-install.add
    contrib/crossrpms/gdb/target-gdb.add
    contrib/crossrpms/mkspec.am
    contrib/crossrpms/patches/binutils-2.16.1-rtems-20050708.diff
    contrib/crossrpms/patches/binutils-2.17-rtems4.7-20061021.diff
    contrib/crossrpms/patches/gcc-core-4.0.3-rtems-20060822.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060720.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060908.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems-20060909.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems4.7-20070102.diff
    contrib/crossrpms/patches/gcc-core-4.1.1-rtems4.7-20070405.diff
    contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.7-20070216.diff
    contrib/crossrpms/patches/gdb-6.4-rtems-20060311.diff
    contrib/crossrpms/patches/gdb-6.4-rtems-20060712.diff
    contrib/crossrpms/patches/gdb-6.5-rtems-20060713.diff
    contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070218.diff
    contrib/crossrpms/patches/gdb-6.6-rtems4.7-20070222.diff
    contrib/crossrpms/patches/newlib-1.14.0-rtems4.7-20061019.diff
    contrib/crossrpms/patches/newlib-1.15.0-rtems4.7-20070208.diff
    contrib/crossrpms/rtems4.7/.cvsignore
    contrib/crossrpms/rtems4.7/Makefile.am
    contrib/crossrpms/rtems4.7/arm/.cvsignore
    contrib/crossrpms/rtems4.7/arm/Makefile.am
    contrib/crossrpms/rtems4.7/arm/binutils-sources.add
    contrib/crossrpms/rtems4.7/arm/gcc-sources.add
    contrib/crossrpms/rtems4.7/arm/gdb-sources.add
    contrib/crossrpms/rtems4.7/avr/.cvsignore
    contrib/crossrpms/rtems4.7/avr/Makefile.am
    contrib/crossrpms/rtems4.7/avr/binutils-sources.add
    contrib/crossrpms/rtems4.7/avr/gcc-sources.add
    contrib/crossrpms/rtems4.7/avr/gdb-sources.add
    contrib/crossrpms/rtems4.7/binutils.am
    contrib/crossrpms/rtems4.7/gcc-prep.add
    contrib/crossrpms/rtems4.7/gcc.am
    contrib/crossrpms/rtems4.7/gdb.am
    contrib/crossrpms/rtems4.7/h8300/.cvsignore
    contrib/crossrpms/rtems4.7/h8300/Makefile.am
    contrib/crossrpms/rtems4.7/h8300/binutils-sources.add
    contrib/crossrpms/rtems4.7/h8300/gcc-sources.add
    contrib/crossrpms/rtems4.7/h8300/gdb-sources.add
    contrib/crossrpms/rtems4.7/i386/.cvsignore
    contrib/crossrpms/rtems4.7/i386/Makefile.am
    contrib/crossrpms/rtems4.7/i386/binutils-sources.add
    contrib/crossrpms/rtems4.7/i386/gcc-sources.add
    contrib/crossrpms/rtems4.7/i386/gdb-sources.add
    contrib/crossrpms/rtems4.7/m68k/.cvsignore
    contrib/crossrpms/rtems4.7/m68k/Makefile.am
    contrib/crossrpms/rtems4.7/m68k/binutils-sources.add
    contrib/crossrpms/rtems4.7/m68k/gcc-sources.add
    contrib/crossrpms/rtems4.7/m68k/gdb-sources.add
    contrib/crossrpms/rtems4.7/mips/.cvsignore
    contrib/crossrpms/rtems4.7/mips/Makefile.am
    contrib/crossrpms/rtems4.7/mips/binutils-sources.add
    contrib/crossrpms/rtems4.7/mips/gcc-sources.add
    contrib/crossrpms/rtems4.7/mips/gdb-sources.add
    contrib/crossrpms/rtems4.7/mipstx39/.cvsignore
    contrib/crossrpms/rtems4.7/mipstx39/Makefile.am
    contrib/crossrpms/rtems4.7/mipstx39/gdb-sources.add
    contrib/crossrpms/rtems4.7/powerpc/.cvsignore
    contrib/crossrpms/rtems4.7/powerpc/Makefile.am
    contrib/crossrpms/rtems4.7/powerpc/binutils-sources.add
    contrib/crossrpms/rtems4.7/powerpc/gcc-sources.add
    contrib/crossrpms/rtems4.7/powerpc/gdb-sources.add
    contrib/crossrpms/rtems4.7/sh/.cvsignore
    contrib/crossrpms/rtems4.7/sh/Makefile.am
    contrib/crossrpms/rtems4.7/sh/binutils-sources.add
    contrib/crossrpms/rtems4.7/sh/gcc-sources.add
    contrib/crossrpms/rtems4.7/sh/gdb-sources.add
    contrib/crossrpms/rtems4.7/sparc/.cvsignore
    contrib/crossrpms/rtems4.7/sparc/Makefile.am
    contrib/crossrpms/rtems4.7/sparc/binutils-sources.add
    contrib/crossrpms/rtems4.7/sparc/gcc-sources.add
    contrib/crossrpms/rtems4.7/sparc/gdb-sources.add
    contrib/crossrpms/specstrip
    contrib/mingw/.cvsignore
    contrib/mingw/AUTHORS
    contrib/mingw/COPYING
    contrib/mingw/ChangeLog
    contrib/mingw/README
    contrib/mingw/build-exes.sh
    contrib/mingw/build-rpms.sh
    contrib/mingw/build.sh
    contrib/mingw/rtems-license.rtf
    contrib/mingw/rtems-tools.nsi
    contrib/mingw/rtems.ini
    contrib/mingw/rtems_logo.bmp
    contrib/mingw/targets
    contrib/repo-conf/.cvsignore
    contrib/repo-conf/AUTHORS
    contrib/repo-conf/COPYING
    contrib/repo-conf/ChangeLog
    contrib/repo-conf/INSTALL
    contrib/repo-conf/Makefile.am
    contrib/repo-conf/NEWS
    contrib/repo-conf/README
    contrib/repo-conf/aclocal/version.m4
    contrib/repo-conf/apt/sources.list.d/.cvsignore
    contrib/repo-conf/apt/sources.list.d/rtems.list.in
    contrib/repo-conf/apt/vendors.list.d/rtems.list
    contrib/repo-conf/configure.ac
    contrib/repo-conf/gpg/gpg-pubkey-69ce4a83-44cc2b30
    contrib/repo-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458
    contrib/repo-conf/rtems-repo-conf.spec.in
    contrib/repo-conf/yum.repos.d/.cvsignore
    contrib/repo-conf/yum.repos.d/rtems.repo.in
    contrib/rtemsrpms/.cvsignore
    contrib/rtemsrpms/AUTHORS
    contrib/rtemsrpms/COPYING
    contrib/rtemsrpms/ChangeLog
    contrib/rtemsrpms/INSTALL
    contrib/rtemsrpms/Makefile.am
    contrib/rtemsrpms/NEWS
    contrib/rtemsrpms/README
    contrib/rtemsrpms/bootstrap
    contrib/rtemsrpms/configure.ac
    contrib/rtemsrpms/rtems.spec.in
2007-04-13 18:29:38 +00:00
Joel Sherrill
e6466f7955 Upgrade to 4.7.1 2007-04-13 18:29:37 +00:00
Joel Sherrill
ca64c0649d 2007-04-12 Joel Sherrill <joel@OARcorp.com>
* itron/src/rsm_tsk.c: Correct error returned.
2007-04-12 19:41:55 +00:00
Joel Sherrill
caacea235c 2007-04-11 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Do not configure tools. They only build on a Solaris
	VMEBus host anyway.
2007-04-11 11:18:34 +00:00
Ralf Corsepius
dd64e2bb63 GCC_RPMREL=8 2007-04-10 05:55:41 +00:00
Ralf Corsepius
31ba4cc47e Upgrade to gcc-core-4.1.1-rtems4.7-20070405.diff 2007-04-10 05:55:20 +00:00
Ralf Corsepius
9415bdbd6c Backport from rtems-4.8/gcc-4.1.2. 2007-04-10 05:53:40 +00:00
Ralf Corsepius
4449c8af71 2007-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/newlibc.c: Add __ATTRIBUTE_IMPURE_PTR__
	(Fixes "relocation truncated to fit: R_MIPS_GPREL16" against
	_impure_ptr bug).
	Fix abuse of _REENT_INIT().
2007-04-10 05:37:55 +00:00
Ralf Corsepius
1bc504bfe6 2007-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove --oformat=...
	Use old_link for -qrtems (Prevents *.link from killing endianness).
2007-04-10 05:25:07 +00:00
Ralf Corsepius
7adf859f75 2007-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use nostdlib instead of nostdlibs (bogus).
	Use old_link for -qrtems (Prevents *.link from killing endianness).
2007-04-10 05:23:29 +00:00
Ralf Corsepius
9a94a722ed 2007-04-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Use old_link for -qrtems (Prevents *.link from killing
	endianness).
2007-04-10 05:21:57 +00:00
Ralf Corsepius
068128dc2e 2007-04-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove lib (Now expected to exist in GCC).
2007-04-06 05:52:18 +00:00
Ralf Corsepius
ad438184fe 2007-04-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove lib (Now expected to exist in GCC).
2007-04-06 05:37:02 +00:00
Joel Sherrill
fc503e59c6 2007-04-02 Jennifer Averett <jennifer.averrett@oarcorp.com>
* rtems.adb, rtems.ads: Update.
2007-04-02 20:52:57 +00:00
Joel Sherrill
a4afa905f6 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/printk.c: Add %p support.
2007-04-02 14:36:01 +00:00
Joel Sherrill
29fd387849 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* libmisc/stackchk/check.c: Add code to check validity of frame pointer
	in addition to the pattern area being overwritten. Also do some
	cleanup.
2007-04-02 14:34:39 +00:00
Joel Sherrill
625ef85d6a 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Add dummy printk support so all tests link.
2007-04-02 11:18:03 +00:00
Joel Sherrill
1e99524efe 2007-04-02 Joel Sherrill <joel@OARcorp.com>
* dummy_printk_support.c: New file.
2007-04-02 11:17:45 +00:00
Joel Sherrill
a69b93963b 2007-04-01 Joel Sherrill <joel@OARcorp.com>
PR 1235/bsps
	* pci/pci.c: Add conditional declaration of variables used in debug
	printk's.
2007-04-01 15:38:43 +00:00
Ralf Corsepius
c884439aae 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* monitor/init.c, rtmonuse/task1.c: Use rtems_task_argument.
2007-03-29 17:02:37 +00:00
Ralf Corsepius
7863b3f211 2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp06/task1.c, sp20/task1.c: Use rtems_task_argument.
2007-03-29 17:02:06 +00:00
Ralf Corsepius
77198be529 Use rtems_task_argument. 2007-03-29 17:01:59 +00:00
Joel Sherrill
53d549649f 2007-03-28 Joel Sherrill <joel@OARcorp.com>
PR 1234/cpukit
	* libcsupport/Makefile.am: Provide printk() based implementation of
	__assert() to reduce dependencies in executables.
	* libcsupport/src/__assert.c: New file.
2007-03-28 19:06:33 +00:00
Joel Sherrill
7a0a872944 2007-03-28 Joel Sherrill <joel@OARcorp.com>
PR 1234/cpukit
	* libcsupport/Makefile.am: Provide printk() based implementation of
	__assert() to reduce dependencies in executables.
2007-03-28 18:58:32 +00:00
Joel Sherrill
a2a6187aed 2007-03-28 Joel Sherrill <joel@OARcorp.com>
PR 1233/bsps
	* Makefile.am, console/console.c, console/debugputs.c: Move printk
	support code into debug IO file so you do not get the entire console
	driver when you do not want it.
2007-03-28 18:08:58 +00:00
Joel Sherrill
2fc3592d35 2007-03-28 Joel Sherrill <joel@OARcorp.com>
PR 1232/bsps
	* bsppost.c: It should not be a fatal error to not have a console.
2007-03-28 18:03:26 +00:00
Ralf Corsepius
884fba65b2 2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Strip CFLAGS (Hack to prevent bsp-cflags from
	  being used to compile "tools").
2007-03-27 06:15:16 +00:00
Joel Sherrill
9b754a25bf 2007-03-26 Joel Sherrill <joel@OARcorp.com>
PR 1231/cpukit
	* posix/src/adasupp.c, posix/src/clockgetcpuclockid.c,
	posix/src/clockgetenableattr.c, posix/src/clockgetres.c,
	posix/src/clockgettime.c, posix/src/clocksetenableattr.c,
	posix/src/mutex.c, posix/src/mutexattrdestroy.c,
	posix/src/mutexattrgetprioceiling.c,
	posix/src/mutexattrgetprotocol.c, posix/src/mutexattrgetpshared.c,
	posix/src/mutexattrinit.c, posix/src/mutexattrsetprioceiling.c,
	posix/src/mutexattrsetprotocol.c, posix/src/mutexattrsetpshared.c,
	posix/src/mutexdefaultattributes.c, posix/src/mutexdestroy.c,
	posix/src/mutexgetprioceiling.c, posix/src/mutexlock.c,
	posix/src/mutexlocksupp.c, posix/src/mutexmp.c,
	posix/src/mutexsetprioceiling.c, posix/src/mutextimedlock.c,
	posix/src/mutextrylock.c, posix/src/mutexunlock.c,
	posix/src/nanosleep.c, posix/src/posixintervaltotimespec.c,
	posix/src/posixtimespecsubtract.c,
	posix/src/posixtimespectointerval.c,
	posix/src/psignalclearprocesssignals.c,
	posix/src/psignalclearsignals.c,
	posix/src/psignalsetprocesssignals.c,
	posix/src/psignalunblockthread.c, posix/src/ptimer.c,
	posix/src/ptimer1.c, posix/src/sched.c, posix/src/time.c: Remove
	unneeded includes of assert.h
2007-03-26 22:56:34 +00:00
Joel Sherrill
bdfe63323e 2007-03-26 Joel Sherrill <joel@OARcorp.com>
PR 1230/tests
	* minimum/init.c: Minimum should not configure console driver.
2007-03-26 22:21:29 +00:00
Ralf Corsepius
84fe6d5955 Regenerate. 2007-03-19 06:58:29 +00:00
Ralf Corsepius
14a0b117f1 2007-03-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/conf.h: Don't include machine/conf.h.
	Update copyright notice.
	* libnetworking/Makefile.am: Remove machine/conf.h.
	* libnetworking/machine/conf.h: Remove.
2007-03-19 06:58:03 +00:00
Ralf Corsepius
753ba4ca2b 2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
	(Clash with termiostypes.h - PR 1229).
2007-03-18 07:37:23 +00:00
Ralf Corsepius
66a0b1a57b 2007-03-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/conf.h: Remove linesw, struct linesw, nlinesw.
	(Clash with termiostypes.h - PR 1229).
2007-03-17 06:42:09 +00:00
Thomas Doerfler
acdf664ec7 *** empty log message *** 2007-03-16 08:57:15 +00:00
Thomas Doerfler
9455004dd9 * startup/bspstart.c: set external clock to 0 for some boards to
match the "auto clock detection" scheme in the libcpu clock driver
	* startup/linkcmds: remove content of dpram section to avoid
	download hangs with the EPPCBug board monitor
2007-03-16 08:27:21 +00:00
Ralf Corsepius
63feedc880 2007-03-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
	  to fix warnings.
2007-03-13 05:40:14 +00:00
Joel Sherrill
e4851067d3 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* libchip/network/cs8900.c, libchip/network/cs8900.h,
	libchip/network/greth.c, libchip/network/greth.h: Correct license URL
	and/or fix mistake in copyright notice. Both of these mistakes appear
	to be from code submitted after these changes were made previously.
2007-03-12 11:23:26 +00:00
Joel Sherrill
acf743c8e2 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/uart.c, start/start.S, startup/linkcmds, startup/memmap.c:
	Correct license URL and/or fix mistake in copyright notice. Both of
	these mistakes appear to be from code submitted after these changes
	were made previously.
2007-03-12 11:22:40 +00:00
Joel Sherrill
2a81b3e981 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/uarts.c, include/bsp.h, start/start.S, startup/bspstart.c,
	startup/exit.c, startup/linkcmds: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:22:37 +00:00
Joel Sherrill
861e756a76 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h, network/lan91c11x.c, network/lan91c11x.h,
	network/network.c, start/start.S, startup/bspstart.c, startup/exit.c,
	startup/linkcmds, startup/memmap.c: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:22:32 +00:00
Joel Sherrill
02682585d1 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c, console/console.c, include/bsp.h, include/coverhd.h,
	include/tm27.h, network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/init5282.c, startup/linkcmds,
	timer/timer.c: Correct license URL and/or fix mistake in copyright
	notice. Both of these mistakes appear to be from code submitted after
	these changes were made previously.
2007-03-12 11:22:17 +00:00
Joel Sherrill
89f6394a03 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* include/coverhd.h, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/linkcmds, startup/linkcmdsflash,
	startup/linkcmdsram: Correct license URL and/or fix mistake in
	copyright notice. Both of these mistakes appear to be from code
	submitted after these changes were made previously.
2007-03-12 11:22:08 +00:00
Joel Sherrill
a596619479 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c, include/bsp.h, start/start.S,
	startup/bspclean.c, startup/bspstart.c, startup/init5272.c: Correct
	license URL and/or fix mistake in copyright notice. Both of these
	mistakes appear to be from code submitted after these changes were
	made previously.
2007-03-12 11:22:05 +00:00
Joel Sherrill
c41653be29 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* console/console-io.c, startup/exception.S: Correct license URL and/or
	fix mistake in copyright notice. Both of these mistakes appear to be
	from code submitted after these changes were made previously.
2007-03-12 11:21:50 +00:00
Joel Sherrill
8093e05e69 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, startup/exception.S: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:21:43 +00:00
Joel Sherrill
42a7952dcc 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c, console/console-io.c, include/bsp.h,
	network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, timer/timer.c: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:21:39 +00:00
Joel Sherrill
7ef0876d46 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* irq/irq_init.c: Correct license URL and/or fix mistake in copyright
	notice. Both of these mistakes appear to be from code submitted after
	these changes were made previously.
2007-03-12 11:21:27 +00:00
Joel Sherrill
0332481c11 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* clock/clock.c, console/console.c, ide/pcmcia_ide.c, irq/irq.c,
	irq/irq.h, irq/irq_asm.S, irq/irq_init.c, nvram/nvram.c,
	nvram/nvram.h, slicetimer/slicetimer.c, startup/bspstart.c,
	vectors/vectors.h, vectors/vectors_init.c: Correct license URL and/or
	fix mistake in copyright notice. Both of these mistakes appear to be
	from code submitted after these changes were made previously.
2007-03-12 11:21:23 +00:00
Joel Sherrill
20cacf5cec 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* at91rm9200/clock/clock.c, at91rm9200/dbgu/dbgu.c,
	at91rm9200/include/at91rm9200.h,
	at91rm9200/include/at91rm9200_dbgu.h,
	at91rm9200/include/at91rm9200_emac.h,
	at91rm9200/include/at91rm9200_gpio.h,
	at91rm9200/include/at91rm9200_mem.h,
	at91rm9200/include/at91rm9200_pmc.h, at91rm9200/include/bits.h,
	at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c,
	at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, at91rm9200/pmc/pmc.c,
	at91rm9200/timer/timer.c, mc9328mxl/clock/clockdrv.c,
	mc9328mxl/include/mc9328mxl.h, mc9328mxl/irq/bsp_irq_asm.S,
	mc9328mxl/irq/bsp_irq_init.c, mc9328mxl/irq/irq.c,
	mc9328mxl/irq/irq.h, mc9328mxl/timer/timer.c,
	s3c2400/clock/clockdrv.c, s3c2400/timer/timer.c: Correct license URL
	and/or fix mistake in copyright notice. Both of these mistakes appear
	to be from code submitted after these changes were made previously.
2007-03-12 11:21:10 +00:00
Joel Sherrill
f35c71e71e 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* mcf5272/clock/ckinit.c, mcf5272/include/mcf5272.h,
	mcf5272/timer/timer.c, mcf5272/timer/timerisr.S: Correct license URL
	and/or fix mistake in copyright notice. Both of these mistakes appear
	to be from code submitted after these changes were made previously.
2007-03-12 11:21:00 +00:00
Joel Sherrill
f870ea6476 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* au1x00/include/au1x00.h, au1x00/vectorisrs/maxvectors.c,
	au1x00/vectorisrs/vectorisrs.c: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:20:52 +00:00
Joel Sherrill
87e9f35467 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* mpc6xx/mmu/mmuAsm.S: Correct license URL and/or fix mistake in
	copyright notice. Both of these mistakes appear to be from code
	submitted after these changes were made previously.
2007-03-12 11:20:43 +00:00
Joel Sherrill
819a6cfd37 2007-03-12 Joel Sherrill <joel@OARcorp.com>
* score/src/heapallocatealigned.c: Correct license URL and/or fix
	mistake in copyright notice. Both of these mistakes appear to be from
	code submitted after these changes were made previously.
2007-03-12 11:20:27 +00:00
Joel Sherrill
805fe84653 2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1226/cpukit
	* user/conf.t: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
	CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
2007-03-10 16:16:58 +00:00
Joel Sherrill
91f9d891f8 2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1226/cpukit
	* sapi/include/confdefs.h: CONFIGURE_HAS_OWN_MULTIPROCESSING_TABLE not
	CONFIGURE_HAS_OWN_MULTIPROCESING_TABLE.
2007-03-10 16:16:44 +00:00
Joel Sherrill
eaff189842 2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
	* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
	MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2007-03-10 15:56:13 +00:00
Joel Sherrill
32ad50f234 2007-03-10 Joel Sherrill <joel@OARcorp.com>
PR 1227/bsps
	* include/bsp.h: Remove MAX_LONG_TEST_DURATION and
	MAX_SHORT_TEST_DURATION. They are obsolete and unused.
2007-03-10 15:29:55 +00:00
Joel Sherrill
ff5fefb47f 2007-03-05 Joel Sherrill <joel@OARcorp.com>
PR 1221/cpukit
	* posix/src/pthreadequal.c: Fix critical section nesting.
2007-03-05 20:53:27 +00:00
Joel Sherrill
81850181d2 2007-03-02 Joel Sherrill <joel@OARcorp.com>
PR 1221/doc
	* user/rtmon.t: Add missing exponent operator in RMS CPU Utilization
	formula.
2007-03-02 21:31:04 +00:00
Ralf Corsepius
7f14691e93 Use binutils_pkgvers instead of binutils_version in Source0. 2007-02-26 09:56:38 +00:00
Ralf Corsepius
a5f0d3f61c Add BINUTILS_PKGVERS. 2007-02-26 09:36:22 +00:00
Ralf Corsepius
9a4713cf6c Add GDB_PKGVERS. 2007-02-26 09:33:28 +00:00
Ralf Corsepius
76644b33c0 Add BINUTILS_PKGVERS. 2007-02-26 09:29:38 +00:00
Ralf Corsepius
f00a8c0269 Add GDB_PKGVERS. 2007-02-26 09:06:11 +00:00
Ralf Corsepius
2d4cbe1b53 Add BINUTILS_PKGVERS. 2007-02-26 09:04:17 +00:00
Ralf Corsepius
5868ea587a New. 2007-02-22 20:01:20 +00:00
Ralf Corsepius
a470832cc9 2007-02-22 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Move getpagesize.c to newlib-only
	  compiled files.
2007-02-22 15:25:56 +00:00
Ralf Corsepius
94ba66b8fe Rename stamp.export into stamp.export.$(rtems_tag)$(TAG_SUFFIX) 2007-02-22 13:13:25 +00:00
Ralf Corsepius
455dcb5f38 print $(rtems_tag)$(TAG_SUFFIX) into stamp.export 2007-02-22 13:10:39 +00:00
Ralf Corsepius
17eb63c085 Append TAG_SUFFIX to tarball name. 2007-02-22 13:07:51 +00:00
Ralf Corsepius
1721983ff0 2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use MKDIR_P instead of mkdir_p.
2007-02-22 12:23:20 +00:00
Ralf Corsepius
b276df4c5e 2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootloader/Makefile.am: Use MKDIR_P instead of mkdir_p.
2007-02-22 12:20:24 +00:00
Ralf Corsepius
07aa4683ce 2007-02-22 Ralf Corsépius <ralf.corsepius@rtems.org>
* wrapup/Makefile.am: Use MKDIR_P instead of mkdir_p.
2007-02-22 12:15:48 +00:00
Ralf Corsepius
b198ebf4d7 Sync. with rtems-4.8 2007-02-22 10:11:13 +00:00
Ralf Corsepius
5d27a7569d Sync. with rtems-4.8. 2007-02-22 09:35:25 +00:00
Joel Sherrill
8c5c2cce59 2007-02-21 Joel Sherrill <joel@OARcorp.com>
* loopback/init.c: Fix exit paths in client thread and main test
	thread.
2007-02-21 23:44:10 +00:00
Joel Sherrill
300f88948c 2007-02-21 Joel Sherrill <joel@OARcorp.com>
* Makefile.maint: Added TOOL_VERSIONS stanza and fixed typo.
2007-02-21 22:56:51 +00:00
Joel Sherrill
23ae7c19d6 Upgrade to 4.7.0 2007-02-21 22:26:20 +00:00
Ralf Corsepius
f0d9f1aa5b Use /opt/rtems-4.7/bin in $PATH 2007-02-21 18:34:06 +00:00
cvs2git
eb53864847 This commit was manufactured by cvs2svn to create branch 'rtems-4-7-branch'.
Cherrypick from master 2007-02-21 18:10:50 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Misc. hacks':
    Makefile.maint
    cpukit/libcsupport/src/getpagesize.c
2007-02-21 18:10:51 +00:00
Joel Sherrill
4075c6d02a 2007-02-21 Joel Sherrill <joel@OARcorp.com>
* score/src/coremsgsubmit.c: Use Wait.option to avoid cast.
2007-02-21 14:58:23 +00:00
Ralf Corsepius
66e86174ce Preps for gcc-4.1.2. 2007-02-20 05:41:00 +00:00
Ralf Corsepius
c24ad80131 Preps for gdb-6.6. 2007-02-20 05:11:19 +00:00
Ralf Corsepius
678a69e3c1 New (Identical to gdb-6.6-rtems4.8-20070218.diff). 2007-02-20 05:04:34 +00:00
Ralf Corsepius
f1df664d07 New (Identical to gcc-core-4.1.2-rtems4.8-20070216.diff) 2007-02-20 05:03:10 +00:00
Ralf Corsepius
2bdaba9e06 Add GCC_PGKVERS (Sync with rtems-4.8). 2007-02-20 04:52:47 +00:00
Ralf Corsepius
2fa1b3fa04 Sync with rtems-4.8. 2007-02-20 04:47:29 +00:00
Ralf Corsepius
0d0dec0515 Add GDB_OPTS 2007-02-20 04:37:50 +00:00
Ralf Corsepius
3f2171624f Increment BINUTILS_RPMREL 2007-02-19 06:03:42 +00:00
Ralf Corsepius
1f0c826d45 Cosmetics 2007-02-19 06:01:02 +00:00
Ralf Corsepius
187683fe47 2007-02-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Bump version to 0.5.
	* apt/sources.list.d/rtems.list.in,
	  yum.repos.d/rtems.repo.in: Add rtems/testing repos.
2007-02-19 04:58:25 +00:00
Ralf Corsepius
a93e0bb890 Sync. with rtems-4.8. 2007-02-18 12:45:31 +00:00
Ralf Corsepius
a9d7335809 Fix URL. 2007-02-17 07:12:04 +00:00
Ralf Corsepius
9ea253ec3c Add || : to install-info. 2007-02-17 07:03:24 +00:00
Ralf Corsepius
5870da5e69 Misc. backports from rtems-4.8 2007-02-17 06:56:06 +00:00
Ralf Corsepius
9b6ba91a44 Add ||: to install-info. 2007-02-17 06:51:47 +00:00
Ralf Corsepius
b5c3cf2e62 2007-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove shared/main.c.
2007-02-16 02:01:04 +00:00
Ralf Corsepius
62c4e35147 2007-02-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/Makefile.am: Correct path to README.tulipclone.
2007-02-16 01:51:38 +00:00
Ralf Corsepius
ae58a2a959 2007-02-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/Makefile.am: Cleanup.
2007-02-16 01:44:16 +00:00
Ralf Corsepius
473c7ac694 Sync with 4.8 2007-02-14 17:27:58 +00:00
Ralf Corsepius
28837e5a99 Bump RPMRELS. 2007-02-14 16:06:27 +00:00
Ralf Corsepius
8457b18892 Bump RPMRELS. 2007-02-14 16:04:14 +00:00
Ralf Corsepius
85a29993de Add ||: 2007-02-14 16:03:44 +00:00
Ralf Corsepius
edebdab588 Sync with rtems-4.8 2007-02-14 15:59:48 +00:00
Ralf Corsepius
a1ea247dee 2007-02-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* VERSION: sync with */version.m4.
2007-02-14 14:47:44 +00:00
Ralf Corsepius
038f3a7ed4 2007-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Check rtems/system.h instead of
	rtems/score/cpuopts.h.
2007-02-11 10:29:38 +00:00
Ralf Corsepius
8b98a1b4be 2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/include/rtems/score/heap.h, score/src/heap.c,
	score/src/heapallocatealigned.c, score/src/heapresizeblock.c:
	More size_t for heap-sizes.
2007-02-11 08:37:19 +00:00
Ralf Corsepius
2e47f4ab55 More size_t for heap-sizes. 2007-02-11 08:36:59 +00:00
Ralf Corsepius
2aa472c1f8 2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/include/rtems/score/heap.h, score/src/heap.c,
	score/src/heapallocate.c, score/src/heapextend.c: Use size_t for
	heap-sizes.
2007-02-11 04:53:18 +00:00
Ralf Corsepius
fbbfad9a8b Use size_t for heap-sizes. 2007-02-11 04:52:59 +00:00
Ralf Corsepius
832310a7b2 2007-02-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/resolv.h: Typo fixes. Remove __P().
2007-02-11 04:48:09 +00:00
Ralf Corsepius
039cc452ee 2007-02-09 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/tasks.h, rtems/src/taskcreate.c:
	Use size_t for stack-sizes.
2007-02-09 15:08:18 +00:00
Ralf Corsepius
9f9412cc16 Use size_t for stack-sizes. 2007-02-09 15:08:06 +00:00
Eric Norum
100673c8dd Fixed FPGA interrupt handling. 2007-02-08 19:10:18 +00:00
Ralf Corsepius
1f9f1dc50d Upgrade to newlib-1.15.0-rtems4.7-20070208.diff 2007-02-08 10:43:18 +00:00
Ralf Corsepius
7a771dbd70 Remove (Obsolete). 2007-02-08 10:41:37 +00:00
Ralf Corsepius
74829f7ece Bump GCC_RPMREL. 2007-02-08 10:40:31 +00:00
Ralf Corsepius
0de60d6de5 New. 2007-02-08 10:38:29 +00:00
Ralf Corsepius
356914bb0d 2007-02-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/vm/vm_extern.h: Remove non-implemented/unused
	  functions.
2007-02-07 04:37:31 +00:00
Till Straumann
4a2fee4771 2007-02-06 Till Straumann <strauman@slac.stanford.edu>
* libcsupport/src/gxx_wrappers.c: fix PR#690. Supply
	taskvar dtor to plug memory leak. Applied patch attached
	to PR#690.
2007-02-06 22:54:34 +00:00
Joel Sherrill
edffc8ed24 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* tm09/task1.c, tm10/task1.c, tm11/task1.c, tm12/task1.c, tm13/task1.c,
	tm14/task1.c, tm22/task1.c: Address size_t/uint32_t typing issues in
	message queue tests.
2007-02-06 19:14:56 +00:00
Joel Sherrill
3da8388977 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* sp09/screen07.c, sp09/task3.c, sp13/task1.c, sp13/task2.c,
	sp13/task3.c: Address size_t/uint32_t typing issues in message queue
	tests.
2007-02-06 19:14:54 +00:00
Joel Sherrill
809d2a6a30 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* rtems++/Task1.cc, rtems++/Task3.cc: Address size_t/uint32_t typing
	issues in message queue tests.
2007-02-06 19:14:51 +00:00
Joel Sherrill
822c35d907 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* itronmbf01/init.c: Address size_t/uint32_t typing issues in message
	queue tests.
2007-02-06 19:14:48 +00:00
Ralf Corsepius
1c43ddfa1d 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* smc/smc.c: include bspIo.h for printk.
2007-02-06 18:23:51 +00:00
Ralf Corsepius
ead7d3a8e5 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c: Remove superfluous type casts.
2007-02-06 17:46:47 +00:00
Joel Sherrill
9babd25503 2007-02-06 Joel Sherrill <joel@OARcorp.com>
* include/rtems++/rtemsMessageQueue.h, src/rtemsMessageQueue.cc: Make
	compile by using size_t and uint32_t where appropriate.
2007-02-06 16:42:33 +00:00
Ralf Corsepius
402bdc31ed 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpagesize.c: New (moved from posix/src).
	* posix/src/getpagesize.c: Removed.
	* posix/Makefile.am: Remove references to getpagesize.c.
	* libcsupport/Makefile.am: Add getpagesize.c.
2007-02-06 14:51:02 +00:00
Ralf Corsepius
a725f7e641 Removed. 2007-02-06 14:50:39 +00:00
Ralf Corsepius
70b76b22fc Remove references to getpagesize.c. 2007-02-06 14:50:05 +00:00
Ralf Corsepius
7a019b4160 Add getpagesize.c. 2007-02-06 14:49:49 +00:00
Ralf Corsepius
451b8870fe 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/sysconf.c: Add support for _SC_PAGESIZE (PR 1215).
2007-02-06 14:35:31 +00:00
Ralf Corsepius
f8ed4e0f00 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/coremsg.inl: More size_t and consts.
2007-02-06 13:43:20 +00:00
Ralf Corsepius
f41002fa1b 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/msgqsend.c: Use size_t for sizes.
	* rtems/src/msgqurgent.c: Use size_t for sizes.
2007-02-06 11:29:21 +00:00
Ralf Corsepius
dc2afc8064 Use size_t for sizes. 2007-02-06 11:28:41 +00:00
Ralf Corsepius
dbc684c55c 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* vmeUniverse/vmeUniverse.c: Use size_t for sizes.
2007-02-06 10:49:11 +00:00
Ralf Corsepius
18123fe76b 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/ide/ata.c, libchip/network/elnk.c, optman/rtems/no-msg.c:
	Use size_t for sizes.
2007-02-06 10:32:29 +00:00
Ralf Corsepius
fffe6a769c Use size_t for sizes. 2007-02-06 10:31:18 +00:00
Ralf Corsepius
12d9b1b33c Use size_t for sizes. 2007-02-06 10:24:14 +00:00
Ralf Corsepius
2cd0ae2aa5 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/msgqbroadcast.c: Use size_t for sizes.
	* rtems/src/msgmp.c: Use size_t for sizes.
	* rtems/src/msgqsubmit.c: Use size_t for sizes.
	* rtems/include/rtems/rtems/msgmp.h: Use size_t for sizes.
	* rtems/include/rtems/rtems/message.h: Use size_t for sizes.
	* score/inline/rtems/score/coremsg.inl: Use size_t for sizes.
2007-02-06 08:59:14 +00:00
Ralf Corsepius
8645c01c7a Use size_t for sizes. 2007-02-06 08:58:42 +00:00
Ralf Corsepius
f75461df63 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* shmsupp/getcfg.c: Replace rtems_unsigned32 with uint32_t.
2007-02-06 08:41:37 +00:00
Ralf Corsepius
d41ed94f16 Use size_t for sizes. 2007-02-06 05:58:05 +00:00
Ralf Corsepius
de4620c42d 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* itron/src/trcv_mbf.c: Use size_t for sizes.
	* libmisc/monitor/mon-object.c: Use size_t for sizes.
	* libmisc/monitor/mon-server.c: Use size_t for sizes.
	* libmisc/monitor/monitor.h: Use size_t for sizes.
	* libmisc/mw-fb/mw_uid.c: Use size_t for sizes.
2007-02-06 05:57:57 +00:00
Ralf Corsepius
edf59e7b66 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/message.h: Use size_t for sizes.
2007-02-06 05:19:00 +00:00
Ralf Corsepius
6a53cda9fe Use size_t for sizes. 2007-02-06 05:18:50 +00:00
Ralf Corsepius
81ab02ceff 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/msgqreceive.c: Use size_t for sizes.
	* posix/src/mqueuerecvsupp.c: Use size_t for sizes.
2007-02-06 04:47:41 +00:00
Ralf Corsepius
e5b095c404 Use size_t for sizes. 2007-02-06 04:47:06 +00:00
Ralf Corsepius
4bbec0cada 2007-02-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/coremsgseize.c: Use size_t for sizes.
2007-02-06 03:51:51 +00:00
Ralf Corsepius
c0452f3b6e Use size_t for sizes. 2007-02-06 03:51:41 +00:00
Ralf Corsepius
6e5da27234 Use size_t for sizes. 2007-02-05 18:06:40 +00:00
Ralf Corsepius
9d3e9405ef 2007-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/mqueue.h: Use size_t for sizes.
	* posix/src/mqueuesendsupp.c: Use size_t for sizes.
2007-02-05 18:06:33 +00:00
Ralf Corsepius
bd025c218a Use size_t for sizes. 2007-02-05 15:36:34 +00:00
Ralf Corsepius
beec7fde8e 2007-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/score/coremsg.h: Use size_t for sizes.
	* score/src/coremsgbroadcast.c: Use size_t for sizes.
	* score/src/coremsgsubmit.c: Use size_t for sizes.
2007-02-05 15:36:29 +00:00
Eric Norum
33fc4f65ab Enable RTS/CTS flow-control pins. 2007-02-05 15:27:26 +00:00
Eric Norum
037d938a84 Always assert RTS* (if flow control is on it will override). 2007-02-02 22:30:44 +00:00
Ralf Corsepius
118823ba84 2007-01-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/show_bdbuf.c: Use inttypes.h macros.
2007-01-30 07:58:24 +00:00
Till Straumann
985082dff2 2007-01-29 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/README.porting, vmeUniverse/README.universe:
	updated, added more information for BSP implementors.

	* vmeUniverse/VMEDMA.h (added): VME DMA API definition.

	* vmeUniverse/bspVmeDmaList.h (added), vmeUniverse/bspVmeDmaListP.h (added),
	* vmeUniverse/bspVmeDmaList.c (added):
	Driver-independent code for linked-list DMA (public + private headers,
	implementation).

	* vmeUniverse/vmeUniverseDMA.h (added), vmeUniverse/vmeTsi148DMA.h (added):
	interface to new DMA features of drivers.

	* vmeUniverse/vme_amd_defs.h: Added definition for data-width
	hint bits (VME_MODE_DBWxx).


	* vmeUniverse/vmeTsi148.c: added DMA support. Added support for
	data-width hint/modifier bits.

	* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h:
	Added support for data-width hint/modifier bits.
	Added support for xxx_BLT, xxx_MBLT address modifiers.
	Restrict DBW to 32 in non-MBLT modes (except single-beat;
	a comment is in README.universe). Updated DMA support to
	implement new VMEDMA.h API. Added support for non-incrementing
	VME addresses. Restrict data width to 32 for single-beat AMs
	when the universe would use MBLT for DMA.
2007-01-30 07:30:12 +00:00
Till Straumann
018eb73f2f 2007-01-29 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/VMEConfig.h:
	Added more comments about the semantics of the various
	symbols BSPs should define in this file.
	Removed declarations of BSP_VMEInit(), BSP_VMEIrqMgrInstall().

	* shared/vme/vmeconfig.c: declare BSP_VMEInit(),
	BSP_VMEIrqMgrInstall() here.

	* Makefile.am, shared/vme/README,
	* shared/vme/vme_universe_dma.c (added): Added glue code
	implementing the VMEDMA.h API using the vmeUniverse driver.
2007-01-30 07:12:39 +00:00
Till Straumann
6350aa2ff1 2007-01-29 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am,
	* vme/vmeconfig.c (removed), vme/VMEConfig.h (added):
	cleaned up vme support - use files from libbsp/powerpc/shared/vme
	and define BSP specifica in VMEConfig.h.
	Use VME DMA support implemented by vmeUniverse and
	libbsp/powerpc/shared/vme/vme_universe_dma.c

	* irq/irq.c, include/gen2.h:
	removed _BSP_vme_bridge_irq variable and BSP_PIC_DO_EOI definition.
	Support for VME IRQ software priorities was incomplete/incorrect
	on this BSP.
2007-01-30 07:01:29 +00:00
Till Straumann
55f2643fcd * Makefile.am, preinstall.am, include/bsp.h:
Use VME DMA support implemented by vmeUniverse and
	libbsp/powerpc/shared/vme/vme_universe_dma.c
	Added explanation for use of BSP_PIC_DO_EOI by
	BSP implementors who derive from this 'include/bsp.h'.
2007-01-30 06:56:24 +00:00
Till Straumann
8f287557c6 * Makefile.am, preinstall.am, include/bsp.h,
* vme/vmeconfig.c (removed), vme/VMEConfig.h (added):
	cleaned up vme support - use files from libbsp/powerpc/shared/vme
	and define BSP specifica in VMEConfig.h.
	Use VME DMA support implemented by vmeUniverse and
	libbsp/powerpc/shared/vme/vme_universe_dma.c
2007-01-30 06:53:10 +00:00
Till Straumann
dbffeacdc1 * Makefile.am, preinstall.am, include/bsp.h,
* vme/vmeconfig.c (removed), vme/VME.h (removed):
	cleaned up vme support - use files from libbsp/powerpc/shared/vme
	and define BSP specifica in VMEConfig.h.
	Use VME DMA support implemented by vmeUniverse and
	libbsp/powerpc/shared/vme/vme_universe_dma.c
2007-01-30 06:50:00 +00:00
Till Straumann
ff3a16d591 * Makefile.am:
added new files in shared/vmeUniverse to EXTRA_DIST
2007-01-30 06:38:22 +00:00
Ralf Corsepius
fa9ed825ef 2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/MVME5500I2C.c: Eliminate u32.
2007-01-29 05:29:12 +00:00
Ralf Corsepius
59b95d9869 2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* GT64260/MVME5500I2C.c, pci/pci.c: Eliminate unchar.
2007-01-29 05:25:59 +00:00
Ralf Corsepius
5ea0caad27 2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mw-fb/mw_fb.h: Eliminate __u32, __u16.
2007-01-29 04:45:29 +00:00
Ralf Corsepius
5f477772d3 2007-01-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/fb_vga.c: Eliminate __u16, __u32.
2007-01-29 04:44:39 +00:00
Ralf Corsepius
874a8571e7 Remove. 2007-01-28 06:16:14 +00:00
Ralf Corsepius
8deda62402 2007-01-28 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbyht.c: Remove warning on unused vars.
	Remove isblank (supposed to be provided by libc).
2007-01-28 03:58:10 +00:00
Ralf Corsepius
7c0f1d4bc2 2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/show_bdbuf.c: Convert from DOS to UNIX.
2007-01-27 18:21:05 +00:00
Ralf Corsepius
e979fc841f Fix typos. 2007-01-27 07:29:30 +00:00
Ralf Corsepius
2e908e6b78 2007-01-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/include/rtems/system.h: Remove __RTEMS_MAJOR__,
	 __RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
	* configure.ac: Dynamically derive __ __RTEMS_MAJOR__,
	__RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
	Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2007-01-27 07:28:06 +00:00
Ralf Corsepius
4b3a3e1d26 Remove __RTEMS_MAJOR__,
__RTEMS_MINOR__, __RTEMS_REVISION__ (moved to cpuopt.h).
2007-01-27 07:27:52 +00:00
Ralf Corsepius
51405b94e8 Dynamically derive __ __RTEMS_MAJOR__,
__RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2007-01-27 07:27:41 +00:00
Ralf Corsepius
7246b0c9b1 Cosmetics. 2007-01-26 06:18:49 +00:00
Thomas Doerfler
4de554eb10 fixed typo in console/console.c 2007-01-24 13:04:23 +00:00
Joel Sherrill
0b7edb75f3 Formatting. 2007-01-23 16:49:11 +00:00
Joel Sherrill
14c7716c49 Formatting. 2007-01-22 23:02:45 +00:00
Eric Norum
1bf40dc84c Add capability to lock at 10-half.
Expand report to include auto/fixed status
2007-01-22 16:55:23 +00:00
Till Straumann
ce4f46651f 2007-01-19 Till Straumann <strauman@slac.stanford.edu>
* mvme5500/Makefile.am, mvme5500/preinstall.am,
	* mvme5500/vme/VME.h, mvme5500/vme/VMEConfig.h,
	* mvme5500/vme/vmeconfig.c:
	removed copies of vmeconfig.c, VME.h - use generic
	versions instead.
2007-01-19 20:45:24 +00:00
Till Straumann
8b77bd8f70 *** empty log message *** 2007-01-19 20:41:52 +00:00
Till Straumann
5a33479a64 2007-01-19 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am:
	moved VME.h from libbsp/powerpc/shared/vme to
	libbsp/shared/vmeUniverse; eventually, this (and other)
	VME API headers should migrate to cpukit.
2007-01-19 20:40:12 +00:00
Till Straumann
af2898d78c 2007-01-19 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am:
	moved VME.h from libbsp/powerpc/shared/vme to
	libbsp/shared/vmeUniverse; eventually, this (and other)
	VME API headers should migrate to cpukit.
2007-01-19 20:32:43 +00:00
Ralf Corsepius
280e1863ff 2007-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/Cygwin-posix.cfg, custom/FreeBSD-posix.cfg,
	custom/HPUX9-posix.cfg, custom/Linux-posix.cfg,
	custom/Solaris-posix.cfg, custom/armulator.cfg, custom/av5282.cfg,
	custom/bare.cfg, custom/csb336.cfg, custom/csb360.cfg,
	custom/dmv152.cfg, custom/edb7312.cfg, custom/ep1a.cfg,
	custom/erc32.cfg, custom/erc32nfp.cfg, custom/gba.cfg,
	custom/gen405.cfg, custom/gen5200.cfg, custom/gen68302.cfg,
	custom/gen68340.cfg, custom/gen68360.cfg, custom/gensh1.cfg,
	custom/gensh2.cfg, custom/gensh4.cfg, custom/gp32.cfg,
	custom/h8sim.cfg, custom/helas403.cfg, custom/hurricane.cfg,
	custom/i386ex.cfg, custom/idp.cfg, custom/jmr3904.cfg,
	custom/leon2.cfg, custom/leon3.cfg, custom/mbx821_002b.cfg,
	custom/mbx8xx.cfg, custom/mcf5206elite.cfg, custom/mcf5235.cfg,
	custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mrm332.cfg,
	custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg,
	custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg,
	custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme5500.cfg,
	custom/ods68302.cfg, custom/pc386.cfg, custom/psim.cfg,
	custom/rbtx4925.cfg, custom/score603e.cfg, custom/sim68000.cfg,
	custom/simcpu32.cfg, custom/simsh4.cfg, custom/simsh7032.cfg,
	custom/simsh7045.cfg, custom/ss555.cfg, custom/ts_386ex.cfg: Add -g
	to CFLAGS_OPTIMIZE_V.
2007-01-18 11:27:17 +00:00
Ralf Corsepius
2f6b417eb6 Add -g to CFLAGS_OPTIMIZE_V. 2007-01-18 11:27:07 +00:00
Ralf Corsepius
596629a20d 2007-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/gensh1.cfg, custom/gensh2.cfg, custom/gensh4.cfg,
	custom/hurricane.cfg, custom/rbtx4925.cfg, custom/simsh4.cfg:
	Use $(NM) -g -n instead of $(NM) -n.
2007-01-18 10:21:37 +00:00
Ralf Corsepius
ee8282993f Use $(NM) -g -n instead of $(NM) -n. 2007-01-18 10:21:00 +00:00
Ralf Corsepius
5ef125f5f3 2007-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/Cygwin-posix.cfg, custom/FreeBSD-posix.cfg,
	custom/HPUX9-posix.cfg, custom/Linux-posix.cfg,
	custom/Solaris-posix.cfg: Use $(NM) -g -n instead of $(NM) -ng.
2007-01-18 10:13:59 +00:00
Ralf Corsepius
4cb2634458 Use $(NM) -g -n instead of $(NM) -ng. 2007-01-18 10:13:41 +00:00
Ralf Corsepius
0a4d609ff7 2007-01-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/Linux-posix.cfg, custom/Solaris-posix.cfg,
	custom/armulator.cfg, custom/av5282.cfg, custom/bare.cfg,
	custom/brs5l.cfg, custom/csb336.cfg, custom/csb337.cfg,
	custom/csb350.cfg, custom/csb360.cfg, custom/dmv152.cfg,
	custom/edb7312.cfg, custom/ep1a.cfg, custom/erc32.cfg,
	custom/erc32nfp.cfg, custom/gba.cfg, custom/gen405.cfg,
	custom/gen5200.cfg, custom/gen68302.cfg, custom/gen68340.cfg,
	custom/gen68360.cfg, custom/genmongoosev.cfg, custom/gensh1.cfg,
	custom/gensh2.cfg, custom/gensh4.cfg, custom/gp32.cfg,
	custom/h8sim.cfg, custom/helas403.cfg, custom/hurricane.cfg,
	custom/i386ex.cfg, custom/idp.cfg, custom/jmr3904.cfg,
	custom/leon2.cfg, custom/leon3.cfg, custom/mbx821_002b.cfg,
	custom/mbx8xx.cfg, custom/mcf5206elite.cfg, custom/mcf5235.cfg,
	custom/mcp750.cfg, custom/mpc8260ads.cfg, custom/mrm332.cfg,
	custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg,
	custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg,
	custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme5500.cfg,
	custom/no_bsp.cfg, custom/ods68302.cfg, custom/pc386.cfg,
	custom/pc386dx.cfg, custom/pc486.cfg, custom/pc586.cfg,
	custom/pc686.cfg, custom/pck6.cfg, custom/psim.cfg,
	custom/rbtx4925.cfg, custom/rbtx4938.cfg, custom/score603e.cfg,
	custom/shsim.cfg, custom/sim68000.cfg, custom/simcpu32.cfg,
	custom/simsh4.cfg, custom/simsh7032.cfg, custom/simsh7045.cfg,
	custom/ss555.cfg, custom/ts_386ex.cfg, custom/uC5282.cfg: Backport
	various changes from CVS-HEAD.
2007-01-18 08:41:17 +00:00
Ralf Corsepius
32fe9962f1 Backport various changes from CVS-HEAD. 2007-01-18 08:41:06 +00:00
Joel Sherrill
ea7e978df6 Fixed spacing. 2007-01-17 14:17:34 +00:00
Till Straumann
bef8b92b57 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* vmeUniverse/vmeTsi148.c, vmeUniverse/vmeTsi148.h,
	* vmeUniverse/vmeUniverse.c, vmeUniverse/vmeUniverse.h,
	* vmeUniverse/vme_am_defs.h:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 06:30:23 +00:00
Till Straumann
29f73d3ed3 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* libi2c/libi2c.c, libi2c/libi2c.h:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 06:18:30 +00:00
Till Straumann
37b9679238 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/rtems/rtems_mii_ioctl.c,
	* libnetworking/rtems/rtems_mii_ioctl.h,
	* libnetworking/rtems/rtems_mii_ioctl_kern.c:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 06:12:56 +00:00
Till Straumann
0945123ecd 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* libchip/i2c/i2c-2b-eeprom.c, libchip/i2c/i2c-2b-eeprom.h,
	* libchip/i2c/i2c-ds1621.c, libchip/i2c/i2c-ds1621.h:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 06:02:41 +00:00
Till Straumann
4712cdcc8d 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/pte121.h, mpc6xx/mmu/pte121.c:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-17 05:55:45 +00:00
Till Straumann
88fcc6d45a * acinclude.m4: reverted erroneous addition of 'beatnik' subdir. 2007-01-17 05:41:51 +00:00
Till Straumann
2b0a037051 2007-01-16 Till Straumann <strauman@slac.stanford.edu>
* ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c,
	* mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h,
	* mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h,
	* mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c,
	* shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c,
	* shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h,
	* shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c:
	Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
2007-01-16 23:09:50 +00:00
Ralf Corsepius
a4d1521f1c Replace nosrc.rpm with src.rpm 2007-01-15 09:51:09 +00:00
Ralf Corsepius
7a2746b7ad 2007-01-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* common/rtems.texi.in: Use bugzilla for RTEMSBUGS.
	Remove RTEMSGNATS.
2007-01-15 09:15:14 +00:00
Ralf Corsepius
c8d34d7e8e More tweaks. 2007-01-15 08:41:05 +00:00
Ralf Corsepius
9627be9c99 More tweaks. 2007-01-15 08:24:52 +00:00
Ralf Corsepius
5477a89a90 Update. 2007-01-15 07:29:21 +00:00
Ralf Corsepius
cf56606a5d 2007-01-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* started/binaries.t, started/buildc.t, started/tversions.texi.in:
	Various update to reflect current toolchains.
2007-01-15 07:28:29 +00:00
Ralf Corsepius
ab355bbc26 2007-01-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Reflect having moved setup.def.
	Eliminate gcc3*.
2007-01-15 07:24:01 +00:00
Ralf Corsepius
07beb83275 2007-01-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* setup.def: New (Formerly in ../scripts).
2007-01-15 03:38:04 +00:00
cvs2git
cbc4f7aae5 This commit was manufactured by cvs2svn to create branch 'rtems-4-7-branch'.
Cherrypick from master 2007-01-15 03:35:24 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New (Formerly in ../scripts).':
    doc/setup.def
2007-01-15 03:35:25 +00:00
Ralf Corsepius
7812763ae1 New. 2007-01-12 14:49:41 +00:00
Ralf Corsepius
51233fd379 Upgrade to gcc-core-4.1.1-rtems4.7-20070102.diff 2007-01-12 14:45:27 +00:00
Ralf Corsepius
769cf2e06c Bump GCC_RPMREL = 6 2007-01-12 10:58:53 +00:00
Ralf Corsepius
a6ad5c52bf Upgrade to newlib-1.15.0 2007-01-12 10:45:35 +00:00
Ralf Corsepius
c0475f9dd6 Add newlib-1.15.0 support. 2007-01-12 10:36:43 +00:00
Ralf Corsepius
a420327cc2 New. 2007-01-12 10:33:47 +00:00
Ralf Corsepius
5af0411f45 Add BINUTILS += 2007-01-12 09:18:53 +00:00
Ralf Corsepius
e7f218dc78 Add BINUTILS_OPTS. 2007-01-12 09:17:05 +00:00
Joel Sherrill
ca3bacb0f9 2007-01-11 Joel Sherrill <joel@OARcorp.com>
* score/macros/rtems/score/object.inl: Fix macro implementation so it
	compiles in single processor configuration.
2007-01-11 22:28:53 +00:00
Thomas Doerfler
5299575cc3 added missing file libblock/src/show_bdbuf.c 2007-01-10 14:25:25 +00:00
Ralf Corsepius
ace2542c00 Update bugfix address 2007-01-10 06:33:50 +00:00
Ralf Corsepius
629a296ac9 AC_PREREQ(2.60) 2007-01-08 16:51:11 +00:00
Ralf Corsepius
0b04b30803 2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* acinclude.m4, configure.ac: AC_PREREQ(2.60).
2007-01-08 16:50:58 +00:00
Ralf Corsepius
47f295390f Regenerate. 2007-01-08 08:43:45 +00:00
Ralf Corsepius
87caabefe1 2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* ampolish3: Use MKDIR_P instead of mkdir_p.
2007-01-08 08:40:51 +00:00
Ralf Corsepius
fee0dc4d2f 2007-01-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove scripts/.
2007-01-08 08:36:31 +00:00
Ralf Corsepius
c624ce8908 Remove (Obsolete). 2007-01-08 08:24:50 +00:00
Ralf Corsepius
326e457ca5 2007-01-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h: s/aoi_lio_opcode/aio_lio_opcode/
	(BZ 1203).
2007-01-02 06:35:51 +00:00
Joel Sherrill
3f933c9b91 2006-12-20 Joel Sherrill <joel@OARcorp.com>
* posix_users/thread.t: Correct spelling error.
2006-12-20 21:14:46 +00:00
Till Straumann
7e278aa202 * startup/bspstart.c: Changed BSP_installVME_isr() so that
the special handling of a 'FPGA interrupt' [this FPGA is *not*
	present on the uC5282 module but is externally connected to
	IRQ1 on Eric Norum's particular 'motherboard'] is only
	activated when connecting to the special vectors > 192.
	The change allows us ordinary users [:-)] to use IRQ1
	normally, simply by connecting an ISR to vector 64+1...
	Also, BSP_enable_irq_at_pic(), BSP_disable_irq_at_pic(),
	BSP_irq_is_enabled_at_pic() were introduced (compat. with
	some PPC BSPs).
2006-12-18 22:21:19 +00:00
Thomas Doerfler
36cb812bbc corrected bug in ata.c to avoid lockup of libblock
added remote frequest support to gen5200 BSP
2006-12-18 09:46:59 +00:00
Till Straumann
d761931ed0 2006-12-14 Till Straumann <strauman@slac.stanford.edu>
* m68k/mcf5282/include/mcf5282.h: fixed wrong value
	of MCF5282_QSPI_QDLYR_SPE.
2006-12-14 23:09:11 +00:00
Joel Sherrill
c8f69360bc Fixed comment -- must be less than 80 characters wide. 2006-12-14 12:24:44 +00:00
Till Straumann
61d5ec9714 2006-12-13 Till Straumann <strauman@slac.stanford.edu>
* mvme5500/Makefile.am, mvme5500/preinstall.am:
	need to install bsp/vme_am_defs.h
2006-12-13 21:56:13 +00:00
Till Straumann
3fadd7a8a0 * oops - had worked on the wrong file. Reverted changes... 2006-12-13 21:08:44 +00:00
Till Straumann
138b8893ca * ChangeLog: fixed date of TS' last entry. 2006-12-13 21:03:50 +00:00
Till Straumann
93cd2c6efe 2006-12-13 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c, shared/vme/vme_universe.c:
	use symbolic flag instead of numerical value
	(vmeUniverseInstallIrqMgrAlt()). Define __INSIDE_RTEMS_BSP__
	before including <bsp/vmeUniverse.h>
2006-12-13 20:48:37 +00:00
Till Straumann
a175c1fb77 * vmeUniverse/vme_am_defs.h: Added address modifiers for 2eVME. Added
flags for 2eSST and DBW16.

	* vmeUniverse/vmeUniverse.h: Removed AM definitions and include vme_am_defs.h
	instead. Declare new routine vmeUniverseMapCRG(). Export 'irq manager' API
	only if __INSIDE_RTEMS_BSP__ defined. Renamed 'shared' argument to
	vmeUniverseInstallIrqMgrAlt() to 'flags' since now more options are available.
	Added new flag to install 'posted-write' workaround.

	* vmeUniverse/vmeUniverse.c: Allow BSP to override BSP_PCI2LOCAL_ADDR()
	macro. Data width of outbound port can now be restricted to 16-bit
	(if new DBW16 flag set in address modifier). Added vmeUniverseMapCRG()
	for mapping local registers onto VME. Interrupt manager now implements
	a workaround (enabled at installation time) which flushes the write-fifo
	after user ISR returns. This requires the universe's registers to be
	accessible from VME (either CSR space or CRG mapped to A16/A24/A32),
	though.

	* vmeUniverse/vmeTsi148.h: vmeTsi148ClearVMEBusErrors() now returns
	the fault address as a 32-bit address (not ulonglong anymore). The
	driver only supports 32-bit addresses. Declare new routine vmeTsi148MapCRG().
	Export 'irq manager' API only if __INSIDE_RTEMS_BSP__ defined.
	Renamed 'shared' argument to vmeTsi148InstallIrqMgrAlt() to 'flags'
	to allow more options to be supported. Added comments explaining the
	'posted-write' workaround implemented by the interrupt manager.

	* vmeUniverse/vmeTsi148.c: Clear 'SYSFAIL' during initialization.
	Allow BSP to override BSP_PCI2LOCAL_ADDR() macro. Added support for
	2eSST when configuring windows (untested - I have no 2eSST).
	Added vmeTsi148MapCRG() for mapping local registers onto VME.
	Implemented 'posted-write' workaround for interrupt manager
	(consult source for details).
2006-12-13 20:39:29 +00:00
Joel Sherrill
31cd77864b 2006-12-13 Joel Sherrill <joel@OARcorp.com>
PR 1181/bsps
	* optman/rtems/no-msg.c: Clean up dead code.
2006-12-13 14:49:38 +00:00
Joel Sherrill
70443fbbdf 2006-12-13 Alexey Shamrin <shamrin@gmail.com>
PR 1189/bsps
	* console/outch.c: If you print a character with the code larger than
	127 (extended ASCII) to the VGA console, then it blinks. The reason:
	char == signed char, so such characters get represented by negative
	numbers. The sign bit then goes to attribute byte, resulting in the
	blinking.
2006-12-13 12:35:28 +00:00
Ralf Corsepius
6ac4774dd7 2006-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: Use am_aux_dir/ampolish3.
2006-12-13 05:39:46 +00:00
Ralf Corsepius
8bcd65b292 Use am_aux_dir/ampolish3. 2006-12-13 05:37:15 +00:00
Ralf Corsepius
640495db3a Fix ugly typos. 2006-12-13 02:52:34 +00:00
Ralf Corsepius
086917ba30 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: Require AM_MAINTAINER_MODE.
	* aclocal/rtems-top.m4: Remove RTEMS_AMPOLISH.
	* aclocal/project-root.m4: Require RTEMS_AMPOLISH.
2006-12-13 02:26:56 +00:00
Ralf Corsepius
4a81293451 Require RTEMS_AMPOLISH. 2006-12-13 02:26:16 +00:00
Ralf Corsepius
38d74a3f85 Remove RTEMS_AMPOLISH. 2006-12-13 02:26:00 +00:00
Ralf Corsepius
7a1d233117 Require AM_MAINTAINER_MODE. 2006-12-13 02:25:42 +00:00
Ralf Corsepius
f65c7eb304 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: Require AM_MAINTAINER_MODE.
	* aclocal/rtems-top.m4: Remove RTEMS_AMPOLISH.
	* configure.ac: Add RTEMS_AMPOLISH.
2006-12-12 16:45:39 +00:00
Ralf Corsepius
5054b0a917 Add RTEMS_AMPOLISH. 2006-12-12 16:44:53 +00:00
Ralf Corsepius
b02783fefd Require AM_MAINTAINER_MODE. 2006-12-12 16:44:41 +00:00
Ralf Corsepius
5a89374297 Remove RTEMS_AMPOLISH. 2006-12-12 16:44:26 +00:00
Ralf Corsepius
80e88f244a 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_glue.c: Remove local
	extern strdup.
2006-12-08 09:11:24 +00:00
Ralf Corsepius
1f01d5d7a6 Remove local extern strdup. 2006-12-08 09:11:05 +00:00
Ralf Corsepius
890c768e9e 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h, libcsupport/src/read.c,
	libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/imfs/deviceio.c,
	libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/memfile.c, libnetworking/lib/ftpfs.c,
	libnetworking/lib/tftpDriver.c, libnetworking/rtems/rtems_syscall.c:
	Use size_t instead of uint32_t for read/write count-args.
2006-12-08 07:24:05 +00:00
Ralf Corsepius
9e5d4952d5 Use size_t instead of uint32_t ad/write count-args. 2006-12-08 07:23:00 +00:00
Ralf Corsepius
1e65741d06 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/timerserverfirewhen.c: Remove local
	extern _Timer_Seconds_chain.
	* rtems/src/timerserverfireafter.c: Remove local
	extern _Timer_Ticks_chain.
2006-12-08 06:55:47 +00:00
Ralf Corsepius
1b7c831311 Remove local extern _Timer_Ticks_chain. 2006-12-08 06:55:20 +00:00
Ralf Corsepius
c0527a2d7b Remove local extern _Timer_Seconds_chain. 2006-12-08 06:55:04 +00:00
Ralf Corsepius
52781f4777 2006-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/chain.inl: Add const qualifiers (works
	  around 651 aliasing bugs).
2006-12-04 14:46:11 +00:00
Ralf Corsepius
4b1756466e Backport from HEAD 2006-12-04 14:43:58 +00:00
Ralf Corsepius
9d7508e4f6 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:10:26 +00:00
Ralf Corsepius
5d91bedec0 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:09:45 +00:00
Ralf Corsepius
997c921551 Cleanup (Backport from HEAD). 2006-11-30 06:58:56 +00:00
Ralf Corsepius
3153d3f17c 2006-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/Cygwin-posix.cfg, custom/FreeBSD-posix.cfg,
	custom/HPUX9-posix.cfg, custom/Linux-posix.cfg
	custom/Solaris-posix.cfg, custom/armulator.cfg
	custom/bare.cfg, custom/csb336.cfg
	custom/csb337.cfg, custom/csb350.cfg
	custom/dmv152.cfg, custom/edb7312.cfg
	custom/ep1a.cfg, custom/erc32.cfg
	custom/erc32nfp.cfg, custom/gba.cfg
	custom/gen405.cfg, custom/gen5200.cfg
	custom/gen68302.cfg, custom/gen68340.cfg
	custom/gen68360.cfg, custom/genmongoosev.cfg
	custom/gensh1.cfg, custom/gensh2.cfg
	custom/gensh4.cfg, custom/gp32.cfg
	custom/h8sim.cfg, custom/helas403.cfg
	custom/hurricane.cfg, custom/i386ex.cfg
	custom/idp.cfg, custom/jmr3904.cfg
	custom/leon2.cfg, custom/leon3.cfg
	custom/mbx821_002b.cfg, custom/mbx8xx.cfg
	custom/mcp750.cfg, custom/mpc8260ads.cfg
	custom/mrm332.cfg, custom/mtx603e.cfg
	custom/mvme136.cfg, custom/mvme147.cfg
	custom/mvme162.cfg, custom/mvme162lx.cfg
	custom/mvme167.cfg, custom/mvme2100.cfg
	custom/mvme2307.cfg, custom/mvme5500.cfg
	custom/ods68302.cfg, custom/pc386.cfg
	custom/psim.cfg, custom/rbtx4925.cfg
	custom/rbtx4938.cfg, custom/score603e.cfg
	custom/shsim.cfg, custom/sim68000.cfg
	custom/simcpu32.cfg, custom/simsh4.cfg
	custom/simsh7032.cfg, custom/simsh7045.cfg
	custom/ss555.cfg, custom/ts_386ex.cfg:
	Cleanup (Backport from HEAD).
2006-11-30 06:55:43 +00:00
Joel Sherrill
161d158209 2006-11-20 Joel Sherrill <joel@OARcorp.com>
* sp27/init.c, sp27/sp27.scn: Correct configured number of semaphores
	and make output more compliant with other tests.
2006-11-20 23:18:37 +00:00
Ralf Corsepius
c0e38d1b90 2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove ampolish3.
2006-11-20 05:59:19 +00:00
Ralf Corsepius
f57174cdf6 2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add ampolish3.
	* bootstrap: Add -r (autoreconf).
2006-11-20 05:44:15 +00:00
Ralf Corsepius
0cfca5fcea 2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootstrap: Add -p (regenerate preinstall.ams).
2006-11-18 01:59:44 +00:00
Joel Sherrill
540c746db9 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* runtest: Correct tool name to match 4.7.
2006-11-17 23:05:58 +00:00
Joel Sherrill
91cee2ef87 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* psxsem01/init.c: Account for change in POSIX semaphore time handling.
	Previously the timeout was not absolute time and checked BEFORE
	attempting to lock semaphore.
2006-11-17 23:04:38 +00:00
Joel Sherrill
bd43cde824 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* sp09/screen12.c, sp16/task2.c, sp16/task3.c: Ensure tests generate
	cases intended on all targets possible with new heap algorithm.
2006-11-17 23:03:08 +00:00
Joel Sherrill
012739eb9e 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/inline/rtems/score/object.inl, score/src/objectnametoid.c:
	Properly honor searching only local node even when on single CPU
	system.
2006-11-17 22:59:28 +00:00
Joel Sherrill
b5779dc1a3 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/src/coresemseize.c: Add missing ISR enable.
2006-11-17 22:58:21 +00:00
Joel Sherrill
1d4747f226 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/src/heapwalk.c: Use printk not printf.
2006-11-17 22:57:37 +00:00
Joel Sherrill
89e0ecc7b9 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* libmisc/rtmonuse/rtmonuse.c: Do not use float for calculations.
2006-11-17 22:55:39 +00:00
Joel Sherrill
e992fa47b8 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/sync.c: Do not dereference NULL reent.
2006-11-17 22:54:33 +00:00
Joel Sherrill
e2cafb006a 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* posix/src/semtimedwait.c: Used wrong constant for blocking with bad
	timeout value.
2006-11-17 22:52:24 +00:00
Joel Sherrill
ce6568eb65 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* posix/src/keygetspecific.c, posix/src/keysetspecific.c: Correct
	indexing of key data to use api and index NOT class and index.
	Class is always 1.
2006-11-17 22:51:47 +00:00
Joel Sherrill
f791c6c2c1 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* timer/timer.c: Update timer overhead for start/stop.
2006-11-17 22:45:50 +00:00
Joel Sherrill
88b86cb55a 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* runtest.in: Change toolname to match 4.7.
2006-11-17 22:45:28 +00:00
Joel Sherrill
b066112982 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* clock_driver_stub.c, clockdrv_shell.c: Use common clock driver
	template and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-17 22:44:17 +00:00
Joel Sherrill
2714a925c8 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* clock/clockdrv.c: Add copyright.
2006-11-17 22:41:34 +00:00
Joel Sherrill
a1d09f90b5 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* itrontask04/init.c, itrontask04/itrontask04.scn: Cannot print with
	dispatching disabled so fix test not to print while dispatching is
	disabled.
2006-11-17 22:40:12 +00:00
Joel Sherrill
8c3ab9fcd8 2006-11-17 Joel Sherrill <joel@OARcorp.com>
* runtest: Change toolname to match 4.7.
2006-11-17 22:36:21 +00:00
Joel Sherrill
5438bca377 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* shared/bspstart.c, shared/start.S: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:20 +00:00
Joel Sherrill
7b8dee3fbc 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, startup/bspstart.c: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:18 +00:00
Joel Sherrill
99ffe87f4d 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c: Use common clock driver template and eliminate all
	fast idle code specific to this BSP. This eliminates a fair amount of
	code in the BSP clock driver and bsp_startup. The LEON3 has to do a
	scan of the AMBA bus to find the timer so I added the new hook
	Clock_driver_support_find_timer to support this. In general, there
	was some clean up to the file headers of various files.
2006-11-16 16:31:16 +00:00
Joel Sherrill
44dde18e64 2006-11-16 Joel Sherrill <joel@OARcorp.com>
* clock/ckinit.c, console/console.c: Use common clock driver template
	and eliminate all fast idle code specific to this BSP. This
	eliminates a fair amount of code in the BSP clock driver and
	bsp_startup. The LEON3 has to do a scan of the AMBA bus to find the
	timer so I added the new hook Clock_driver_support_find_timer to
	support this. In general, there was some clean up to the file headers
	of various files.
2006-11-16 16:31:14 +00:00
Ralf Corsepius
143902fc6a 2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_AMPOLISH3.
	Don't explictly pass CFLAGS_OPTIMIZE_V, CPU_CFLAGS.
	Compose CFLAGS. Append CFLAGS to ac_configure_args.
	* aclocal/bsp-configure.m4: AC_PREREQ(2.60).
	  Remove checks for AMPOLISH3.
	* aclocal/rtems-ampolish.m4: Pick up ampolish3 from ac_aux_dir.
	* aclocal/rtems-top.m4: Add RTEMS_AMPOLISH3.
	* ampolish3: Remove.
	* aclocal/prog-cc.m4: Remove CFLAGS.
2006-11-16 05:29:25 +00:00
Ralf Corsepius
5c64772fb5 AC_PREREQ(2.60).
Remove checks for AMPOLISH3.
2006-11-16 05:28:34 +00:00
Ralf Corsepius
fa919224a1 Pick up ampolish3 from ac_aux_dir. 2006-11-16 05:28:11 +00:00
Ralf Corsepius
b7314e6c9e Add RTEMS_AMPOLISH3. 2006-11-16 05:27:54 +00:00
Ralf Corsepius
faf986a840 Remove. 2006-11-16 05:27:37 +00:00
Ralf Corsepius
17e916063e Remove CFLAGS. 2006-11-16 05:27:09 +00:00
Ralf Corsepius
e98a72fa4e Remove RTEMS_AMPOLISH3.
Don't explictly pass CFLAGS_OPTIMIZE_V, CPU_CFLAGS.
Compose CFLAGS. Append CFLAGS to ac_configure_args.
2006-11-16 05:26:43 +00:00
Ralf Corsepius
53bd9fa015 2006-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove RTEMS_AMPOLISH3.
	* aclocal/rtems-ampolish.m4: Pick up ampolish3 from ac_aux_dir.
	* aclocal/rtems-top.m4: Add RTEMS_AMPOLISH3.
	* ampolish3: Remove.
2006-11-16 05:18:39 +00:00
Ralf Corsepius
454ce47172 Remove RTEMS_AMPOLISH3. 2006-11-16 05:18:14 +00:00
Ralf Corsepius
a56e0cb096 Remove. 2006-11-16 05:18:01 +00:00
Ralf Corsepius
cf8bec623d Add RTEMS_AMPOLISH3. 2006-11-16 05:17:46 +00:00
Ralf Corsepius
a679d578e8 Pick up ampolish3 from ac_aux_dir. 2006-11-16 05:17:29 +00:00
Ralf Corsepius
804606b5eb 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* ampolish3: New.
2006-11-15 14:13:07 +00:00
cvs2git
284048512f This commit was manufactured by cvs2svn to create branch 'rtems-4-7-branch'.
Cherrypick from master 2006-11-15 14:12:01 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2006-11-15	Ralf Corsépius <ralf.corsepius@rtems.org>':
    ampolish3
    contrib/repo-conf/ChangeLog
2006-11-15 14:12:02 +00:00
Ralf Corsepius
4499640036 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/target.m4: Remove RTEMS_OUTPUT_BUILD_SUBDIRS.
2006-11-15 09:58:18 +00:00
Ralf Corsepius
601e1b4b39 2006-11-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2006-11-15 09:53:32 +00:00
Ralf Corsepius
c23b0fd6fc Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER. 2006-11-15 09:53:15 +00:00
Joel Sherrill
5b0f138d2e 2006-11-14 Jiri Gaisler <jiri@gaisler.com>
* cpu_asm.S: Properly support synchronous traps.
2006-11-14 21:44:09 +00:00
Ralf Corsepius
12fbe4956f 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, Makefile.am, rtems-4.7/Makefile.am: Remove tic4x.
	* rtems-4.7/tic4x/: Remove.
2006-11-14 16:54:15 +00:00
Ralf Corsepius
13f4eb67cb Remove tic4x 2006-11-14 16:53:01 +00:00
Ralf Corsepius
b4c5d96696 Remove. 2006-11-14 16:52:02 +00:00
Ralf Corsepius
7c17be80b4 Regenerate. 2006-11-14 16:26:29 +00:00
Ralf Corsepius
a2be29101a RTEMS_PROVIDES_STDINT_H, RTEMS_PROVIDES_INTTYPES_H. Use external stdint.h, inttypes.h. 2006-11-14 16:26:08 +00:00
Ralf Corsepius
ccf5bfa5f6 RTEMS_PROVIDES_STDINT_H, RTEMS_PROVIDES_INTTYPES_H. 2006-11-14 16:25:50 +00:00
Ralf Corsepius
db510c5488 Remove. 2006-11-14 16:25:12 +00:00
Ralf Corsepius
ec05baa478 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove c4x.
2006-11-14 06:21:34 +00:00
Ralf Corsepius
37282eeb04 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* cpu_supplement/Makefile.am, cpu_supplement/cpu_supplement.texi:
	Remove the tic4x.
2006-11-14 05:28:40 +00:00
Ralf Corsepius
ccdcc9ce94 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/c4xsim.cfg, custom/c3xsim.cfg: Remove (Port not ready for
	  inclusion in release).
2006-11-14 04:45:04 +00:00
Ralf Corsepius
c6c7cd4c73 Remove (Not ready for inclusion in release). 2006-11-14 04:42:32 +00:00
Ralf Corsepius
bc05492d30 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/Makefile.am: Remove c4x.
2006-11-14 04:38:49 +00:00
Ralf Corsepius
9666ea632b Remove (Not ready for inclusion in release). 2006-11-14 04:33:49 +00:00
Ralf Corsepius
556f1e76c8 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/uC5282.cfg: Remove hard-code compiler flags.
	* custom/av5282.cfg, custom/csb360.cfg, custom/mcf5206elite.cfg,
	custom/mcf5235.cfg: Remove ASFLAGS, CPU_ASFLAGS (Unused).
2006-11-14 02:43:28 +00:00
Ralf Corsepius
aac2fff58b Remove hard-code compiler flags. 2006-11-14 02:43:13 +00:00
Ralf Corsepius
72fbdbbeaf Remove ASFLAGS, CPU_ASFLAGS (Unused). 2006-11-14 02:42:50 +00:00
Joel Sherrill
af6c22d238 2006-11-02 Steven Johnson <sjohnson@sakuraindustries.com>
* libnetworking/netdb.h, libnetworking/libc/gethostbyht.c,
	libnetworking/libc/gethostnamadr.c: This patch adds a functional
	gethostbyname_r to RTEMS. We were having problems with multiple
	threads calling gethostbyname, so we decided the best way to deal
	with it was to do it properly, rather than kludge up our code to make
	gethostbyname safe. We have found several slightly different
	parameter lists for this function, it does not seem to be standard.
	The one we used has the linux interface. In RTEMS there was an
	existing gethostbyname_r inside a #ifdef _THREAD_SAFE which was NOT
	Threadsafe, as this just called gethostbyname. So we have placed all
	of the additional code inside the #ifdef _THREAD_SAFE.
2006-11-02 21:49:02 +00:00
Joel Sherrill
112995e502 2006-11-01 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Fix typo.
2006-11-01 15:30:55 +00:00
Joel Sherrill
fa40f3b16f 2006-11-01 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Fix typo.
2006-11-01 15:24:48 +00:00
Joel Sherrill
4b77b83772 2006-11-01 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Fix typo.
2006-11-01 15:15:40 +00:00
Joel Sherrill
ae54141bff 2006-10-30 Joel Sherrill <joel@OARcorp.com>
PR 841/rtems
	* psxsem01/init.c: Make sem_timedwait more conformant to Open Group
	specification.
2006-10-30 22:21:44 +00:00
Joel Sherrill
f5c9b893fc 2006-10-30 Joel Sherrill <joel@OARcorp.com>
PR 841/rtems
	* itron/inline/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/semaphore.inl, itron/src/twai_sem.c,
	posix/include/rtems/posix/semaphore.h,
	posix/inline/rtems/posix/semaphore.inl,
	posix/src/semaphorewaitsupp.c, posix/src/semtimedwait.c,
	posix/src/semwait.c, rtems/src/semobtain.c,
	rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coresem.h, score/src/coresemseize.c: Make
	sem_timedwait more conformant to Open Group specification.
2006-10-30 22:21:07 +00:00
Joel Sherrill
d233c88057 2006-10-30 Joel Sherrill <joel@OARcorp.com>
* startup/rtems-ctor.cc: Conditionally disable non-GCC code.
2006-10-30 22:18:57 +00:00
Joel Sherrill
d1adbaed2a 2006-10-30 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Add crti, crtbegin, crtend, and crtn.
2006-10-30 22:17:12 +00:00
Joel Sherrill
85cef698a0 2006-10-30 Joel Sherrill <joel@OARcorp.com>
* include/.cvsignore: New file.
2006-10-30 17:07:28 +00:00
Joel Sherrill
32d19cbae1 2006-10-30 Joel Sherrill <joel@OARcorp.com>
* include/.cvsignore: New file.
2006-10-30 16:52:38 +00:00
Joel Sherrill
b295019571 2006-10-25 Jennifer Averett <jennifer@oarcorp.com>
* libcsupport/src/termios.c: Change attribute of semaphore. It was
	counting interrupts not acting as a condition synchronization mutex.
	Since the caller did not always need to obtain the semaphore, it was
	not being decremented until there was no data. This could occur after
	hours of running a system and thousands of interrupts. The code in
	fillBufferQueue would spin until it had consumed all of those
	semaphore counts.
2006-10-25 11:27:28 +00:00
Ralf Corsepius
b94e68dd04 Bumb version to 0.4 2006-10-25 01:29:56 +00:00
Ralf Corsepius
63e3f71425 Let rtems-@RTEMS_API@-repo-conf.spec depend on configure.ac 2006-10-25 01:29:45 +00:00
Ralf Corsepius
73a309b72a Bump version to 0.3 2006-10-24 14:55:35 +00:00
Ralf Corsepius
045b9a6ee7 New URL ftp://ftp.rtems.org/pub/rtems/linux 2006-10-24 14:55:23 +00:00
Ralf Corsepius
3f2b8ebdc2 s/binutils-2.17-rtems4.7-20060921/binutils-2.17-rtems4.7-20061021/ 2006-10-24 05:18:22 +00:00
Ralf Corsepius
15cde9a151 Remove (Unused) 2006-10-24 05:12:23 +00:00
Ralf Corsepius
ab04516f36 Resurrect (Still in use ;) 2006-10-24 05:10:50 +00:00
Ralf Corsepius
c25e26afd7 Remove (Unused) 2006-10-24 05:06:15 +00:00
Ralf Corsepius
f760aeff11 Remove (Unused). 2006-10-24 05:05:44 +00:00
Ralf Corsepius
a08be7a0e1 New. 2006-10-24 05:04:46 +00:00
Ralf Corsepius
ab4512cd61 Sync with HEAD 2006-10-24 05:03:51 +00:00
Ralf Corsepius
9833ce0fef Update to gcc-core-4.1.1-rtems-20060909.diff/newlib-1.14.0-rtems4.7-20061019.diff 2006-10-21 10:10:54 +00:00
Ralf Corsepius
a8e7b33c68 New. 2006-10-21 10:06:26 +00:00
Ralf Corsepius
40a253b355 Change URL to ftp://ftp.gnu.org/pub/gnu 2006-10-21 10:03:45 +00:00
Ralf Corsepius
000e606a42 New. Add memleak patch. 2006-10-21 10:02:23 +00:00
Ralf Corsepius
035be149e3 Set version to 4.7 2006-10-21 05:21:35 +00:00
cvs2git
fc4035b105 This commit was manufactured by cvs2svn to create branch 'rtems-4-7-branch'.
Cherrypick from master 2006-10-21 05:18:51 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New.':
    contrib/repo-conf/.cvsignore
    contrib/repo-conf/AUTHORS
    contrib/repo-conf/COPYING
    contrib/repo-conf/INSTALL
    contrib/repo-conf/Makefile.am
    contrib/repo-conf/NEWS
    contrib/repo-conf/README
    contrib/repo-conf/aclocal/version.m4
    contrib/repo-conf/apt/sources.list.d/.cvsignore
    contrib/repo-conf/apt/sources.list.d/rtems.list.in
    contrib/repo-conf/apt/vendors.list.d/rtems.list
    contrib/repo-conf/configure.ac
    contrib/repo-conf/gpg/gpg-pubkey-69ce4a83-44cc2b30
    contrib/repo-conf/gpg/gpg-pubkey-eac29b6f-3fe1f458
    contrib/repo-conf/rtems-repo-conf.spec.in
    contrib/repo-conf/yum.repos.d/.cvsignore
    contrib/repo-conf/yum.repos.d/rtems.repo.in
2006-10-21 05:18:52 +00:00
Ralf Corsepius
218c346ef1 2006-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove superfluous -DASM.
2006-10-20 11:55:29 +00:00
Ralf Corsepius
3b268ab7fa Remove (bogus). 2006-10-20 06:58:28 +00:00
Ralf Corsepius
197e44544e 2006-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bspopts.h.in: Remove (bogus).
2006-10-20 05:52:07 +00:00
Ralf Corsepius
4e8ac0a3fe 2006-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bspopts.h.in: Remove (bogus).

2006-10-19	Ralf Corsépius <ralf.corsepius@rtems.org>

	* configure.ac: Require automake-1.10. Require autoconf-2.60.

2006-09-11	Joel Sherrill <joel@OARcorp.com>

	* startup/init5282.c: Convert C++ style comments to C style.

2006-02-08	Joel Sherrill <joel@OARcorp.com>

	* startup/linkcmds, startup/linkcmdsflash, startup/linkcmdsram: Add
	sections required by newer gcc versions.

2006-01-11	Ralf Corsepius <ralf.corsepius@rtems.org>

	* Makefile.am: Add preinstall.am.

2005-11-12	Ralf Corsepius <ralf.corsepius@rtems.org>

	* bsp_specs: Remove %cpp.
	* console/console.c: Eliminate obsolete types.

2005-11-07	Ralf Corsepius <ralf.corsepius@rtems.org>

	* include/bsp.h: Eliminate unsigned32.
	* network/network.c: Several minor bug fixes.
	* startup/bspstart.c: Eliminate unsigned32.

2005-08-17	Mike Bertosh <mbertosh@motioncontrol.org>

	* .cvsignore, Makefile.am, README, bsp_specs, configure.ac,
	clock/clock.c, console/console.c, include/bsp.h,
	include/bspopts.h.in, include/coverhd.h, include/tm27.h,
	network/network.c, start/start.S, startup/bspclean.c,
	startup/bspstart.c, startup/init5282.c, startup/linkcmds,
	startup/linkcmdsflash, startup/linkcmdsram, timer/timer.c: New files.
2006-10-20 05:50:34 +00:00
Ralf Corsepius
f4d72b919c 2006-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/bspopts.h.in: Remove (bogus).

2006-10-19	Ralf Corsépius <ralf.corsepius@rtems.org>

	* configure.ac: Require automake-1.10. Require autoconf-2.60.

2006-10-15	Ralf Corsépius <ralf.corsepius@rtems.org>

	* console/defaultfont.c: Convert to utf-8.

2006-09-11	Joel Sherrill <joel@OARcorp.com>

	* include/arm_mode_bits.h: Convert C++ style comments to C style.

2006-09-11	Chris Johns <chrisj@rtems.org>

	* README, configure.ac: Remove extra CRLF.

2006-06-02	Jay Monkman <jtm@lopingdog.com>

	* irq/bsp_irq_init.c: Changed interrupt handling
	to use shared rtems_irq_connect_data struct.

2006-01-11	Ralf Corsepius <ralf.corsepius@rtems.org>

	* Makefile.am: Add preinstall.am.

2005-11-22	Ralf Corsepius <ralf.corsepius@rtems.org>

	* bsp_specs: remove %lib.

2005-11-12	Ralf Corsepius <ralf.corsepius@rtems.org>

	* bsp_specs: Remove %cpp.

2005-11-08	Ralf Corsepius <ralf.corsepius@rtems.org>

	* irq/irq.c, startup/bspstart.c: Remove obsolete types (*unsigned32).

2005-07-06	Markku Puro <markku.puro@kopteri.net>

	* .cvsignore, ChangeLog, Makefile.am, README, bsp_specs, configure.ac,
	clock/clockdrv.c, console/conio.c, console/console.c,
	console/defaultfont.c, include/arm_mode_bits.h, include/asm_macros.h,
	include/bsp.h, include/bspopts.h.in, include/conio.h, include/gba.h,
	include/gba_registers.h, include/tm27.h, irq/bsp_irq_asm.S,
	irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c, start/logo.S, start/start.S, startup/bspstart.c,
	startup/cpu.c, startup/cpu_asm.S, startup/exit.c, startup/linkcmds,
	timer/timer.c: New files.
2006-10-20 05:49:16 +00:00
Ralf Corsepius
dd73668084 2006-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/cpu/Makefile.am, configure.ac: Remove nios2.
2006-10-20 05:39:52 +00:00
Ralf Corsepius
8dc5cd751b Remove nios2. 2006-10-20 05:39:11 +00:00
Ralf Corsepius
2f45e83a3b 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Requires automake-1.10. Require autoconf-2.60.
	* aclocal/rtems-top.m4, aclocal/version.m4:
	Adaptions to automake-1.10.
2006-10-19 14:35:27 +00:00
Ralf Corsepius
b06cc7e76d 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
2006-10-19 14:26:57 +00:00
Ralf Corsepius
09c1d97a59 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
	* aclocal/prog-ccas.m4, aclocal/prog-cxx.m4, aclocal/rtems-top.m4,
	aclocal/version.m4, automake/compile.am:
	Adaptations to automake-1.10.
2006-10-19 14:08:29 +00:00
Ralf Corsepius
a8340dc12c Adaptations to automake-1.10. 2006-10-19 14:08:08 +00:00
Ralf Corsepius
cb5148e753 Require automake-1.10. Require autoconf-2.60. 2006-10-19 14:07:52 +00:00
Ralf Corsepius
f4470b97f4 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
2006-10-19 14:05:46 +00:00
Ralf Corsepius
56e2dc07e1 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
2006-10-19 13:46:53 +00:00
Ralf Corsepius
1d59bd93bd 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
2006-10-19 13:39:58 +00:00
Ralf Corsepius
70ca327fbc Adaptations to automake-1.10. 2006-10-19 13:36:47 +00:00
Ralf Corsepius
32865ab96d Require automake-1.10. Requires autoconf-2.60. 2006-10-19 13:36:32 +00:00
Ralf Corsepius
1965914292 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Requires autoconf-2.60.
	* aclocal/prog-cxx.m4, aclocal/rtems-top.m4, aclocal/version.m4:
	Adaptations to automake-1.10.
2006-10-19 13:36:21 +00:00
Ralf Corsepius
0f7cfec6c1 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* autotools/Makefile.am, autotools/automake.add: Update to
	automake-1.10.
2006-10-19 13:33:32 +00:00
Ralf Corsepius
8784165c9d Update to automake-1.10. 2006-10-19 13:33:25 +00:00
Ralf Corsepius
e1f880dc11 Remove custom/nios2_iss.cfg. 2006-10-19 13:15:30 +00:00
Ralf Corsepius
b8fa666cd0 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/nios2_iss.cfg: Remove.
2006-10-19 13:14:40 +00:00
Ralf Corsepius
c6d7ef67a6 Remove. 2006-10-19 13:14:29 +00:00
Ralf Corsepius
8a5810d034 Remove. 2006-10-19 12:27:15 +00:00
Ralf Corsepius
32bcbf10a2 Remove (Unused) 2006-10-19 08:08:33 +00:00
Ralf Corsepius
d7b8239187 Sync with HEAD 2006-10-19 08:01:14 +00:00
Ralf Corsepius
4fd6bcd87f 2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems-4.7/bfin/Makefile.am, rtems-4.7/bfin/.cvsignore:
	Remove (Development in CVS-HEAD, only).
2006-10-19 05:32:12 +00:00
Ralf Corsepius
55e08d6c6f Remove. 2006-10-19 05:30:43 +00:00
Ralf Corsepius
0ef6e5857a 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture-cli.c: Use size_t instead of int.
2006-10-17 17:30:05 +00:00
Ralf Corsepius
f91d2c2b39 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* LICENSE: Convert to utf-8.
2006-10-17 17:13:24 +00:00
Ralf Corsepius
7f9fff5160 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* porting/interrupts.t: Fix bogus _CPU_ISR_Get_level.
2006-10-17 15:01:54 +00:00
Ralf Corsepius
07572d6500 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Requires autoconf-2.59.
2006-10-17 05:51:36 +00:00
Ralf Corsepius
c11d203cce 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* clock/clock.c, console/console.c, ide/pcmcia_ide.c,
	ide/pcmcia_ide.h, irq/irq.c, irq/irq.h, irq/irq_asm.S,
	irq/irq_init.c, nvram/m93cxx.h, nvram/nvram.c, nvram/nvram.h,
	slicetimer/slicetimer.c, start/start.S, startup/bspstart.c,
	startup/cpuinit.c, vectors/vectors.S, vectors/vectors_init.c:
	Convert to utf-8.
2006-10-17 02:46:35 +00:00
Ralf Corsepius
a877cc8ec6 Convert to utf-8. 2006-10-17 02:46:07 +00:00
Ralf Corsepius
11c005b840 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/m68349.inc, start/start.S, startup/dumpanic.c:
	Convert to utf-8.
2006-10-17 02:37:18 +00:00
Ralf Corsepius
c27fd5c455 Convert to utf-8 2006-10-17 02:36:57 +00:00
Ralf Corsepius
d919ef8281 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.9.
2006-10-17 02:31:34 +00:00
Ralf Corsepius
454e6b1f74 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* bootloader/Makefile.am: Remove DEFAULT_INCLUDES.
2006-10-17 02:26:55 +00:00
Ralf Corsepius
06797827c6 2006-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/multi.m4, aclocal/prog-cc.m4, aclocal/prog-ccas.m4
	automake/compile.am: Adaptations to automake-1.10
	(Back port from HEAD).
2006-10-16 16:18:33 +00:00
Ralf Corsepius
0667e1b295 Adaptations to automake-1.10. 2006-10-16 16:17:07 +00:00
Ralf Corsepius
fb3b398690 Convert to utf-8. 2006-10-15 06:00:51 +00:00
Ralf Corsepius
2490f92865 2006-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/defaultfont.c: Convert to utf-8.
2006-10-15 06:00:41 +00:00
Ralf Corsepius
d333638f89 Convert to utf-8. 2006-10-15 05:55:34 +00:00
Ralf Corsepius
d0fa0ef544 2006-10-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* network_ada/adasockets/AUTHORS,
	network_ada/adasockets/sockets-link.ads,
	network_ada/adasockets/sockets-multicast.adb,
	network_ada/adasockets/sockets-multicast.ads,
	network_ada/adasockets/sockets-utils.adb,
	network_ada/adasockets/sockets-utils.ads,
	network_ada/adasockets/sockets.adb,
	network_ada/adasockets/sockets.ads,
	network_ada/listener/listener.adb,
	network_ada/tcprelay/tcprelay.adb: Convert to utf-8.
2006-10-15 05:55:16 +00:00
Ralf Corsepius
0fbc65d3bb 2006-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, rtems-4.7/Makefile.am: Remove bfin.
2006-10-09 07:35:06 +00:00
Ralf Corsepius
46147f1cad Remove bfin. 2006-10-09 07:34:24 +00:00
Ralf Corsepius
a96e073ec7 Remove (unsupported) 2006-10-09 07:33:44 +00:00
Joel Sherrill
8afb74104a 2006-09-13 Joel Sherrill <joel@OARcorp.com>
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
	prototype of malloc.
2006-09-13 16:55:34 +00:00
Ralf Corsepius
0ecafb6e6e 2006-09-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* sh7750/include/rtems/score/sh7750_regs.h: Fix spelling of IPRC
	(Probably a cyrillic 'C' instead of an ASCI 'C').
2006-09-13 11:23:54 +00:00
Ralf Corsepius
38abd22242 2006-09-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Use RTEMS_AMPOLISH3.
2006-09-13 08:20:25 +00:00
Ralf Corsepius
15a333196c 2006-09-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* bspkit: Remove.
2006-09-13 04:46:54 +00:00
Ralf Corsepius
01dcac514c Remove. 2006-09-13 04:38:16 +00:00
cvs2git
343ef8e091 This commit was manufactured by cvs2svn to create branch 'rtems-4-7-branch'.
Sprout from master 2006-09-11 21:47:05 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2006-09-11	Joel Sherrill <joel@OARcorp.com>'
Cherrypick from zlib 2005-10-28 07:22:42 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import of zlib-1.2.2.2.tar.gz':
    cpukit/zlib/FAQ
    cpukit/zlib/INDEX
    cpukit/zlib/README
    cpukit/zlib/algorithm.txt
    cpukit/zlib/crc32.h
    cpukit/zlib/infback.c
    cpukit/zlib/inffast.c
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/inflate.c
    cpukit/zlib/inflate.h
    cpukit/zlib/trees.h
    cpukit/zlib/zlib.3
    cpukit/zlib/zlib.h
Cherrypick from rtemsdoc-4-5-branch 1997-05-27 12:40:10 UTC Joel Sherrill <joel.sherrill@OARcorp.com> 'base RTEMS documentation':
    doc/common/treedef.tex
Delete:
    contrib/crossrpms/cygwin/.cvsignore
    contrib/crossrpms/cygwin/Makefile.am
    contrib/crossrpms/cygwin/binutils.am
    contrib/crossrpms/cygwin/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/freebsd5.2/.cvsignore
    contrib/crossrpms/freebsd5.2/Makefile.am
    contrib/crossrpms/freebsd5.2/binutils.am
    contrib/crossrpms/freebsd5.2/gcc-prep.add
    contrib/crossrpms/freebsd5.2/gcc.am
    contrib/crossrpms/freebsd5.2/i586/.cvsignore
    contrib/crossrpms/freebsd5.2/i586/Makefile.am
    contrib/crossrpms/freebsd5.2/i586/binutils-sources.add
    contrib/crossrpms/freebsd5.2/i586/gcc-prep.add
    contrib/crossrpms/freebsd5.2/i586/gcc-sources.add
    contrib/crossrpms/freebsd5.2/i586/libs.add
    contrib/crossrpms/freebsd5.2/i586/target-libs.add
    contrib/crossrpms/freebsd6.0/.cvsignore
    contrib/crossrpms/freebsd6.0/Makefile.am
    contrib/crossrpms/freebsd6.0/binutils.am
    contrib/crossrpms/freebsd6.0/gcc-prep.add
    contrib/crossrpms/freebsd6.0/gcc.am
    contrib/crossrpms/freebsd6.0/i586/.cvsignore
    contrib/crossrpms/freebsd6.0/i586/Makefile.am
    contrib/crossrpms/freebsd6.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.0/i586/libs.add
    contrib/crossrpms/freebsd6.0/i586/target-libs.add
    contrib/crossrpms/freebsd6.1/.cvsignore
    contrib/crossrpms/freebsd6.1/Makefile.am
    contrib/crossrpms/freebsd6.1/binutils.am
    contrib/crossrpms/freebsd6.1/gcc-prep.add
    contrib/crossrpms/freebsd6.1/gcc.am
    contrib/crossrpms/freebsd6.1/i586/.cvsignore
    contrib/crossrpms/freebsd6.1/i586/Makefile.am
    contrib/crossrpms/freebsd6.1/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.1/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.1/i586/libs.add
    contrib/crossrpms/freebsd6.1/i586/target-libs.add
    contrib/crossrpms/mingw32/.cvsignore
    contrib/crossrpms/mingw32/Makefile.am
    contrib/crossrpms/mingw32/binutils.am
    contrib/crossrpms/mingw32/gcc-prep.add
    contrib/crossrpms/mingw32/gcc.am
    contrib/crossrpms/mingw32/i686/.cvsignore
    contrib/crossrpms/mingw32/i686/Makefile.am
    contrib/crossrpms/mingw32/i686/binutils-sources.add
    contrib/crossrpms/mingw32/i686/gcc-sources.add
    contrib/crossrpms/mingw32/i686/libs.add
    contrib/crossrpms/mingw32/i686/target-libs.add
    contrib/crossrpms/mingw32/i686/target-w32api.add
    contrib/crossrpms/mingw32/i686/w32api.add
    contrib/crossrpms/solaris2.7/.cvsignore
    contrib/crossrpms/solaris2.7/Makefile.am
    contrib/crossrpms/solaris2.7/binutils.am
    contrib/crossrpms/solaris2.7/gcc-prep.add
    contrib/crossrpms/solaris2.7/gcc.am
    contrib/crossrpms/solaris2.7/sparc/.cvsignore
    contrib/crossrpms/solaris2.7/sparc/Makefile.am
    contrib/crossrpms/solaris2.7/sparc/binutils-sources.add
    contrib/crossrpms/solaris2.7/sparc/gcc-sources.add
    contrib/crossrpms/solaris2.7/sparc/libs.add
    contrib/crossrpms/solaris2.7/sparc/target-libs.add
    cpukit/rtems/src/clocktodtoseconds.c
    cpukit/rtems/src/clocktodvalidate.c
    cpukit/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    cpukit/zlib/doc/txtvsbin.txt
    cpukit/zlib/examples/zran.c
    cpukit/zlib/old/as400/bndsrc
    cpukit/zlib/old/as400/compile.clp
    cpukit/zlib/old/as400/readme.txt
    cpukit/zlib/old/visualc6/README.txt
    cpukit/zlib/old/visualc6/example.dsp
    cpukit/zlib/old/visualc6/minigzip.dsp
    cpukit/zlib/old/visualc6/zlib.dsw
    cpukit/zlib/zlib.pc.in
2006-09-11 21:47:06 +00:00
12686 changed files with 461536 additions and 1368185 deletions

17
.cvsignore Normal file
View File

@@ -0,0 +1,17 @@
aclocal.m4
autom4te*.cache
compile
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
install.sh
Makefile
Makefile.in
mdate-sh
missing
texinfo.tex

5
.gitignore vendored
View File

@@ -1,5 +0,0 @@
aclocal.m4
autom4te.cache
configure
config.h.in
Makefile.in

1576
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

49
INSTALL
View File

@@ -1,4 +1,51 @@
#
# $Id$
#
Building RTEMS
==============
See the documentation referred to in the README.
See the file README.configure.
UNCOMPRESSING .tgz FILES
===========================
Many of the files found in this directory and its subdirectories
are gzip'ed, tar archive files. These files have the ".tgz"
extension. They were compressed with gzip version 1.2.4.
Use a command sequence similar to the following to uncompress each
file:
gzcat FILE.tgz | tar xvof -
where FILE.tgz is the file to be installed. This procedure will
extract the files in the archive into the current directory.
All of the .tgz files associated with this release RTEMS will
place their contents in a subdirectory rtems-<release> in the current
directory.
If you are unsure of what is in an RTEMS archive file, then use
the following command sequence to get a listing of the contents:
gzcat FILE.tgz | tar tvf -
NOTES:
(1) The "-o" option to tar is included on the tar command line
so that the user extracting the tar archive will own the extracted
files.
(2) gzcat is sometimes installed as zcat. Be warned that on many
(most) UNIX machines, zcat is associated with compress (.Z files).
(3) If you do not have gzip 1.2.4, it is available from numerous sites
including this one. Other sites include ftp.gnu.org and ftp.cdrom.com.
(4) The GNU archive files included in this distribution are packaged
exactly like they are on official GNU ftp sites. When extracting
GNU archives, they will not extract under a rtems-<version>
directory. They will extract themselves under a directory which
is the name and version of the tool in question. For example,
gcc-2.5.8.tgz will extract its contents into the subdirectory
gcc-2.5.8.

View File

@@ -1,3 +1,6 @@
#
# $Id$
#
LICENSE INFORMATION
RTEMS is free software; you can redistribute it and/or modify it under

View File

@@ -1,30 +0,0 @@
The files in this directory and elsewhere which refer to this LICENCE
file are part of JFFS2, the Journalling Flash File System v2.
Copyright © 2001-2007 Red Hat, Inc. and others
JFFS2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 or (at your option) any later
version.
JFFS2 is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with JFFS2; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
As a special exception, if other files instantiate templates or use
macros or inline functions from these files, or you compile these
files and link them with other works to produce a work based on these
files, these files do not by themselves cause the resulting work to be
covered by the GNU General Public License. However the source code for
these files must still be made available in accordance with section (3)
of the GNU General Public License.
This exception does not invalidate any other reasons why a work based on
this file might be covered by the GNU General Public License.

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The RTEMS TCP/IP stack is a port of the FreeBSD TCP/IP stack. The following
copyright and licensing information applies to this code.

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The RTEMS RPC/XDR support is a port of the freely distributed
Sun Microsystems implementation. The following copyright and
licensing information applies to this code.

8
LICENSE.WEBSERVER Normal file
View File

@@ -0,0 +1,8 @@
#
# $Id$
#
The source code in c/src/libnetworking/rtems_webserver is a port
of the Go Ahead Software, Inc. WebServer. Their copyright and
licensing terms apply. See c/src/libnetworking/rtems_webserver/license.txt
for details.

View File

@@ -1,55 +1,55 @@
Note
====
This file contains information about people who are permitted to make
changes to various parts of RTEMS and its associated components and
add-ons.
Please do not contact the people in this file directly to report
problems with RTEMS.
For general information about RTEMS, please visit:
http://www.rtems.com
To report problems in RTEMS, please visit:
http://www.rtems.com/bugs.html
Maintainers
===========
This file contains information about people who are permitted to make
changes to RTEMS and its associated components and add-ons. Please do
not contact the people in this file directly to report problems with RTEMS.
For general information about RTEMS, please visit: http://www.rtems.org
Blanket Write Privileges (alphabetical order)
To report problems in RTEMS, please visit: http://www.rtems.org/bugs.html
Jennifer Averett jennifer@oarcorp.com
Ralf Corsepius ralf.corsepius@rtems.org
Chris Johns chris.johns@rtems.com
Eric Norum eric.norum@rtems.com
Joel Sherrill joel.sherrill@oarcorp.com
RTEMS is maintained by collection of volunteers. RTEMS is a very
broad and diverse project which requires expertise in many areas.
This breadth of knowledge exceeds the capabilities of any
single person. Each volunteer has areas of expertise where they
are more comfortable but each is capable of making technical
decisions across the entirety of RTEMS.
Various Component Maintainers
Blanket Write Privileges are granted to experienced RTEMS developers
who can be trusted to distinguish between changes which require
others to review, require a problem report, or can be safely committed
with limited review.
Networking NAME-TBD EMAIL-TBD
Write After Approval is granted to experienced but also trusted
RTEMS developers. These developers may be less familiar with
the breadth of RTEMS. Developers with write after approval need
to submit their patches for review. Once the patches have been
approved by a developer with Blanket Write Privileges, the patches
may be checked in.
CPU Port Maintainers (CPU alphabetical order)
Localized Write Permission is for developers who have primary
responsibility for a port and all associated BSPs, a BSP, or other
specific aspects of RTEMS. These folks are allowed to make changes to
areas they maintain and related documentation, web pages, and test cases
without approval from anyone else, and approve other people's changes
in those areas. They must get approval for changes elsewhere in RTEMS.
arm Jay Monkman jtm@lopingdog.com
avr Ralf Corsepius ralf.corsepius@rtems.org
c4x Joel Sherrill joel.sherrill@OARcorp.com
h8300 NAME-TBD EMAIL-TBD
i386 NAME-TBD EMAIL-TBD
m68k NAME-TBD EMAIL-TBD
mips NAME-TBD EMAIL-TBD
no_cpu NAME-TBD EMAIL-TBD
or32 NAME-TBD EMAIL-TBD
powerpc NAME-TBD EMAIL-TBD
sh NAME-TBD EMAIL-TBD
sparc NAME-TBD EMAIL-TBD
unix NAME-TBD EMAIL-TBD
Blanket Write Privileges
========================
Jennifer Averett jennifer.averett@OARcorp.com
Thomas Doefler Thomas.Doerfler@embedded-brains.de
Sebastian Huber sebastian.huber@embedded-brains.de
Chris Johns chrisj@rtems.org
Joel Sherrill joel.sherrill@OARcorp.com
Gedare Bloom gedare@rtems.org
BSP Maintainers (CPU/BSP alphabetical order)
Write After Approval
====================
Daniel Hellstrom daniel@gaisler.com
Ben Gras beng@rtems.org
Localized Write Permission
==========================
sparc Daniel Hellstrom (daniel@gaisler.com)
beagle Ben Gras (beng@rtems.org)
CPU/BSP NAME-TBD EMAIL-TBD
arm/edb7312 Jay Monkman jtm@lopingdog.com
arm/gp32 Philippe Simons loki_666@fastmail.fm

View File

@@ -1,10 +1,13 @@
#
# top level directory for RTEMS build tree
#
##
## $Id$
##
ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS)
noinst_SCRIPTS = bootstrap
@@ -14,7 +17,7 @@ EXTRA_DIST += config-ml.in
EXTRA_DIST += ampolish3
dist-hook:
@files=`(cd $(srcdir); find cpukit c testsuites tools \
@files=`(cd $(srcdir); find doc cpukit c testsuites tools \
-name configure.ac -print | sed 's,/configure.ac,,' | sort)`; \
for i in $$files; do \
if test -f $(distdir)/$$i/configure.ac; then : ; \
@@ -37,22 +40,5 @@ dist-hook:
f=`echo $$a | sed 's,\.in$$,,'`; \
if test -f $$f; then echo "rm $$f"; rm $$f; fi; done
rtems_makedir = $(prefix)/make
dist_rtems_make_DATA =
dist_rtems_make_DATA += make/main.cfg
dist_rtems_make_DATA += make/leaf.cfg
rtems_make_Templatesdir = $(pkgdatadir)/make/Templates
dist_rtems_make_Templates_DATA =
dist_rtems_make_Templates_DATA += make/Templates/Makefile.dir
dist_rtems_make_Templates_DATA += make/Templates/Makefile.leaf
dist_rtems_make_Templates_DATA += make/Templates/Makefile.lib
rtems_make_customdir = $(rtems_makedir)/custom
dist_rtems_make_custom_DATA = make/custom/default.cfg
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/host.am

View File

@@ -1,153 +0,0 @@
#
# Maintainer Makefile
#
# WARNING:
# THIS IS EXPERIMENTAL - DO NOT USE (YET) !
# * This Makefile is only useful to RTEMS maintainers
# * You must have write access to RTEMS CVS
# * Running this Makefile modifies RTEMS CVS
# * Watch out for warning and error messages - Do NOT IGNORE them!
# MAINTAINER notes:
# Cutting a new release:
# 1. Perform a non-anonymous cvs checkout of the BRANCH
# you want to cut a release tarball from
# 2. Run "make -f Makefile.maint new-revision"
# (rsp. "make -f Makefile.maint new-minor").
# 3. Run "make -f Makefile.maint commit"
# 4. Run "make -f Makefile.maint tag"
# 5. Run "make -f Makefile.maint tarball"
# -----------------
# SECURITY: Append a string to tag to avoid accidentially screwing up cvs-tags
# For "hot runs" you will want to use "make -f Makefile.maint TAG_SUFFIX= <command>"
TAG_SUFFIX = -test1
rtems_version := $(shell cat VERSION | sed -n '/.* Version /{s/^.*Version[ ]*\([0-9\.]\+\)/\1/p};')
rtems_tag := $(shell echo "rtems-$(rtems_version)" | tr . -)
rtems_api := 4.10
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
# -----------------
# Cleanup check out and cvs-tag the files inside
tag:
cvs -q -z9 up -dP
./bootstrap -p >/dev/null
cvs -q tag -c $(rtems_tag)$(TAG_SUFFIX)
# -----------------
# Different stages of cvs-exporting
rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX):
rm -rf rtems-$(rtems_version)
@cvs -q -z9 export -d rtems-$(rtems_version) -r $(rtems_tag)$(TAG_SUFFIX) rtems
@if ! test -f rtems-$(rtems_version)/VERSION; then \
echo "ERROR export failed"; \
echo " Did you run 'make -f Makefile.maint tag' ?"; exit 1; fi
echo "$(rtems_tag)$(TAG_SUFFIX)" > rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2: rtems-$(rtems_version)/stamp.autofiles \
rtems-$(rtems_version)/excludes \
rtems-$(rtems_version)/TOOL_VERSIONS
tar -cj -X rtems-$(rtems_version)/excludes \
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
## Touching the top pages in the various manuals results in the date
## on their title page matching the release date.
rtems-$(rtems_version)/stamp.cleanup: rtems-$(rtems_version)/stamp.export.$(rtems_tag)$(TAG_SUFFIX)
find rtems-$(rtems_version) -name .cvsignore -exec rm -f {} \;
find rtems-$(rtems_version) -name preinstall.am -exec touch {} \;
rm -rf rtems-$(rtems_version)/contrib
touch rtems-$(rtems_version)/stamp.cleanup
rtems-$(rtems_version)/stamp.autofiles: rtems-$(rtems_version)/stamp.cleanup
cd rtems-$(rtems_version) && ./bootstrap -r
touch rtems-$(rtems_version)/stamp.autofiles
rtems-$(rtems_version)/excludes: Makefile.maint
@echo "Generating $@"
@echo "excludes" > $@
@echo "stamp.*" >> $@
@echo "autom4te.cache" >> $@
@echo "Makefile.maint" >> $@
tarball: rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2
rtems-$(rtems_version)/TOOL_VERSIONS: Makefile.maint
( \
date ; \
echo ; \
echo "This file contains configuration information on the " ; \
echo "primary computer used to test and make the $(rtems_version)" ; \
echo "version of RTEMS" ; \
echo ; \
echo "OS Version: " `head -1 /etc/issue` ; \
echo ; \
echo "The following RTEMS RPMs were installed on the machine" ; \
echo "where this release was made:" ; \
echo ; \
rpm -qa 'rtems-$(rtems_api)-*' | sort | sed -e 's/^/ /' ; \
echo \
) > $@
# -----------------
# Create a new minor release
# increments the 2nd digit of the version number
# set the 3rd digit of the version number to 0
# Example: 4.6.99.4 -> 4.7.0
new-minor:
@v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
r=$$(($$r + 1)); version="$$v.$$r.0"; \
echo "New minor release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
# Create a new revision release
# increments the last digit of the version number
# Examples: 4.6.99.4 -> 4.6.99.5
# 4.7.0 -> 4.7.1
new-revision:
@m=$$(echo $(rtems_version) | sed 's,^\(.*\)\.[0-9]\+,\1,'); \
n=$$(echo $(rtems_version) | sed 's,^.*\.\([0-9]\+\),\1,'); \
n=$$(($$n + 1)); version="$$m.$$n";\
echo "New revision release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
# -----------------
# Create a new branch
# increments the 2nd digit of the version number
# set the 3rd digit of the version number to 99
# set the 4rd digit of the version number to 0
# Example: 4.6.34.4 -> 4.7.99.0
new-branch:
v=$$(echo $(rtems_version) | sed 's,^\([0-9]\+\).*,\1,'); \
r=$$(echo $(rtems_version) | sed 's,^[0-9]\+\.\([0-9]\+\).*,\1,'); \
r=$$(($$r + 1)); version="$$v.$$r.99.0"; \
api="$$v.$$(($$r + 1))"; \
echo "New branch release: $$version"; \
sed -i -e "s|\[_RTEMS_VERSION\],\[.*\]|\[_RTEMS_VERSION\],\[$$version\]|" \
-e "s|\[_RTEMS_API\],\[.*\]|\[_RTEMS_API\],\[$$api\]|" \
$(VERSION_FILES); \
sed -i -e "s,\(^RTEMS Version\).*,\1 $$version," VERSION
VERSION_FILES += aclocal/version.m4
VERSION_FILES += cpukit/aclocal/version.m4
VERSION_FILES += c/src/aclocal/version.m4
VERSION_FILES += testsuites/aclocal/version.m4
CVS_RUN := $(shell if [ -n "$(TAG_SUFFIX)" ]; then echo "cvs -n"; else echo "cvs"; fi)
commit:
$(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
$(VERSION_FILES) VERSION
.PHONY: commit new-minor new-revision new-branch tag tarball

107
README
View File

@@ -1,24 +1,97 @@
This is the Real-Time Executive for Multiprocessing Systems (RTEMS).
The version number for this software is indicated in the VERSION file.
#
# $Id$
#
See the documentation manuals in doc/ with daily builds available online at
http://rtems.org/onlinedocs/doc-current/share/rtems/html/ and released builds
at http://www.rtems.org/onlinedocs/releases/ for information on building,
installing, and using RTEMS. The INSTALL file tells you to come back here.
Building RTEMS
==============
See the file README.configure.
See the RTEMS Wiki at http://devel.rtems.org for community knowledge and
tutorials.
Directory Overview
==================
RTEMS Doxygen available at http://www.rtems.org/onlinedocs/doxygen/cpukit/html
This is the top level of the RTEMS directory structure. The following
is a description of the files and directories in this directory:
The RTEMS Project maintains mailing lists which are used for most
discussions:
INSTALL
Rudimentary installation instructions. For more detailed
information please see the Release Notes. The Postscript
version of this manual can be found in the file
c_or_ada/doc/relnotes.tgz.
* For general-purpose questions related to using RTEMS, use the
rtems-users ml: https://lists.rtems.org/mailman/listinfo/users
* For questions and discussion related to development of RTEMS, use the
rtems-devel ml: https://lists.rtems.org/mailman/listinfo/devel
LICENSE
Required legalese.
See https://devel.rtems.org/ to view existing or file a new issue
report ticket.
README
This file.
c
This directory contains the source code for the C
implementation of RTEMS as well as the test suites, sample
applications, Board Support Packages, Device Drivers, and
support libraries.
doc
This directory contains the PDL for the RTEMS executive.
Ada versus C
============
There are two implementations of RTEMS in this source tree --
in Ada and in C. These two implementations are functionally
and structurally equivalent. The C implementation follows
the packaging conventions and hierarchical nature of the Ada
implementation. In addition, a style has been followed which
allows one to easily find the corresponding Ada and C
implementations.
File names in C and code placement was carefully designed to insure
a close mapping to the Ada implementation. The following file name
extensions are used:
.adb - Ada body
.ads - Ada specification
.adp - Ada body requiring preprocessing
.inc - include file for .adp files
.c - C body (non-inlined routines)
.inl - C body (inlined routines)
.h - C specification
In the executive source, XYZ.c and XYZ.inl correspond directly to a
single XYZ.adb or XYZ.adp file. A .h file corresponds directly to
the .ads file. There are only a handful of .inc files in the
Ada source and these are used to insure that the desired simple
inline textual expansion is performed. This avoids scoping and
calling convention side-effects in carefully constructed tests
which usually test context switch behavior.
In addition, in Ada code and data name references are always fully
qualified as PACKAGE.NAME. In C, this convention is followed
by having the package name as part of the name itself and using a
capital letter to indicate the presence of a "." level. So we have
PACKAGE.NAME in Ada and _Package_Name in C. The leading "_" in C
is used to avoid naming conflicts between RTEMS and user variables.
By using these conventions, one can easily compare the C and Ada
implementations.
The most noticeable difference between the C and Ada83 code is
the inability to easily obtain a "typed pointer" in Ada83.
Using the "&" operator in C yields a pointer with a specific type.
The 'Address attribute is the closest feature in Ada83. This
returns a System.Address and this must be coerced via Unchecked_Conversion
into an access type of the desired type. It is easy to view
System.Address as similar to a "void *" in C, but this is not the case.
A "void *" can be assigned to any other pointer type without an
explicit conversion.
The solution adopted to this problem was to provide two routines for
each access type in the Ada implementation -- one to convert from
System.Address to the access type and another to go the opposite
direction. This results in code which accomplishes the same thing
as the corresponding C but it is easier to get lost in the clutter
of the apparent subprogram invocations than the "less bulky"
C equivalent.
A related difference is the types which are only in Ada which are used
for pointers to arrays. These types do not exist and are not needed
in the C implementation.

73
README.cdn-X Normal file
View File

@@ -0,0 +1,73 @@
Building RTEMS Canadian Cross
=============================
RTEMS now contains experimental and yet incomplete support for building
it Canadian Cross.
1. Introduction
---------------
If you don't know what Canadian Cross Building means, you probably don't want
to apply it and should consider stop reading here.
Interested readers might want to read Ian Lance Taylor's article at
http://www.airs.com/ian/configure for underlaying details and working
principles.
2. RTEMS
--------
Example: Building RTEMS for sparc-rtems under i386-pc-linux-gnu to be hosted
on a i386-cygwin platform.
2.1 Required tools
------------------
* A i386-pc-linux-gnu cross sparc-rtems toolchain.
* A i386-pc-linux-gnu cross i386-cygwin toolchain.
* A i386-pc-linux-gnu native toolchain.
We further on assume these to be installed to these locations:
/opt/rtems .. linux cross sparc-rtems toolchain
/opt/cygwin .. linux cross i386-cygwin cross-toolchain
/usr .. linux native toolchain and further tools.
2.2 Building sparc-rtems
------------------------
The first step is to build RTEMS for sparc-rtems under linux.
mkdir build
cd build
<path>/rtems/configure [options] \
--target=sparc-rtems \
--prefix=/opt/cygwin
make
make install
This will build a standard sparc-rtems RTEMS and install it to the given
PREFIX.
2.3 Building i386-cygwin host support
-------------------------------------
The next step is to build RTEMS host support for i386-cygwin.
This basically means to cross-build the host tools contained in RTEMS.
mkdir host
cd host
<path>/rtems/configure [options] \
--target=sparc-rtems \
--build=`<path>/rtems/config.guess` \
--host=i386-cygwin \
--prefix=/opt/cygwin
make
make install
This will build RTEMS host-tools for i386-cygwin and install them to the given
PREFIX.
3. Known issues
---------------
* At present time, building RTEMS Canadian Cross is known to be immature, and
to require additional work. Do not expect this to work.
* The <toplevel>/make/ directory hierarchy is not treated correctly.

260
README.configure Normal file
View File

@@ -0,0 +1,260 @@
#
# $Id$
#
1. Autoconf support
===================
This version of RTEMS is configured with GNU autoconf. RTEMS can be
configured and built either standalone or together with the compiler
tools in the Cygnus one-tree structure. Using autoconf also means
that RTEMS now can be built in a separate build directory.
To re-generate auto*tool generated files (configure, Makefile.in etc),
autoconf-2.59 and automake-1.8 are required.
2. Installation
===============
2.1 Standalone build
To configure RTEMS for a specific target, run configure in the build
directory. In addition to the standard configure options, the following
RTEMS-specific option are supported:
--disable-rtems-inlines
--disable-posix
--disable-itron
--disable-networking
--enable-cxx
--enable-bare-cpu-model=<MODEL>
--enable-bare-cpu-cflags=<FLAGS>
--enable-multiprocessing
--enable-rtemsbsp="bsp1 bsp2 ..."
--enable-tests
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
--enable-docs
In addition, the following standard autoconf options are frequently
used when configuring RTEMS installations:
--prefix=INSTALL_DIRECTORY
By default, inline routines are used instead of macros where possible.
Macros can be selected using the --disable-inlines option. [NOTE:
Some APIs may not support macro versions of their inline routines.]
By default, the RTEMS POSIX 1003.1b interface is built for targets that support
it. It can be disabled with the --disable-posix option.
By default, the RTEMS uITRON interface is built for targets that support
it. It can be disabled with the --disable-itron option.
By default, the RTEMS networking support is built for targets which
support it. It can be specifically disabled for those targets
with the --disable-networking option.
By default, the RTEMS remote debugger server support is not built.
It can be specifically enabled for the targets that support it.
with the --enable-rdbg option. NB : the RTEMS networking support
must be enabled to support the remote debugger server.
By default, the RTEMS support of C++ is disabled. It can be enabled
with the --enable-cxx option. If the rtems++ C++ library is installed
it will also be build.
By default, the RTEMS test suites are NOT configured -- only the
sample tests are built. --enable-tests will configure
the RTEMS test suite. The default speeds up the build
and configure process when the tests are not desired.
By default, RTEMS is built using arguments and build rules which require a
gcc supporting the -specs option, ie. a gcc >= 2.8.
[The --disable-gcc28 option, which has been present in former releases, has
been removed.]
By default, multiprocessing is is not built. It can be enabled
for those BSPs supporting it by the --enable-multiprocessing option.
By default, all bsps for a target are built. The bare BSP is not built
unless directly specified. There are two ways of changing this:
+ use the --enable-rtemsbsp option which will set the specified
bsps as the default bsps, or
+ set the RTEMS_BSP variable during make (see below).
The --enable-rtemsbsp= option configures RTEMS for a specific board
within a target architecture. Remember that the target specifies the
CPU family while the BSP specifies the precise board you will be using.
The following targets are supported:
(none) will build the host-based version on Linux,
Solaris and HPUX.
arm-rtems
c4x-rtems
h8300-rtems
i386-rtems
m68k-rtems
mips-rtems
no_cpu-rtems
or32-rtems
powerpc-rtems
sh-rtems
sparc-rtems
bare see notes
The cross-compiler is set to $(target)-gcc by default. This can be
overridden by:
+ using the --program-prefix option to configure to specify the
string which will prepended to the tool names. Be sure to include
a trailing "-". For example, to use a m68k-coff toolset, use the
--program-prefix=m68k-coff- option.
To build, run make in the build directory. To specify which bsps to build,
add the RTEMS_BSP="bsp1 bsp2 .." to the make command. Specifying multiple
BSPs to build only works from the top level build directory.
Installation is done under $(prefix)/rtems.
As an example, to build and install the mvme136 and mvme162 bsps for m68k do:
(path_to_rtems_src)/configure --target=m68k-rtems
make RTEMS_BSP="mvme136 mvme162"
make install RTEMS_BSP="mvme136 mvme162"
The sample tests are built by 'make all', do a 'make test' to build the full
test suite.
By default, --enable-docs is disabled and documentation is not built.
2.2 Build with Cygnus one-tree release
[NOTE: This section does not apply anymore.]
To build and install RTEMS with the one-tree structure, just copy the rtems
directory to the tree. The one-tree configure.in and Makefile.in has to be
replaced with the RTEMS-aware versions. The build options are the same as
for the standalone build.
2.3 Target Dependent Notes
bare:
1. See the README in the bare bsp source directory. This should
contain all info you need.
2. The bare bsp source contains a script to show how to build it.
3. The configure flags must be used to get the bare bsp to work.
The --enable-bare-cpu-model and --enable-bare-cpu-cflags are the
only pieces of information. The module is usually a gcc module
such as m68302 or mcpu32. The flags are passed directly to gcc.
Use "" if more than one option is specified.
3. To use the installed RTEMS library
=====================================
To use the installed RTEMS bsps to build applications, the application
makefile has to include a bsp-specific makefile that will define the
RTEMS variables necessary to find include files and libraries. The
bsp-specific makefile is installed at
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
For the erc32 bsp installed at /usr/local/cross, the environment
variable RTEMS_MAKEFILE_PATH would be set as follows to the
following:
/usr/local/cross/sparc-rtems/rtems/erc32/Makefile.inc
4. Supported target bsps
========================
The following bsps are supported:
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
arm : arm_bare_bsp armulator csb336 csb337 edb7312 gp32 vegaplus
c4x : c3xsim c4xsim
h8300 : h8sim
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
NOTE: The "pc386" BSP can be compiled to support a
variety of PC configurations including PC-104
based solutions.
m68k : av5282 csb360 dmv152 gen68302 gen68340 gen68360 gen68360_040
idp mcf5206elite mcf5235 mrm332 mvme136 mvme147 mvme147s
mvme162 mvme162lx ods68302 sim68000 simcpu32 uC5282
no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev
p4600 p4650 (p4000 port with either R4600 or R4650)
jmr3904
powerpc : ep1a gen405 helas403 mcp750 mbx8xx mtx603e
mpc8260ads mvme230x mvme5500 psim score603e ss555
NOTE: The "motorola_powerpc" BSP is a single BSP which
can be conditionally compiled to support most Motorola
VMEbus, CompactPCI, and MTX boards.)
sh : gensh1 gensh2 shsim simsh4 gensh4
sparc : erc32 erc32nfp leon1 leon2
any : bare
The following ports were considered obsoleted after the 4.6 releases
and were removed: a29k, hppa, i960, mips64orion, and or32.
5. Makefile structure
=====================
The makefiles have been re-organized. Most gnu-based bsps now use three
main makefiles:
+ custom/default.cfg,
+ custom/bsp.cfg and
+ compilers/gcc-target-default.cfg.
Default.cfg sets the default values of certain common build options.
Bsp.cfg set bsp-specific build options and can also override the
default settings.
Gcc-target-default.cfg contains the common gcc definitions.
6. Adding a bsp
===============
Please refer to the BSP and Device Driver Guide.
7. Tested configurations
========================
All gnu-based bsps have been built on Linux.
The native (posix) ports have been built and run only on Linux.
The following configurations have NOT been tested:
+ Anything on Nextstep, HPUX and Irix.
+ The C4x and OR32 ports (requires specially patched toolchain)
8. Prerequisites
================
Gawk version 2 or higher.
GNU make version 3.72 or higher.
Bash.
gcc version > 2.8
NOTE: These prerequisites are probably out of date but autoconf should detect
any problems.

22
SUPPORT Normal file
View File

@@ -0,0 +1,22 @@
#
# $Id$
#
On-Line Applications Research Corporation (OAR) offers support,
customization, and training for RTEMS. Custom RTEMS development services
includes porting RTEMS to new processors and the development of custom board
support packages and device drivers. In addition, OAR is available
to assist in the development of your real-time embedded application.
For more information, email Mark Johannes at mark.johannes@OARcorp.com
or contact OAR at:
On-Line Applications Research Corporation
4910-L Corporate Drive
Huntsville AL 35805
Voice: (205) 722-9985
Fax: (205 722-0985
RTEMS maintenance and development is funded solely by RTEMS users.
The future of RTEMS depends on its user base.

7
VERSION Normal file
View File

@@ -0,0 +1,7 @@
#
# This file is automatically generated -- DO NOT EDIT!!!
#
# $Id$
#
RTEMS Version 4.7.1

View File

@@ -14,7 +14,7 @@ dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
AC_DEFUN([_RTEMS_ARG_VAR],
[
m4_expand_once([m4_divert_once([HELP_VAR],
[AS_HELP_STRING([$1], [$2], [ ])])],
[AC_HELP_STRING([$1], [$2], [ ])])],
[$0($1)])dnl
])
@@ -211,7 +211,7 @@ if test "$no_recursion" != yes; then
esac
ac_popdir=`pwd`
for ac_dir in : $$1_configdirs; do test "x$ac_dir" = x: && continue
for ac_dir in $$1_configdirs; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.

View File

@@ -1,14 +1,39 @@
dnl
dnl $Id$
dnl
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl Internal subroutine to RTEMS_BSP_ALIAS
AC_DEFUN([_RTEMS_BSP_ALIAS],
[# account for "aliased" bsps which share source code
for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
$2=`echo "$bsp_cfgs" | sed \
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
-e "s,/make/custom/.*\.cfg$,,"`
break
done
])
case $1 in
bare*) $2=bare ;; # EXP: bare-aliases
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
erc32nfp) $2=erc32 ;; # erc32 without fpu
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
leon1) $2=leon2 ;; # leon without fpu
mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
mvme2100) $2=motorola_powerpc ;; # Motorola PPC board variant
mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
p4600) $2=p4000 ;; # mips - p4000 board w/IDT 4600
p4650) $2=p4000 ;; # mips - p4000 board w/IDT 4650
pc386dx) $2=pc386 ;; # i386 - PC w/o FPU
pc486) $2=pc386 ;; # i386 - PC with i486DX
pc586) $2=pc386 ;; # i386 - PC with Pentium
pc686) $2=pc386 ;; # i386 - PC with PentiumPro
pck6) $2=pc386 ;; # i386 - PC with K6
brs5l*) $2=gen5200 ;; # MPC5200 based board
pm520*) $2=gen5200 ;; # MPC5200 based board
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
simsh7032) $2=shsim ;; # SH7032 simulator
simsh7045) $2=shsim ;; # SH7045 simulator
sis) $2=erc32 ;; # erc32 SIS simulator
*) $2=$1;;
esac]
)
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
@@ -9,9 +13,25 @@ AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
AC_CANONICAL_TARGET
AC_MSG_CHECKING(rtems target cpu)
case "${target}" in
# hpux unix port should go here
i[[34567]]86-*linux*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[[34567]]86-*freebsd*) # unix "simulator" port
RTEMS_CPU=unix
;;
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_CPU=unix
;;
no_cpu-*rtems*)
RTEMS_CPU=no_cpu
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_CPU=unix
;;
tic4x-*rtems*) # gcc changed the name
RTEMS_CPU=c4x
;;
*)
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Report all available bsps for a target within the source tree
dnl
dnl RTEMS_CHECK_BSPS(bsp_list)
@@ -10,14 +12,30 @@ AC_MSG_CHECKING([for available BSPs])
$1=
for bsp_spec in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU"/*/bsp_specs 2>/dev/null`; do
bsp_family=`echo "$bsp_spec" | sed \
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
-e "s,/bsp_specs$,,"`
for bsp_cfgs in `ls "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/"*.cfg 2>/dev/null`; do
bsp_cfg=`echo "$bsp_cfgs" | sed \
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$bsp_family/make/custom/,," \
-e "s,\.cfg$,,"`
$1="[$]$1 $bsp_cfg"
done
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
-e "s,/bsp_specs$,,"`
case $bsp_family in
# Now account for BSPs with build variants
c4xsim) bsps="c4xsim c3xsim";;
gen68360) bsps="gen68360 gen68360_040";;
p4000) bsps="p4600 p4650";;
mvme162) bsps="mvme162 mvme162lx";;
mbx8xx) bsps="mbx821_001 mbx860_001b"
bsps="$bsps mbx821_002 mbx821_002b"
bsps="$bsps mbx860_1b"
bsps="$bsps mbx860_002"
bsps="$bsps mbx860_005b"
;;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l";;
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
erc32) bsps="erc32 erc32nfp sis";;
leon2) bsps="leon1 leon2";;
sim68000) bsps="sim68000 simcpu32";;
shsim) bsps="simsh7032 simsh7045";;
*) bsps="$bsp_family";;
esac;
$1="[$]$1 $bsps"
done
AS_IF([test -z "[$]$1"],
[AC_MSG_RESULT([none])],

View File

@@ -1,17 +1,24 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
$2=
for i in \
`ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
AC_MSG_CHECKING([for $1])
for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/"$1" \
"${srcdir}/${RTEMS_TOPdir}/make/custom/$1";
do
AS_IF([test -r $i],[
$2="$i"
break;
])
done
AS_IF([test -n "[$]$2"],
[AC_MSG_RESULT([[$]$2])],
[AC_MSG_RESULT([no])])
])
AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
_RTEMS_CHECK_CUSTOM_BSP([[$]$1],[BSP_FOUND])
AC_REQUIRE([RTEMS_TOP])
_RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
])

View File

@@ -1,7 +1,9 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_CXX],
[
AC_ARG_ENABLE(cxx,
[AS_HELP_STRING([--enable-cxx],
[AC_HELP_STRING([--enable-cxx],
[enable C++ support and build the rtems++ library])],
[case "${enable_cxx}" in
yes) RTEMS_HAS_CPLUSPLUS=yes ;;

View File

@@ -1,12 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_DRVMGR],
[
## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
AC_ARG_ENABLE(drvmgr,
[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
[case "${enableval}" in
yes) RTEMS_DRVMGR_STARTUP=yes ;;
no) RTEMS_DRVMGR_STARTUP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
esac],[RTEMS_DRVMGR_STARTUP=yes])
])

11
aclocal/enable-inlines.m4 Normal file
View File

@@ -0,0 +1,11 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_INLINES],
[AC_ARG_ENABLE(rtems-inlines,
AC_HELP_STRING([--enable-rtems-inlines],[enable RTEMS inline functions (default:enabled, disable to use macros)]),
[case "${enableval}" in
yes) enable_rtems_inlines=yes ;;
no) enable_rtems_inlines=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rtems-inlines option) ;;
esac],[enable_rtems_inlines=yes])
])

14
aclocal/enable-itron.m4 Normal file
View File

@@ -0,0 +1,14 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_ITRON],
[
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
AC_ARG_ENABLE(itron,
[AC_HELP_STRING([--enable-itron],[enable itron interface])],
[case "${enableval}" in
yes) RTEMS_HAS_ITRON_API=yes ;;
no) RTEMS_HAS_ITRON_API=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
esac],[RTEMS_HAS_ITRON_API=yes])
])

View File

@@ -1,10 +1,10 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
[
AC_ARG_ENABLE(multiprocessing,
[AS_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface; the multiprocessing interface is a
communication interface between different RTEMS instances and allows
synchronization of objects via message passing])],
[AC_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface])],
[case "${enable_multiprocessing}" in
yes) ;;
no) ;;

View File

@@ -1,9 +1,11 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
AC_ARG_ENABLE(networking,
[AS_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
[case "${enableval}" in
yes) RTEMS_HAS_NETWORKING=yes ;;
no) RTEMS_HAS_NETWORKING=no ;;

View File

@@ -1,13 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_PARAVIRT],
[
AC_ARG_ENABLE(paravirt,
[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
(default=no)])],
[case "${enableval}" in
yes) RTEMS_HAS_PARAVIRT=yes ;;
no) RTEMS_HAS_PARAVIRT=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;;
esac],[RTEMS_HAS_PARAVIRT=no])
])

View File

@@ -1,9 +1,11 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_POSIX],
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
AC_ARG_ENABLE(posix,
[AS_HELP_STRING([--enable-posix],[enable posix interface])],
[AC_HELP_STRING([--enable-posix],[enable posix interface])],
[case "${enableval}" in
yes) RTEMS_HAS_POSIX_API=yes ;;
no) RTEMS_HAS_POSIX_API=no ;;
@@ -11,9 +13,19 @@ AC_ARG_ENABLE(posix,
esac],[RTEMS_HAS_POSIX_API=yes])
case "${host}" in
# hpux unix port should go here
i[[34567]]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
i[[34567]]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_POSIX_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
*)
;;
esac

15
aclocal/enable-rdbg.m4 Normal file
View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_RDBG],
[
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
AC_ARG_ENABLE(rdbg,
[AC_HELP_STRING([--enable-rdbg],[enable remote debugger])],
[case "${enableval}" in
yes) RTEMS_HAS_RDBG=yes ;;
no) RTEMS_HAS_RDBG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
esac],[RTEMS_HAS_RDBG=no])
AC_SUBST(RTEMS_HAS_RDBG)dnl
])

View File

@@ -1,7 +1,9 @@
## $Id$
AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
[
AC_ARG_ENABLE(rtems-debug,
AS_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
[case "${enable_rtems_debug}" in
yes) enable_rtems_debug=yes ;;
no) enable_rtems_debug=no ;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
@@ -5,7 +7,7 @@ AC_DEFUN([RTEMS_ENABLE_RTEMSBSP],
[
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
AC_ARG_ENABLE(rtemsbsp,
[AS_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
[BSPs to include in build])],
[case "${enable_rtemsbsp}" in
yes ) enable_rtemsbsp="" ;;

View File

@@ -1,21 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_SMP],
[
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
])

View File

@@ -1,7 +1,9 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_TESTS],
[
AC_ARG_ENABLE(tests,
[AS_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
[AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])],
[case "${enableval}" in
samples) enable_tests=samples;;
yes) enable_tests=yes ;;

View File

@@ -5,7 +5,7 @@ dnl parts of these macros are derived from newlib-1.8.2's multilib support
AC_DEFUN([RTEMS_ENABLE_MULTILIB],
[
AC_ARG_ENABLE(multilib,
AS_HELP_STRING([--enable-multilib],
AC_HELP_STRING([--enable-multilib],
[build many library versions (default=no)]),
[case "${enableval}" in
yes) multilib=yes ;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_PATH_KSH],
[
dnl NOTE: prefer bash over ksh over sh

View File

@@ -1,9 +1,13 @@
dnl
dnl $Id$
dnl
dnl
dnl PROJECT_TOPdir .. relative path to the top of the build-tree
dnl PROJECT_ROOT .. relative path to the top of the temporary
dnl installation directory inside the build-tree
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.ac to the
dnl toplevel configure.ac of the source-tree
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.in to the
dnl toplevel configure.in of the source-tree
dnl RTEMS_ROOT .. path to the top of a bsp's build directory
dnl [Applied by custom/*.cfg, depredicated otherwise]
dnl
@@ -14,8 +18,5 @@ AC_REQUIRE([RTEMS_TOP])
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
AC_SUBST(PACKHEX)
BIN2C="\$(PROJECT_TOPdir)/tools/build/rtems-bin2c"
AC_SUBST(BIN2C)
])

View File

@@ -2,19 +2,19 @@ AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
AC_ARG_ENABLE([rpmprefix],
[ --enable-rpmprefix=<rpmprefix> prefix rpms],
[case $enable_rpmprefix in
yes ) rpmprefix="rtems-"]_RTEMS_API["-";;
yes ) rpmprefix="rtems-"]RTEMS_API["-";;
no ) rpmprefix="%{nil}";;
* ) AS_IF([test -z "$enable_rpmprefix"],
[rpmprefix="%{nil}"],
[rpmprefix="$enable_rpmprefix"]);;
esac],
[rpmprefix="rtems-"]_RTEMS_API["-"])
[rpmprefix="rtems-"]RTEMS_API["-"])
AC_ARG_ENABLE([osversions],
[ --enable-osversions whether to use version numbers in os-tripples],
[case $enable_osversions in
yes ) osversion=_RTEMS_API;;
yes ) osversion=RTEMS_API;;
* ) osversion=;;
esac],
[osversion=_RTEMS_API])
[osversion=RTEMS_API])
])

View File

@@ -1,20 +1,18 @@
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl $Id$
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN([RTEMS_TOP],
[dnl
AC_REQUIRE([RTEMS_VERSIONING])
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
RTEMS_TOPdir="$1";
AC_SUBST(RTEMS_TOPdir)
@@ -29,6 +27,4 @@ AC_SUBST(PROJECT_ROOT)
AC_MSG_CHECKING([for RTEMS Version])
AC_MSG_RESULT([_RTEMS_VERSION])
pkgdatadir="${datadir}"/rtems[]_RTEMS_API;
AC_SUBST([pkgdatadir])
])dnl

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.11.1.99]))
m4_define([_RTEMS_VERSION],[4.7.1]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.7])

View File

@@ -1,5 +1,7 @@
#! /usr/bin/env perl
#
#! /usr/bin/perl -w
# $Id$
# Copyright (C) 2005, 2006 Ralf Corsépius, Ulm, Germany
#
# Permission to use, copy, modify, and distribute this software
@@ -9,7 +11,7 @@
#
# Usage: ampolish3 Makefile.am > preinstall.am
#
# Reads a Makefile.am from stdin and writes corresponding
# Reads a Makefile.am from stdin and writes corresponding
# pre/tmpinstall rules to stdout.
sub replace($);
@@ -85,7 +87,7 @@ foreach my $l ( @buffer1 ) {
push @buffer2, "$l";
$dirmap{"\$\($1\)"} = replace($2);
} elsif ( $l =~ /^\s*noinst_(.*)\s*[\+]?\=(.*)$/o )
{
{
#ignore: noinst_* are not relevant here.
} elsif ( $l =~ /^\s*(nodist_|dist_|)(project_|)([a-zA-Z0-9_]+)_(HEADERS|LIBRARIES|DATA|SCRIPTS|PROGRAMS)\s*([\+]?\=)\s*(.*)/o )
{
@@ -217,7 +219,7 @@ $output .= "\$(srcdir)/preinstall.am: Makefile.am\n";
$output .= "\t\$(AMPOLISH3) \$(srcdir)/Makefile.am > \$(srcdir)/preinstall.am\n";
$output .= "endif\n\n";
foreach my $k ( sort keys %seen )
foreach my $k ( keys %seen )
{
if ( $k =~ /PREINSTALL_FILES/o ) {
$output .= "all-am: \$(PREINSTALL_FILES)\n\n";
@@ -258,7 +260,7 @@ exit 0;
sub replace($)
{
my ($v) = @_;
foreach my $i ( sort keys %dirmap )
foreach my $i ( keys %dirmap )
{
$v =~ s/\Q$i/$dirmap{$i}/g;
}

View File

@@ -1,3 +1,5 @@
## $Id$
## NOTE: This is a temporary work-around to keep
## RTEMS's non automake standard make targets working.
## Once automake is fully integrated these make targets

View File

@@ -1,3 +1,5 @@
## $Id$
preinstall-am: $(PREINSTALL_FILES)
preinstall: preinstall-am
.PHONY: preinstall preinstall-am

View File

@@ -1,3 +1,5 @@
## $Id$
## Borrowed from automake-1.4 and adapted to RTEMS
## NOTE: This is a temporary work-around to keep

153
bootstrap
View File

@@ -1,22 +1,23 @@
#!/bin/sh
#! /bin/sh
#
# helps bootstrapping, when checked out from CVS
# requires GNU autoconf and GNU automake
#
# $Id$
# this is not meant to be exported outside the source tree
#
# NOTE: Inspired by libtool's autogen script
#
# to be run from the toplevel directory of RTEMS'
# source tree
progname=`basename $0`
top_srcdir=`dirname $0`
verbose=""
verbose="";
quiet="false"
mode="autoreconf"
force=0
mode="generate"
usage()
{
@@ -30,7 +31,7 @@ usage()
echo " -q .. quiet, don't display directories"
echo " -v .. verbose, pass -v to autotools"
echo
exit 1
exit 1;
}
generate_bspdir_acinclude()
@@ -42,7 +43,7 @@ AC_DEFUN([RTEMS_CHECK_BSPDIR],
case "\$1" in
EOF
for i in `LANG=C LC_COLLATE=C ls */bsp_specs | sort`; do
for i in */bsp_specs; do
d=`dirname $i`
cat << EOF >> acinclude.m4~
$d )
@@ -56,7 +57,7 @@ cat << EOF >> acinclude.m4~
])
EOF
if cmp -s acinclude.m4 acinclude.m4~ 2>/dev/null; then
echo "acinclude.m4 is unchanged"
echo "acinclude.m4 is unchanged";
else
cp acinclude.m4~ acinclude.m4
fi
@@ -66,7 +67,7 @@ rm -f acinclude.m4~
if test ! -f $top_srcdir/aclocal/version.m4; then
echo "${progname}:"
echo " Installation problem: Can't find file aclocal/version.m4"
exit 1
exit 1;
fi
while test $# -gt 0; do
@@ -74,38 +75,32 @@ case $1 in
-h|--he|--hel|--help)
usage ;;
-q|--qu|--qui|--quie|--quiet)
quiet="true"
quiet="true";
shift;;
-v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose="-v"
verbose="-v";
shift;;
-c|--cl|--cle|--clea|--clean)
mode="clean"
shift;;
-f|--fo|--for|--forc|--force)
force=`expr $force + 1`
mode="clean";
shift;;
-p|--pr|--pre|--prei|--prein|--preins|--preinst)
mode="preinstall"
mode="preinstall";
shift;;
-r|--re|--rec|--reco|--recon|--reconf)
mode="autoreconf"
mode="autoreconf";
shift;;
-g|--ge|--gen|--gene|--gener|--genera|--generat|--generate)
mode="generate"
shift;;
-*) echo "unknown option $1"
-*) echo "unknown option $1" ;
usage ;;
*) echo "invalid parameter $1"
*) echo "invalid parameter $1" ;
usage ;;
esac
done
case $mode in
preinstall)
confs=`find . -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
confs=`find -name Makefile.am -exec grep -l 'include .*/preinstall\.am' {} \;`
for i in $confs; do
dir=$(dirname $i)
dir=$(dirname $i);
test "$quite" = "true" || echo "Generating $dir/preinstall.am"
${top_srcdir}/ampolish3 "$dir/Makefile.am" > "$dir/preinstall.am"
done
@@ -117,19 +112,19 @@ generate)
echo "You must have autoconf installed to run $program"
exit 1
fi
AUTOHEADER=${AUTOHEADER-autoheader}
if test -z "$AUTOHEADER"; then
echo "You must have autoconf installed to run $program"
exit 1
fi
AUTOMAKE=${AUTOMAKE-automake}
if test -z "$AUTOMAKE"; then
echo "You must have automake installed to run $program"
exit 1
fi
ACLOCAL=${ACLOCAL-aclocal}
if test -z "$ACLOCAL"; then
echo "You must have automake installed to run $program"
@@ -145,23 +140,23 @@ generate)
confs=`find . \( -name 'configure.in' -o -name 'configure.ac' \) -print`
for i in $confs; do
dir=`dirname $i`
configure=`basename $i`
( test "$quiet" = "true" || echo "$dir"
cd $dir
dir=`dirname $i`;
configure=`basename $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
generate_bspdir_acinclude
generate_bspdir_acinclude;
pat="s,\$(RTEMS_TOPdir),${aclocal_dir},g"
aclocal_args=`grep '^[ ]*ACLOCAL_AMFLAGS' Makefile.am | \
sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat `
sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat ` ;
test "$verbose" = "-v" && echo "${ACLOCAL} $aclocal_args"
${ACLOCAL} $aclocal_args
${ACLOCAL} $aclocal_args;
test -n "`grep CONFIG_HEADER ${configure}`" && ${AUTOHEADER} \
&& test "$verbose" = "-v" && echo "${AUTOHEADER}"
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
test -n "`grep RTEMS_BSP_CONFIGURE ${configure}`" && ${AUTOHEADER} \
&& test "$verbose" = "-v" && echo "${AUTOHEADER}"
test -f Makefile.am && ${AUTOMAKE} -a -c $verbose
${AUTOCONF}
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
test -f Makefile.am && ${AUTOMAKE} -a -c $verbose ;
${AUTOCONF};
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
@@ -177,13 +172,13 @@ autoreconf)
confs=`find . -name 'configure.ac' -print`
for i in $confs; do
dir=`dirname $i`
configure=`basename $i`
( test "$quiet" = "true" || echo "$dir"
cd $dir
dir=`dirname $i`;
configure=`basename $i`;
( test "$quiet" = "true" || echo "$dir";
cd $dir;
test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
generate_bspdir_acinclude
${AUTORECONF} -i --no-recursive $verbose
generate_bspdir_acinclude;
${AUTORECONF} -i --no-recursive $verbose;
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
&& echo timestamp > stamp-h.in
)
@@ -192,58 +187,28 @@ autoreconf)
clean)
test "$quiet" = "true" || echo "removing automake generated Makefile.in files"
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing configure files"
files=`find . -name 'configure' -print`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
if test $force -gt 0; then
needles=""
if test $force -gt 1; then
# Manually maintained
needles="$needles config.sub"
needles="$needles config.guess"
fi
if test $force -gt 0; then
# Inherited from automake
needles="$needles compile"
needles="$needles depcomp"
needles="$needles install-sh"
needles="$needles missing"
needles="$needles mdate-sh"
fi
for j in $needles; do
files=`find . -name "$j" -print`
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
done
fi
files=`find . -name 'configure' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i config.sub config.guess depcomp install-sh mdate-sh missing \
mkinstalldirs texinfo.tex compile
test "$verbose" = "-v" && echo "$i"
fi; done
test "$quiet" = "true" || echo "removing aclocal.m4 files"
files=`find . -name 'aclocal.m4' -print`
test "$verbose" = "-v" && test -n "$files" && echo "$files"
for i in $files; do
if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi
done
files=`find . -name 'aclocal.m4' -print` ;
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
for i in $files; do if test -f $i; then
rm -f $i
test "$verbose" = "-v" && echo "$i"
fi; done
find . -name '*~' -print | xargs rm -f
find . -name 'bspopts.h.in' -print | xargs rm -f

14
c/.cvsignore Normal file
View File

@@ -0,0 +1,14 @@
aclocal.m4
autom4te*.cache
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
Makefile
Makefile.in
missing
mkinstalldirs

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
RTEMS was developed by On-Line Applications Research (OAR) under
contract to the U.S. Army Missile Command. Other than the
contributions listed in this document, all code and documentation

213
c/ChangeLog Normal file
View File

@@ -0,0 +1,213 @@
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require automake-1.10. Require autoconf-2.60.
2006-08-09 Kolja Waschk <waschk@telos.de>
* TOOL_TARGETS: New port to Altera NIOS II.
2005-11-13 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove depend-am.
2004-10-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Rework checking for BSPs.
2004-10-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* acinclude.m4: Remove RTEMS_CHECK_CPU.
* configure.ac: Remove RTEMS_CHECK_CPU, RTEMS_ENABLE_BARE.
2004-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
2004-03-31 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add --with-project-root, --with-project-top to
rtems_bsp_configure.
2004-02-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Cosmetics.
* configure.ac: Add support for --disable-rtemsbsp. Cosmetics.
2004-01-07 Joel Sherrill <joel@OARcorp.com>
* ACKNOWLEDGEMENTS: Remove efi68k and efi332 references as they are no
longer in the tree.
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: Removed -- accidentally added to wrong directory.
2003-12-17 Joel Sherrill <joel@OARcorp.com>
* release_support: New file -- assistant to new cut_release script.
2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove RTEMS_BSP-subdir rule.
* configure.ac: Let AC_CONFIG_FILES(Makefile..) append explictit
rules for RTEMS_BSP-subdirs.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p instead of mkinstalldirs.
2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Require automake >= 1.8, autoconf >= 2.59.
2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Cosmetics.
* Makefile.am: Cosmetics.
2003-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Fix underquoting to silence automake-1.8.
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: Merge-in former ../aclocal/config-subdirs.m4.
* configure.ac: remove RTEMS_CANONICAL_HOST.
2003-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't explictly invoke $MAKE preinstall.
2003-10-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: New.
Add RTEMS_CHECK_CPU.
2003-09-26 Joel Sherrill <joel@OARcorp.com>
* ACKNOWLEDGEMENTS: Obsoleting HP PA-RISC port and removing all
references.
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_CONFIG_AUX_DIR.
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-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2002-11-07 Joel Sherrill <joel@OARcorp.com>
* TOOL_TARGETS: Updated.
* PROBLEMS, README, REQUIRES, TESTED, UPDATE_HELP: Removed
since they were obsolete.
2002-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkinstalldirs instead of mkdir.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix --enable-rtemsbsp= handling.
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove make from SUBDIRS.
* configure.ac: Remove make from CONFIG_SUBDIRS, cosmetics.
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Corrected the name of the MRM332 BSP.
2001-05-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Updated the list of BSPs.
* TOOLS_TARGETS: Updated the list of tools and object formats.
2001-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use ${MAKE} in message at the end of the
configure.in.
2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Apply _RTEMS_ADJUST_SRCDIR.
2000-12-14 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added comment on 68en302 now that there is a network driver.
2000-11-25 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added jmr3904 entry.
2000-11-20 Joel Sherrill <joel@OARcorp.com>
* TESTED: Added new sparc variations (erc32, leon, and Tharsys).
2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: catch -enable-rtemsbsp (Allowed by autoconf).
Autoconf allows one to pass -enable-*, but this file expected --enable*.
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to GNU-canonicalization.
2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Make sure $SHELL inside of Makefiles does not get
propagated to the BSP-subdirectories if a user specified CONFIG_SHELL.
2000-08-10 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.

View File

@@ -1,3 +1,7 @@
##
## $Id$
##
ACLOCAL_AMFLAGS = -I ../aclocal
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes
@@ -24,11 +28,6 @@ mips:
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
lm32:
lm32-elf ELF Big endian
NOTE: Currently there is no native lm32-rtems toolchain;
nios2:
nios2-elf ELF Little endian

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS

View File

@@ -1,14 +1,15 @@
## Process this file with autoconf to produce a configure script.
##
##
## $Id$
AC_PREREQ([2.69])
AC_INIT([rtems-c],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
AC_PREREQ(2.60)
AC_INIT([rtems-c],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
AC_CONFIG_SRCDIR([TOOL_TARGETS])
RTEMS_TOP(..)
RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE([no-define foreign 1.12.2])
AM_INIT_AUTOMAKE([no-define foreign 1.10])
AM_MAINTAINER_MODE
## These options are used within this file.
@@ -36,8 +37,14 @@ for _rtems_bsp in : $rtems_bsp; do test "x$_rtems_bsp" = x: && continue
# retrieve bsp_family
RTEMS_BSP_ALIAS([$_rtems_bsp],[rtems_bsp_family])
# Is there a configure script for the BSP?
AS_IF([test -r "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$rtems_bsp_family/configure"],
# Is there code where there should be for this BSP?
case $rtems_bsp_family in
bare ) rtems_libbspdir="$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/bare" ;;
* ) rtems_libbspdir="$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$rtems_bsp_family";;
esac
# Is there a configure script for the BSP?
AS_IF([test -r "$rtems_libbspdir/configure"],
[RTEMS_BSP_LIST="$RTEMS_BSP_LIST $_rtems_bsp"])
])
done
@@ -70,7 +77,7 @@ cat >> Makefile << BSPEOF
$bsp: src/configure
@set fnord \$(MAKEFLAGS); amf=\[$]\[$]2; \\
echo "Configuring RTEMS_BSP=$bsp"; \\
\$(MKDIR_P) $bsp; \\
\$(mkdir_p) $bsp; \\
( cd $bsp && \\
CONFIG_SHELL=\$(SHELL) RTEMS_BSP=$bsp \$(rtems_bsp_configure) ) \\
|| case "\$\$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;

14
c/src/.cvsignore Normal file
View File

@@ -0,0 +1,14 @@
aclocal.m4
autom4te*.cache
config.cache
config.guess
config.log
config.status
config.sub
configure
depcomp
install-sh
Makefile
Makefile.in
missing
mkinstalldirs

3262
c/src/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,7 @@
##
## $Id$
##
ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS = . @BSP_SUBDIRS@
@@ -9,7 +13,7 @@ clean-local:
make/@RTEMS_BSP@.cache: make/bsp.mak @CUSTOM_CFG_FILES@
$(RM) make/@RTEMS_BSP@.cache
$(MAKE) -f ${srcdir}/make/bsp.mak \
'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_ROOT=.' \
'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_HOST=@RTEMS_HOST@' 'RTEMS_ROOT=.' 'BARE_CPU_MODEL=${BARE_CPU_MODEL}' \
make/@RTEMS_BSP@.cache
noinst_DATA = make/@RTEMS_BSP@.cache
@@ -20,6 +24,9 @@ rtems_make_customdir = $(rtems_makedir)/custom
rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
DISTCLEANFILES += @CUSTOM_CFG_FILES@
make/custom/default.cfg: $(srcdir)/make/custom/default.cfg.in
cp $< $@
noinst_DATA += make/custom/default.cfg
DISTCLEANFILES += make/custom/default.cfg

View File

@@ -1,3 +1,7 @@
#
# $Id$
#
This is the top level directory of the C RTEMS environment. The
following is a description of the contents of each file and
subdirectory directly in this directory:

View File

@@ -1,3 +1,5 @@
# $Id$
#
# Some hacks for handling special config subdirectories
#
# Note: Consider this file a temporary band-aid until a better, more general

View File

@@ -1,18 +0,0 @@
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl Internal subroutine to RTEMS_BSP_ALIAS
AC_DEFUN([_RTEMS_BSP_ALIAS],
[# account for "aliased" bsps which share source code
for bsp_cfgs in `ls "$srcdir"/"$RTEMS_TOPdir"/c/src/lib/libbsp/"$RTEMS_CPU"/*/"make/custom/$1.cfg" 2>/dev/null`; do
$2=`echo "$bsp_cfgs" | sed \
-e "s,^$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/,," \
-e "s,/make/custom/.*\.cfg$,,"`
break
done
])
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
AC_DEFUN([RTEMS_BSP_ALIAS],
[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
)

View File

@@ -1,3 +1,4 @@
dnl $Id$
dnl
dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
dnl

View File

@@ -1,17 +0,0 @@
dnl
dnl BSP_BOOTCARD_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by boot_card()
dnl and other required parts of the BSP Framework. Currently, this is
dnl
dnl - Can optionally dirty memory at boot time.
dnl
dnl To be used in bsp-configure scripts
AC_DEFUN([RTEMS_BSP_BOOTCARD_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
[If defined, then the BSP Framework will put a non-zero pattern into
the RTEMS Workspace and C program heap. This should assist in finding
code that assumes memory starts set to zero.])
])

View File

@@ -1,31 +0,0 @@
dnl
dnl BSP_CLEANUP_OPTIONS - some autoconf voodoo to provide each BSPs'
dnl configure script with the standard options supported by the shared
dnl implementation of bsp_cleanup().
dnl
dnl - Can optionally dirty memory at boot time.
dnl
dnl To be used in bsp-configure scripts
dnl USAGE:
dnl RTEMS_BSP_CLEANUP_OPTIONS([0|1], [0|1], [0|1])
dnl WHERE:
dnl argument 1 indicates the default value for BSP_PRESS_KEY_FOR_RESET
dnl argument 2 indicates the default value for BSP_RESET_BOARD_AT_EXIT
dnl argument 3 indicates the default value for BSP_PRINT_EXCEPTION_CONTEXT
AC_DEFUN([RTEMS_BSP_CLEANUP_OPTIONS],[
RTEMS_BSPOPTS_SET([BSP_PRESS_KEY_FOR_RESET],[*],[$1])
RTEMS_BSPOPTS_HELP([BSP_PRESS_KEY_FOR_RESET],
[If defined, print a message and wait until pressed before resetting
board when application exits.])
RTEMS_BSPOPTS_SET([BSP_RESET_BOARD_AT_EXIT],[*],[$2])
RTEMS_BSPOPTS_HELP([BSP_RESET_BOARD_AT_EXIT],
[If defined, reset the board when the application exits.])
RTEMS_BSPOPTS_SET([BSP_PRINT_EXCEPTION_CONTEXT],[*],[$3])
RTEMS_BSPOPTS_HELP([BSP_PRINT_EXCEPTION_CONTEXT],
[If defined, prints the exception context when an unexpected exception occurs.])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl RTEMS_BSP_CONFIGURE
dnl Common macro to be included by all bsp-configure.acs
AC_DEFUN([RTEMS_BSP_CONFIGURE],
@@ -32,6 +34,4 @@ echo "#endif /* __BSP_OPTIONS_H */" >>$tmp/config.h
RTEMS_PROJECT_ROOT
RTEMS_CHECK_MULTIPROCESSING
RTEMS_BSP_BOOTCARD_OPTIONS
])

View File

@@ -1,17 +0,0 @@
dnl Install a BSP's linkcmds from the source-tree into the build-tree
AC_DEFUN([RTEMS_BSP_LINKCMDS],[
LINKCMDS=
for f in "${srcdir}/startup/linkcmds.${RTEMS_BSP}" \
"${srcdir}/startup/linkcmds.${RTEMS_BSP_FAMILY}" \
"${srcdir}/startup/linkcmds";
do
AS_IF([test -f "$f"],[
LINKCMDS="$f"
break])
done
AS_IF([test -z "${LINKCMDS}"],[
AC_MSG_ERROR([can not determine linkcmds])])
AC_CONFIG_LINKS([startup/linkcmds:${LINKCMDS}])
])

View File

@@ -1,4 +1,6 @@
dnl $Id$
dnl
dnl RTEMS_BSPOPTS_* - some autoconf voodoo to handle default values and
dnl help-strings for per-BSP-environment variables.
@@ -27,7 +29,7 @@ dnl appropriate /bin/sh-magic to "configure" to have VAR set up.
AC_DEFUN([RTEMS_BSPOPTS_HELP],[
RTEMS_ARG_VAR([$1],[$2])
m4_ifdef([_$1],[
case "${RTEMS_BSP}" in
case ${RTEMS_BSP} in
_$1[]dnl
esac],[])
if test -n "[$]{$1}"; then[]dnl
@@ -62,21 +64,3 @@ m4_expand_once([m4_divert_once([HELP_VAR],
[AS_HELP_STRING([$1],[$2], )])],
[$0($1)])dnl
])
AC_DEFUN(
[RTEMS_BSPOPTS_SET_DATA_CACHE_ENABLED],
[RTEMS_BSPOPTS_SET([BSP_DATA_CACHE_ENABLED],[$1],[$2])])
AC_DEFUN(
[RTEMS_BSPOPTS_HELP_DATA_CACHE_ENABLED],
[RTEMS_BSPOPTS_HELP([BSP_DATA_CACHE_ENABLED],
[enables the data cache, if defined to a value other than zero])])
AC_DEFUN(
[RTEMS_BSPOPTS_SET_INSTRUCTION_CACHE_ENABLED],
[RTEMS_BSPOPTS_SET([BSP_INSTRUCTION_CACHE_ENABLED],[$1],[$2])])
AC_DEFUN(
[RTEMS_BSPOPTS_HELP_INSTRUCTION_CACHE_ENABLED],
[RTEMS_BSPOPTS_HELP([BSP_INSTRUCTION_CACHE_ENABLED],
[enables the instruction cache, if defined to a value other than zero])])

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl canonicalize target cpu
dnl NOTE: Most rtems targets do not fullfil autoconf's
dnl target naming conventions "processor-vendor-os"
@@ -5,19 +9,41 @@ dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them
dnl and we have to fix it for rtems ourselves
AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU],
[AC_REQUIRE([AC_CANONICAL_HOST])
[
AC_CANONICAL_HOST
AC_MSG_CHECKING(rtems target cpu)
case "${host}" in
*-*-rtems*)
RTEMS_CPU="$host_cpu";;
*)
# hpux unix port should go here
i[[34567]]86-*linux*) # unix "simulator" port
RTEMS_CPU=unix
RTEMS_HOST=Linux
;;
i[[34567]]86-*freebsd*) # unix "simulator" port
RTEMS_CPU=unix
RTEMS_HOST=FreeBSD
;;
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
RTEMS_CPU=unix
RTEMS_HOST=Cygwin
;;
no_cpu-*rtems*)
RTEMS_CPU=no_cpu
RTEMS_HOST=$host_os
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_CPU=unix
RTEMS_HOST=Solaris
;;
tic4x-*rtems*) # gcc changed the name
RTEMS_CPU=c4x
RTEMS_HOST=$host_os
;;
*)
RTEMS_CPU=`echo $host | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
RTEMS_HOST=$host_os
;;
esac
AS_IF([test -n "$RTEMS_CPU"],
[dnl
AC_MSG_RESULT($RTEMS_CPU)],
[dnl
AC_MSG_RESULT([<none>])
AC_MSG_ERROR([unsupported host $host])])
AC_SUBST(RTEMS_CPU)
AC_SUBST(RTEMS_HOST)
AC_MSG_RESULT($RTEMS_CPU)
])

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Set target tools
dnl
AC_DEFUN([RTEMS_CANONICALIZE_TOOLS],
[AC_REQUIRE([RTEMS_PROG_CC])dnl

View File

@@ -1,18 +1,22 @@
dnl $Id$
AC_DEFUN([_RTEMS_CHECK_CUSTOM_BSP],[
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl sets RTEMS_CPU, target
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
$2=
for i in \
`ls "${srcdir}/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}"/*/make/custom/$1 2>/dev/null`;
for i in "${srcdir}/${RTEMS_TOPdir}/bspkit/${RTEMS_CPU}"/*/cfg/$1 \
${srcdir}/${RTEMS_TOPdir}/make/custom/$1;
do
AC_MSG_CHECKING([for $i])
AS_IF([test -r $i],[
$2="$i"
break
AC_MSG_RESULT([yes])
break;
],[
AC_MSG_RESULT([no])
])
done
])
AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[
AC_REQUIRE([RTEMS_TOP])
_RTEMS_CHECK_CUSTOM_BSP([[$]$1.cfg],[BSP_FOUND])
AS_IF([test -z "$BSP_FOUND"],[
AC_MSG_ERROR([missing [$]$1.cfg])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_CXX],
[dnl
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING],
[dnl
AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_NETWORKING],
[dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
@@ -7,8 +9,7 @@ AC_CACHE_CHECK([whether BSP supports networking],
rtems_cv_HAS_NETWORKING,
[dnl
case "$RTEMS_CPU" in
# do not have address space to hold BSD TCP/IP stack
avr*|h8300*|m32c*)
unix*)
rtems_cv_HAS_NETWORKING="no"
;;
*)

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_POSIX_API],
[dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
@@ -7,6 +9,9 @@ AC_CACHE_CHECK([whether CPU supports libposix],
rtems_cv_HAS_POSIX_API,
[dnl
case "$RTEMS_CPU" in
unix*)
rtems_cv_HAS_POSIX_API="no"
;;
*)
if test "${RTEMS_HAS_POSIX_API}" = "yes"; then
rtems_cv_HAS_POSIX_API="yes";

View File

@@ -0,0 +1,33 @@
dnl $Id$
dnl
AC_DEFUN([RTEMS_CHECK_RDBG],
[dnl
AC_REQUIRE([RTEMS_TOP])dnl
AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl
AC_REQUIRE([RTEMS_CHECK_NETWORKING])dnl
AC_REQUIRE([RTEMS_ENABLE_RDBG])dnl
AC_CACHE_CHECK([whether BSP supports librdbg],
rtems_cv_HAS_RDBG,
[
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/${$1}";
then
rtems_cv_HAS_RDBG="yes" ;
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
then
rtems_cv_HAS_RDBG="yes" ;
elif test "${RTEMS_CPU}" = "powerpc";
then
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[],
[#if defined(_OLD_EXCEPTIONS)
choke me
#endif])],
[rtems_cv_HAS_RDBG=yes],
[rtems_cv_HAS_RDBG=no])
else
rtems_cv_HAS_RDBG="no";
fi
])
HAS_RDBG="$rtems_cv_HAS_RDBG"
])

View File

@@ -1,17 +0,0 @@
AC_DEFUN([RTEMS_CHECK_SMP],
[dnl
AC_REQUIRE([RTEMS_ENABLE_SMP])dnl
AC_CACHE_CHECK([whether CPU supports SMP],
rtems_cv_HAS_SMP,
[dnl
case "$RTEMS_CPU" in
*)
if test "${RTEMS_HAS_SMP}" = "yes"; then
rtems_cv_HAS_SMP="yes";
else
rtems_cv_HAS_SMP="disabled";
fi
;;
esac])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
## the un-prefixed version of PROG-TO-CHECK-FOR.
dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])

View File

@@ -1,9 +1,11 @@
dnl $Id$
dnl
dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS
dnl
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
dnl configure.ac.
dnl configure.in.
dnl
dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_CXX],
[
AC_ARG_ENABLE(cxx,

View File

@@ -1,12 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_DRVMGR],
[
## AC_BEFORE([$0], [RTEMS_CHECK_DRVMGR_STARTUP])dnl
AC_ARG_ENABLE(drvmgr,
[AS_HELP_STRING([--enable-drvmgr],[enable Driver Manager at Startup])],
[case "${enableval}" in
yes) RTEMS_DRVMGR_STARTUP=yes ;;
no) RTEMS_DRVMGR_STARTUP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-drvmgr option) ;;
esac],[RTEMS_DRVMGR_STARTUP=yes])
])

View File

@@ -1,10 +1,9 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING],
[
AC_ARG_ENABLE(multiprocessing,
[AS_HELP_STRING([--enable-multiprocessing],
[enable multiprocessing interface; the multiprocessing interface is a
communication interface between different RTEMS instances and allows
synchronization of objects via message passing])],
[AS_HELP_STRING(--enable-multiprocessing,enable multiprocessing interface)],
[case "${enable_multiprocessing}" in
yes) ;;
no) ;;

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_NETWORKING],
[
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_POSIX],
[
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
@@ -11,9 +13,19 @@ AC_ARG_ENABLE(posix,
esac],[RTEMS_HAS_POSIX_API=yes])
case "${host}" in
# hpux unix port should go here
i[[34567]]86-pc-linux*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
i[[34567]]86-*freebsd*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
no_cpu-*rtems*)
RTEMS_HAS_POSIX_API=no
;;
sparc-sun-solaris*) # unix "simulator" port
RTEMS_HAS_POSIX_API=no
;;
*)
;;
esac

View File

@@ -0,0 +1,15 @@
dnl $Id$
AC_DEFUN([RTEMS_ENABLE_RDBG],
[
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
AC_ARG_ENABLE(rdbg,
[AS_HELP_STRING(--enable-rdbg,enable remote debugger)],
[case "${enableval}" in
yes) RTEMS_HAS_RDBG=yes ;;
no) RTEMS_HAS_RDBG=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-rdbg option) ;;
esac],[RTEMS_HAS_RDBG=no])
AC_SUBST(RTEMS_HAS_RDBG)dnl
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Override the set of BSPs to be built.
dnl used by the toplevel configure script
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)

View File

@@ -1,21 +0,0 @@
AC_DEFUN([RTEMS_ENABLE_SMP],
[
## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl
AC_ARG_ENABLE(experimental-smp,
[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing
(SMP)])],
[case "${enableval}" in
yes) case "${RTEMS_CPU}" in
arm|powerpc|sparc|i386) RTEMS_HAS_SMP=yes ;;
*) RTEMS_HAS_SMP=no ;;
esac
;;
no) RTEMS_HAS_SMP=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;;
esac],[RTEMS_HAS_SMP=no])
AC_ARG_ENABLE(smp,
[],
[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])],
[])
])

View File

@@ -1,3 +1,5 @@
dnl $Id$
dnl Pass a single BSP via an environment variable
dnl used by per BSP configure scripts
AC_DEFUN([RTEMS_ENV_RTEMSBSP],
@@ -25,6 +27,8 @@ RTEMS_BSP="$rtems_cv_RTEMS_BSP"
AC_MSG_RESULT(${RTEMS_BSP})
AC_SUBST(RTEMS_BSP)
AM_CONDITIONAL([MULTILIB],[false])
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"

View File

@@ -1,3 +1,6 @@
dnl
dnl $Id$
dnl
dnl Check whether the gcc accepts -isystem
dnl

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -pipe
dnl
AC_DEFUN([RTEMS_GCC_PIPE],
[AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,4 +1,8 @@
dnl
dnl $Id$
dnl
dnl Check whether the target compiler accepts -specs
dnl
AC_DEFUN([RTEMS_GCC_SPECS],
[AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
dnl check for i386 gas supporting 16 bit mode
dnl - binutils 2.9.1.0.7 and higher

View File

@@ -1,3 +1,5 @@
dnl $Id$
AC_DEFUN([RTEMS_PATH_KSH],
[
dnl NOTE: prefer bash over ksh over sh

View File

@@ -1,3 +1,5 @@
# $Id$
#
# Some hacks for handling powerpc-exception subdirectories
#
# Note: Consider this file a temporary band-aid until a better, more general

View File

@@ -1,3 +1,5 @@
dnl
dnl $Id$
dnl
dnl Check for target gcc
dnl
@@ -33,6 +35,12 @@ GCCSPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
GCCSPECS="${GCCSPECS} -specs bsp_specs -qrtems"])
AC_SUBST(GCCSPECS)
if test "$GCC" = yes; then
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
fi
AC_SUBST(RTEMS_CFLAGS)
AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
@@ -40,7 +48,7 @@ AS_IF([test x"$rtems_cv_gcc_isystem" = xyes],[
AC_SUBST(RTEMS_CPPFLAGS)
AS_IF([test "$GCC" = yes],[
RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -r"
RTEMS_RELLDFLAGS="-qnolinkcmds -nostdlib -Wl,-r"
])
AC_SUBST(RTEMS_RELLDFLAGS)
])

View File

@@ -1,3 +1,5 @@
## $Id$
AC_DEFUN([RTEMS_PROG_CCAS],
[
AC_REQUIRE([RTEMS_PROG_CC])

View File

@@ -1,3 +1,5 @@
dnl
dnl $Id$
dnl
dnl Check for target g++
dnl
@@ -6,18 +8,11 @@ AC_DEFUN([RTEMS_PROG_CXX_FOR_TARGET],
[
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
AC_REQUIRE([RTEMS_ENABLE_CXX])
AC_REQUIRE([RTEMS_CHECK_SMP])
# If CXXFLAGS is not set, default to CFLAGS
if test x"$rtems_cv_HAS_SMP" = x"yes" ; then
CXXFLAGS=${CXXFLAGS-${CFLAGS} -std=gnu++11}
else
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
fi
RTEMS_CHECK_TOOL(CXX,g++)
if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
then
CXXFLAGS=${CXXFLAGS-${CFLAGS}}
dnl Only accept g++
dnl NOTE: This might be too restrictive
test -z "$CXX" \
@@ -29,7 +24,8 @@ AC_PROG_CXXCPP
AC_MSG_ERROR([***]
[Inconsistency in compiler configuration:]
[Target C compiler and target C++ compiler]
[must both either be cross compilers or native compilers])
[must both either be cross compilers or native compilers]
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
fi
else
## Work-around to a bug in automake

View File

@@ -1,3 +1,7 @@
dnl
dnl $Id$
dnl
AC_DEFUN([RTEMS_PROJECT_ROOT],
[dnl
AC_REQUIRE([RTEMS_TOP])

View File

@@ -1,3 +1,5 @@
# $Id$
AC_DEFUN([RTEMS_AMPOLISH3],
[
AC_REQUIRE([AM_INIT_AUTOMAKE])

View File

@@ -11,25 +11,20 @@ AC_DEFUN([RTEMS_CPU_SUBDIRS],
## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
case $RTEMS_CPU in
_RTEMS_CPU_SUBDIR([arm],[$1]);;
_RTEMS_CPU_SUBDIR([bfin],[$1]);;
_RTEMS_CPU_SUBDIR([epiphany],[$1]);;
_RTEMS_CPU_SUBDIR([avr],[$1]);;
_RTEMS_CPU_SUBDIR([c4x],[$1]);;
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
_RTEMS_CPU_SUBDIR([i386],[$1]);;
_RTEMS_CPU_SUBDIR([lm32],[$1]);;
_RTEMS_CPU_SUBDIR([m32c],[$1]);;
_RTEMS_CPU_SUBDIR([m32r],[$1]);;
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
_RTEMS_CPU_SUBDIR([mips],[$1]);;
_RTEMS_CPU_SUBDIR([moxie],[$1]);;
_RTEMS_CPU_SUBDIR([nios2],[$1]);;
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
_RTEMS_CPU_SUBDIR([or1k],[$1]);;
_RTEMS_CPU_SUBDIR([or32],[$1]);;
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
_RTEMS_CPU_SUBDIR([sh],[$1]);;
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
_RTEMS_CPU_SUBDIR([sparc64],[$1]);;
_RTEMS_CPU_SUBDIR([v850],[$1]);;
_RTEMS_CPU_SUBDIR([unix],[$1]);;
*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
esac
])

View File

@@ -1,23 +1,20 @@
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
dnl $Id$
dnl
dnl RTEMS_TOP($1)
dnl
dnl $1 .. relative path from this configure.ac to the toplevel configure.ac
dnl $1 .. relative path from this configure.in to the toplevel configure.in
dnl
AC_DEFUN([RTEMS_TOP],
[dnl
AC_REQUIRE([RTEMS_VERSIONING])
AC_REQUIRE([AC_DISABLE_OPTION_CHECKING])
AC_REQUIRE([AM_SET_LEADING_DOT])
AC_CONFIG_AUX_DIR([$1])
AC_CHECK_PROGS(MAKE, gmake make)
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
AC_PREFIX_DEFAULT([/opt/rtems-][_RTEMS_API])
AC_SUBST([RTEMS_TOPdir],["$1"])
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
RTEMS_TOPdir="$1"
# HACK: The sed pattern in rtems_updir matches c/src/
rtems_updir=m4_if([$2],[],[`echo "$1/" | sed 's,^\.\.\/\.\.\/,,'`],[$2/])
@@ -30,5 +27,4 @@ AC_SUBST([PROJECT_TOPdir],[${project_top}${rtems_updir}'$(top_builddir)'])
AC_SUBST([PROJECT_ROOT],[${with_project_root}${rtems_updir}'$(top_builddir)'])
AC_SUBST([dirstamp],[\${am__leading_dot}dirstamp])
AC_SUBST([pkgdatadir],["\${datadir}"/rtems]_RTEMS_API)
])dnl

View File

@@ -1,3 +1,5 @@
dnl $Id$
## HACK: Work-around to structural issue with RTEMS
## The macros below violate most autoconf and canonicalization standards
AC_DEFUN([RTEMS_CONFIG_BUILD_SUBDIRS],
@@ -31,8 +33,7 @@ if test "$no_recursion" != yes; then
],
[rtems_configure_args])
for rtems_config_dir in : $RTEMS_BUILD_SUBDIRS; do test "x$rtems_config_dir" = x: && continue
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
# Do not complain, so a configure script can configure whichever
# parts of a large source tree are present.
if test ! -d $srcdir/$rtems_config_dir; then
@@ -76,7 +77,7 @@ dnl Misc utility macros for subdir handling to work around missing abilities
dnl in autoconf, automake and structural issues with RTEMS
dnl
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
dnl configure.ac.
dnl configure.in.
dnl
dnl

View File

@@ -1,4 +1,4 @@
AC_DEFUN([RTEMS_VERSIONING],
m4_define([_RTEMS_VERSION],[4.11.1.99]))
m4_define([_RTEMS_VERSION],[4.7.1]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.7])

Some files were not shown because too many files have changed in this diff Show More