Compare commits

..

455 Commits
4.11 ... 4.9

Author SHA1 Message Date
Jeffrey Hill
344856b8ad rpc: misaligned address exception in get_myaddress.c
updates #2249 see #1401
2015-02-23 12:06:21 -05:00
Till Straumann
237595d869 networking: alignment exception in ioctl(SIOCGIFCONF)
Access memory using a byte stream when copying to avoid unaligned
access. close #1401 update #2249
2015-02-23 10:46:22 -05:00
Till Strauman
e446d32687 pc386: scan all functions of multi-function PCI devices
The current algorithm scans all PCI busses (0..ff)
 and all devices (0..31) on each bus for bridges
 and determines the maximum of all subordinate
 busses encountered.

 However, the algorithm does not scan all functions
 present in multi-function devices -- I have a PCI express
 root complex (82801H) where multiple (non-zero index)
 functions are 'PCI bridges' whose subordinate bus number is
 missed by the original algorithm.

 This commit makes sure that the scan
 is extended to all functions of multi-function
 devices.

 See #2067
2014-12-23 22:29:24 -05:00
Sebastian Huber
8553d6495f Avoid buffer overflow and misaligned memory access 2014-11-24 09:14:23 +01:00
Ralf Corsepius
97137a4e90 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostnamadr.c:
	Cast addr to uintptr_t instead of size_t.
2014-11-24 09:14:07 +01:00
Ralf Corsepius
ca30866100 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostnamadr.c:
	Try to make crazy address arithmetic more portable.
2014-11-24 09:12:48 +01:00
Sebastian Huber
797e9a8c7a ppp: PR1943: Avoid NULL pointer access
Waiting for mbufs at this level is a bad solution.  It would be better
to try to allocate a new mbuf chain before we hand over the current mbuf
chain to the upper layer.  In case the allocation fails we should drop
the current packet and use its mbuf chain for a new packet.
2014-11-22 09:32:12 -05:00
Nickolay Semyonov
b6519e4b3d capture: back-port conversion from task_name to task_id (closes #1361) 2014-11-22 09:11:37 -05:00
Till Strauman
44c3ffbba7 posix: fix race condition between pthread_create and capture engine
Fix PR 2068:
Reproducable crashes occur when using pthreads and the capture engine
at the same time. 'pthread_create()' is the culprit. It creates a SCORE thread
and then calls Thread_Start( ) without disabling thread-dispatching.
2014-04-11 15:44:15 -04:00
Daron Chabot
765ae93bdb Add c++ guard to header. 2013-05-16 11:48:27 +02:00
Ralf Corsépius
ad6833b080 Remove (Moved to git.rtems.org/data/git/rtems-crossrpms.git). 2012-02-17 15:57:33 +01:00
Ralf Corsépius
305567ce12 Remove (Obsolete). 2012-02-08 15:32:15 +01:00
Joel Sherrill
750ff7689d 2001/shell - medit command argument parsing correction
"medit" overran the argument list, choking on the NULL pointer
following the last argument.

Note that "medit" still only does byte-sized accesses, which limits
its usefulness on most systems.

Author: Werner Almesberger <werner@almesberger.net>
Signed-off-by: Sebastien Bourdeauducq <sebastien@milkymist.org>
2012-02-03 16:21:53 -06:00
Joel Sherrill
771a01e480 Add .gitignore. Remove .cvsignore. 2012-02-03 16:19:07 -06:00
Joel Sherrill
cf34623e06 2011-12-07 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1984/doc
	* user/conf.t: Change CONFIGURE_MINIMUM_STACK_SIZE to
	CONFIGURE_MINIMUM_TASK_STACK_SIZE.
2011-12-07 20:09:01 +00:00
Ralf Corsepius
294039d87d 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
	* libnetworking/libc/gethostbyht.c (gethostent_r):
	Abort if (!hostf).
2011-12-07 06:54:43 +00:00
Joel Sherrill
4c69fcf631 2011-11-28 Werner Almesberger <werner@almesberger.net>
PR 1961/cpukit
	* score/src/coremsgsubmit.c: Close window caused by using message
	pending count rather than directly obtaining unused buffer.
2011-11-28 16:36:48 +00:00
Joel Sherrill
c9ba56f02f 2011-11-09 Jennifer Averett <jennifer.averett@oarcorp.com>
PR 1934/bsps
	* libchip/serial/ns16550.c: Change to unsigned variable.
2011-11-09 20:51:15 +00:00
Joel Sherrill
a4c22f5f32 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1957/cpukit
	* score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/threadmp.inl: Add parentheses to protect
	macro arguments.
2011-11-09 18:44:34 +00:00
Joel Sherrill
83fec7c26f 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit
	* libmisc/untar/untar.c: Add return code for failure when unable to
	write file.
2011-11-07 21:42:45 +00:00
Joel Sherrill
ce05fa6013 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* psxmsgq01/init.c: POSIX says msg_prio is allowed to be NULL.
2011-08-21 20:00:01 +00:00
Joel Sherrill
970e001f67 2011-08-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1890/cpukit
	* posix/src/mqueuerecvsupp.c: POSIX says msg_prio is allowed to be
	NULL.
2011-08-21 19:59:13 +00:00
Ralf Corsepius
4e3d9f3b24 Remove (unused). 2011-08-07 05:27:38 +00:00
Ralf Corsepius
9287f1995d Regenerate. 2011-08-07 05:23:35 +00:00
Ralf Corsepius
e6c551e9a0 Bump GCC_RPMREL. 2011-08-07 05:23:06 +00:00
Ralf Corsepius
08d2cc5878 Sync with cvs-HEAD. 2011-08-07 04:22:51 +00:00
Ralf Corsepius
de27868c21 Sync with cvs-HEAD. 2011-08-07 04:07:25 +00:00
Ralf Corsepius
5c6aff7d31 Sync with cvs-HEAD. 2011-08-07 04:05:37 +00:00
Ralf Corsepius
3eee3efaeb Sync with cvs-HEAD. 2011-08-07 04:03:02 +00:00
Ralf Corsepius
b66f71f339 Sync with cvs-HEAD. 2011-08-07 03:57:46 +00:00
Ralf Corsepius
2b29f934ce Sync with cvs-HEAD. 2011-08-07 03:49:49 +00:00
Ralf Corsepius
f09a0e1d7d Sync with cvs-HEAD. 2011-08-07 03:42:47 +00:00
Ralf Corsepius
cb33c79fc8 Eliminate gccexec. 2011-08-07 03:40:34 +00:00
Ralf Corsepius
5b76deeeb2 Merger from CVS-HEAD. 2011-08-06 05:47:22 +00:00
Ralf Corsepius
844ac396ed Eliminate gcclib. 2011-08-06 05:42:58 +00:00
Ralf Corsepius
77ded88014 Abandon gcc-3.3/3.4 2011-08-06 05:33:39 +00:00
Ralf Corsepius
df7be64fa5 Abandon gcc-3.3/3.4 2011-08-06 05:25:41 +00:00
Ralf Corsepius
8435f8e4f7 Remove Obsoletes/Provides. 2011-08-06 05:13:08 +00:00
Joel Sherrill
34484311b0 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1855/cpukit
	* Makefile.am, configure.ac, psx16/Makefile.am: Correct signal
	processing during pthread_join. We are supposed to unblock the thread
	waiting on a pthread_join(), dispatch the signal handler, account for
	it potentially overwriting errno, and then have the thread return to
	blocking within pthread_join().
	* psxeintr_join/.cvsignore, psxeintr_join/Makefile.am,
	psxeintr_join/init.c, psxeintr_join/psxeintr_join.doc,
	psxeintr_join/psxeintr_join.scn: New files.
2011-07-31 22:41:17 +00:00
Joel Sherrill
0cc08a2148 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1855/cpukit
	* posix/src/psignal.c, posix/src/psignalunblockthread.c,
	posix/src/pthread.c, posix/src/pthreadjoin.c: Correct signal
	processing during pthread_join. We are supposed to unblock the thread
	waiting on a pthread_join(), dispatch the signal handler, account for
	it potentially overwriting errno, and then have the thread return to
	blocking within pthread_join().
2011-07-31 22:41:06 +00:00
Joel Sherrill
e6e75e20f7 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1867/cpukit
	* Makefile.am, configure.ac, psx12/task.c, psxrwlock01/test.c: Correct
	implementation of pthread_exit() and pthread_join() to support the
	case where a thread is joinable but calls pthread_exit() before a
	thread has attempted to join.
	* psx16/.cvsignore, psx16/Makefile.am, psx16/init.c, psx16/psx16.doc,
	psx16/psx16.scn: New files.
2011-07-31 16:17:02 +00:00
Joel Sherrill
ffb8c77e23 2011-07-31 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1867/cpukit
	* posix/src/pthreadexit.c, posix/src/pthreadjoin.c: Correct
	implementation of pthread_exit() and pthread_join() to support the
	case where a thread is joinable but calls pthread_exit() before a
	thread has attempted to join.
2011-07-31 16:16:55 +00:00
Joel Sherrill
1fc9ef5433 2011-07-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1864/doc
	* user/conf.t: Add missing documentation for
	CONFIGURE_MAXIMUM_POSIX_BARRIERS , CONFIGURE_MAXIMUM_POSIX_SPINLOCKS,
	CONFIGURE_MAXIMUM_POSIX_RWLOCKS.
2011-07-29 19:51:49 +00:00
Joel Sherrill
1cf9e38276 2011-07-26 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1851/doc
	* user/conf.t: Fix typo in CONFIGURE_MESSAGE_BUFFER_MEMORY example.
2011-07-26 14:13:43 +00:00
Joel Sherrill
f8f760df39 Upgrade to 4.9.6 2011-07-24 20:26:55 +00:00
Joel Sherrill
85f1b9aa11 2011-07-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1839/filesystem
	* libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c,
	libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c,
	libcsupport/src/fsync.c, libcsupport/src/read.c,
	libcsupport/src/readv.c, libcsupport/src/write.c,
	libcsupport/src/writev.c: Some calls did not return proper status for
	permission errors or incorrectly permissions at all.
2011-07-24 20:26:14 +00:00
Joel Sherrill
84b2e65b23 2011-07-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, preinstall.am: Include stubs so all tests compile.
	* include/tm27.h: New file.
2011-07-24 20:03:03 +00:00
Joel Sherrill
dc64acee02 2011-07-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* clock/ckinit.c: Correct back port.
2011-07-24 19:45:39 +00:00
Joel Sherrill
ac5b23ae00 2011-07-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1845/bsps
	* custom/rtl22xx_t.cfg: Remove unused line with what is now invalid
	syntax.
2011-07-22 13:16:33 +00:00
Joel Sherrill
c05bc62b82 2011-03-31 Kate Feng <feng@bnl.gov>
PR 1778/bsps
	* vme/VMEConfig.h: Used the VME shared IRQ handlers.
	* include/bsp.h: Removed BSP_PIC_DO_EOI.
	* network/if_100MHz/GT64260eth.c:
	  Recycle the Rx mbuf if there is any Rx error.
2011-07-22 13:02:37 +00:00
Joel Sherrill
43622d542d 2011-07-21 Jorge Lopez <jorge.lopez.trescastro@esa.int>
PR 1766/bsps
	* clock/ckinit.c: Add missing read of Timer_Counter_1.
2011-07-21 20:52:41 +00:00
Joel Sherrill
bdcd12cca0 2011-07-20 Till Straumann <strauman@slac.stanford.edu>
PR 1837/bsps
	* shared/motorola/motorola.c, shared/motorola/motorola.h: Add MVME2400
	board with 750 CPU to list of supported Motorola boards.
2011-07-20 16:39:57 +00:00
Joel Sherrill
2a4438a146 2011-07-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1838/filesystem
	* libcsupport/src/fchmod.c: fchmod() does not need a writeable file
	descriptor.
2011-07-19 13:14:18 +00:00
Joel Sherrill
2e016f6f4e 2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking
	* netinet/ip_output.c: If a null or unreachable gateway is
	specified either statically in networkconfig.h or from dhcp/bootp,
	sendto() fails on multicast send with errno "118 Host is unreachable".
	The failure occurs in networking file ip_output.c since it currently
	requires all multicasts to have a valid route to the outside world.
2011-07-14 19:21:46 +00:00
Joel Sherrill
e3b513de4e 2011-07-14 Gene Smith <gene.smith@siemens.com>
PR 1381/networking
	* libnetworking/netinet/ip_output.c: If a null or unreachable gateway
	is specified either statically in networkconfig.h or from dhcp/bootp,
	sendto() fails on multicast send with errno 118 Host
2011-07-14 19:16:30 +00:00
Joel Sherrill
c756999a47 2011-07-14 Till Straumann <strauman@slac.stanford.edu>
PR 1833/bsps
	* ne2000/ne2000.c: Addition of multicast support disabled broadcast
	reception. Patch also includes support to work on big endian CPUs.
2011-07-14 14:45:13 +00:00
Joel Sherrill
e4daba4f56 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1812/filesystem
	* libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not
	set st_blksize field. Set it based upon user configuration.
2011-06-10 18:17:21 +00:00
Joel Sherrill
8aa7be21c0 2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1783/bsps
	* include/bsp.h: Remove dead prototypes of Clock_delay() and delay().
	Neither had bodies.
2011-04-25 19:40:17 +00:00
Joel Sherrill
43ce60a47a 2011-04-11 Keith Robertson <kjrobert at alumni dot uwaterloo dot ca>
* ne2000/ne2000.c: Add multicast support. Patch submitted to mailing
	list 2005-12-21.
2011-04-11 17:28:04 +00:00
Joel Sherrill
425927e16d 2011-04-04 Sebastien Bourdeauducq <sebastien.bourdeauducq@gmail.com>
PR 1722/networking
	* ftpd/ftpd.c: FTPD fails to parse correctly FTP commands relating to
	filenames with spaces in them.
2011-04-04 17:08:59 +00:00
Joel Sherrill
2fe013a145 2011-04-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1768/bsps
	* shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that
	we do not perform a cld before calling C code in the ISR. This was
	historically not a problem but gcc 4.3 changed the behavior. From
	http://gcc.gnu.org/gcc-4.3/changes.html
2011-04-04 16:45:01 +00:00
Joel Sherrill
c3f92efa3c 2011-03-22 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1772/bsps
	* console/sci.c: Use same default baud rate as monitor.
2011-03-22 14:14:34 +00:00
Ralf Corsepius
f3ceabf904 Add config.status, config.sub, config.log. 2011-03-20 06:56:35 +00:00
Joel Sherrill
476900c83b 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1760/misc
	* compilers/gcc-target-default.cfg: Fix typo in CPP definition.
2011-03-09 00:10:18 +00:00
Joel Sherrill
843bfe5943 2011-03-08 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1759/cpukit
	* posix/src/cancel.c, posix/src/pthreaddetach.c,
	posix/src/pthreadequal.c, posix/src/pthreadgetschedparam.c,
	posix/src/pthreadjoin.c, posix/src/pthreadkill.c: Some POSIX pthread
	services did not support using Classic API Task Ids.
2011-03-08 22:15:07 +00:00
Joel Sherrill
f5a5d570a8 2011-03-07 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1756/bsps
	* timer/timer.c: Retry on timer calibration loop failure.
2011-03-07 17:36:01 +00:00
Joel Sherrill
97207cb970 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1751/bsps
	* start/start.S: Fix typo which was not caught by binutils prior to a
	recent bug fix.
2011-03-04 14:37:43 +00:00
Joel Sherrill
d209d9bbcc 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1748/bsps
	* clock/ckinit.c, include/leon.h: When the clock tick generates an
	interrupt WHILE we have interrupts disabled doing a get TOD or
	uptime, the get nanoseconds handler was returning a bogusly large
	number.
2011-03-04 14:07:19 +00:00
Joel Sherrill
9ec55e633e 2011-03-04 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1748/bsps
	* clock/ckinit.c: When the clock tick generates an interrupt WHILE we
	have interrupts disabled doing a get TOD or uptime, the get
	nanoseconds handler was returning a bogusly large number.
2011-03-04 14:07:17 +00:00
Joel Sherrill
5357e24abc 2011-03-03 Chris Johns <chrisj@rtems.org>
PR 1749/filesystem
	* libcsupport/src/mknod.c: Fix the incorrect handling of the file type
	in the mode value o reject invalid types as per the standard.
2011-03-03 13:38:52 +00:00
Joel Sherrill
3601c29054 Ada getting started is gone. 2011-02-09 19:42:40 +00:00
Joel Sherrill
05ee8695eb Upgrade to 4.9.5 2011-02-09 18:16:33 +00:00
Joel Sherrill
f777f02428 2011-02-09 Joel Sherrill <joel.sherrilL@OARcorp.com>
* setup.def, common/cpright.texi: Update dates.
2011-02-09 17:31:32 +00:00
Joel Sherrill
3547ed63d8 2011-01-21 Eric Norum <wenorum@lbl.gov>
* libmisc/capture/capture.c: Avoid using TCB of task just deleted.
2011-01-21 19:40:37 +00:00
Joel Sherrill
9aff0a7946 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac, common/cpright.texi, common/rtems.texi.in,
	cpu_supplement/.cvsignore, started/Makefile.am, started/binaries.t,
	started/buildc.t, started/buildrt.t, started/intro.t,
	started/nextstep.t, started/nt.t, started/require.t,
	started/sample.t, started/started.texi: Major update which includes
	removal of references to specific tool versions and patches.
	* started/tversions.texi.in: Removed.
2010-12-16 20:54:34 +00:00
Joel Sherrill
84d67445f4 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac, develenv/direct.t: Remove Getting Started
	with GNAT/RTEMS.
	* started_ada/.cvsignore, started_ada/Makefile.am,
	started_ada/buildada.t, started_ada/gdb.t, started_ada/intro.t,
	started_ada/require.t, started_ada/sample.t,
	started_ada/started_ada.texi, started_ada/tversions.texi: Removed.
2010-12-16 20:42:23 +00:00
Joel Sherrill
700db92f0b 2010-12-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
* SUPPORT: Update address.
2010-12-16 19:00:24 +00:00
Joel Sherrill
69d6686f4a 2010-11-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, preinstall.am: Add <bsp/tty_drv.h> to the set of
	installed .h files.
2010-11-23 18:41:53 +00:00
Joel Sherrill
9d2c281e2e 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1718/cpukit
	* sapi/include/confdefs.h: POSIX threads are allocated twice the
	minimum stack space by default. confdefs.h only accounts for one
	minimum -- not the 2x factor.
2010-11-16 19:14:29 +00:00
Joel Sherrill
c4c3a1c3db 2010-11-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1717/cpukit
	* libcsupport/src/gxx_wrappers.c: Free memory on error.
2010-11-16 18:52:14 +00:00
Joel Sherrill
15d89e0500 2010-11-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1716/doc
	* user/concepts.t: print_name example used a variable which did not
	match the name of the passed in parameter.
2010-11-11 14:01:43 +00:00
Joel Sherrill
b9803bdeae 2010-11-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1714/doc
	* user/datatypes.t: Add missing description of rtems_status_codes.
2010-11-01 15:58:12 +00:00
Ralf Corsepius
47ce12c534 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1708/build:
	* aclocal/check-cpuopts.m4: Fix m4-quoting.
2010-10-01 17:00:52 +00:00
Ralf Corsepius
101b1893ab 2010-09-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-cpuopts.m4: Add AC_LANG_SOURCE.
2010-09-23 14:51:33 +00:00
Joel Sherrill
913549fa12 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1693/filesystem
	* libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was
	checking incorrect pointer and thus had dead code.
2010-08-27 17:43:01 +00:00
Joel Sherrill
48dba6ee86 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1692/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/imfs/imfs_eval.c: Fix
	implementation and use of rtems_libio_is_valid_perms().
2010-08-27 17:33:23 +00:00
Till Straumann
66eaf3d9ce 2010-08-25 Till Straumann <strauman@slac.stanford.edu>
PR 1689/bsps
	* shared/flash/intelFlash.c: Scale erase timeout by actual
	system clock rate rather than assuming a fixed value.
2010-08-25 22:29:55 +00:00
Joel Sherrill
ca07e7db38 2010-06-21 Peter Dufault <dufault@hda.com>
PR 1570/cpukit
	* posix/src/semtimedwait.c: This routine is supposed to return -1/errno
	NOT the status directly.
2010-06-21 16:38:40 +00:00
Joel Sherrill
9511a0ab23 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1554/cpukit
	Coverity Id 17
	* libi2c/libi2c.c: Fix memory leak on error.
2010-06-21 16:27:23 +00:00
Joel Sherrill
219298adde 2010-06-16 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1568/doc
	* user/intr.t: Fix list of services callable from ISR.
2010-06-16 19:34:19 +00:00
Thomas Doerfler
26ed1e6a06 backport of access macros for indexed resources 2010-06-03 20:27:14 +00:00
Joel Sherrill
633ee2ddf9 2010-05-18 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1520/doc
	* user/part.t: Partition create discussion said it returned the number
	of buffers created but it does not.
2010-05-18 13:41:58 +00:00
Joel Sherrill
61a61c0fa1 Upgrade to 4.9.4 2010-03-18 14:02:28 +00:00
Joel Sherrill
f303ccc887 Fix spacing. 2010-03-18 13:55:33 +00:00
Chris Johns
2dbdec0955 2010-03-17 Chris Johns <chrisj@rtems.org>
* libfs/src/dosfs/msdos_create.c: Fix the date/time call order to
        'msdos_date_unix2dos'.
2010-03-16 21:28:07 +00:00
Eric Norum
a76b9d7048 Fix hex constants. 2010-03-16 15:53:26 +00:00
Ralf Corsepius
ea56621ac6 Remove. 2010-03-11 15:05:17 +00:00
Joel Sherrill
f1c5a5228f 2010-03-10 Gedare Bloom <gedare@gwu.edu>
PR 1495/bsp
	* clock/ckinit.c: Calling rtems_clock_get_uptime() in a tight loop
	sometimes showed time moving backwards.
2010-03-10 17:16:11 +00:00
Joel Sherrill
4f112b821a 2010-03-10 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1497/bsps
	* startup/bspclean.c: Do not enable interrupts while waiting for board
	to reset.
2010-03-10 16:39:01 +00:00
Till Straumann
d7b700d808 2010-02-01 Till Straumann <strauman@slac.stanford.edu>
PR 1492/bsps
	* shared/startup/sbrk.c: When BSP_sbrk_policy had the value (-1)
	(-> give all memory to the heap initially) then the computation
	of the remaining heap size was wrong.
2010-02-01 18:49:13 +00:00
Joel Sherrill
8e297158c2 2010-01-11 Marc Pignat <marc.pignat@hevs.ch>
PR 1490/doc
	* user/clock.t: Fix typo. rtems_clock_get_ticks_per_second not
	rtems_clock_get_ticks_per_seconds.
2010-01-11 16:17:44 +00:00
Ralf Corsepius
2d0c8a5b62 Update. 2010-01-11 13:02:45 +00:00
Ralf Corsepius
3a03bdcbdf Update. 2010-01-11 13:02:09 +00:00
Ralf Corsepius
1139b11a8c Update. 2010-01-11 13:01:28 +00:00
Ralf Corsepius
23226d1a38 Sync with CVS-HEAD. 2010-01-11 12:36:36 +00:00
Ralf Corsepius
217f347bc3 Add INSTALL. 2010-01-11 12:34:44 +00:00
Ralf Corsepius
f08ecf0eed Remove. 2010-01-11 12:34:31 +00:00
Glenn Humphrey
33bdd10ef2 2009-12-11 Glenn Humphrey <glenn.humphrey@OARcorp.com>
PR 1481/cpukit
	* rtems/src/ratemonperiod.c: Moved check for cpu usage being smaller
	than when period initiated.
2009-12-11 22:03:35 +00:00
Joel Sherrill
a06a3f712d 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482
	* posix/src/timersettime.c: Exit dispatching critical section.
2009-12-10 22:15:26 +00:00
Joel Sherrill
7af806ac22 2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1480/cpukit
	* rtems/src/ratemonperiod.c: Use _Rate_monotonic_Update_statistics()
	when period is expired, not _Rate_monotonic_Initiate_statistics().
	The cound of missed periods was never updated.
2009-12-10 20:23:09 +00:00
Ralf Corsepius
d258d355e8 Upgrade to automake-1.10.3 2009-12-09 09:29:27 +00:00
Joel Sherrill
b07d4453bf 2009-12-07 Cindy Cicalese <cicalese@mitre.org>
PR 1477/cpukit
	* score/src/objectsetname.c: Ensure destination is NULL terminated.
	String copy was not getting the NULL.
2009-12-07 17:27:07 +00:00
Ralf Corsepius
ef0bb7653b Regenerate. 2009-11-27 10:31:33 +00:00
Ralf Corsepius
3979832fed Bump GCC_RPMREL. 2009-11-27 10:30:50 +00:00
Ralf Corsepius
12fcc89207 Update. 2009-11-27 10:29:53 +00:00
Ralf Corsepius
96566954ee Eliminate g77, f95.
Add fortran.
2009-11-27 10:21:05 +00:00
Ralf Corsepius
eb714e6b8c Elminate build_gfortran. 2009-11-27 10:20:12 +00:00
Ralf Corsepius
99c0b19b81 Eliminate g77 2009-11-27 07:17:05 +00:00
Ralf Corsepius
28dd349833 Eliminate g77 2009-11-27 07:13:21 +00:00
Ralf Corsepius
3415fab7dd Sync with rtems4.10. 2009-11-27 06:56:20 +00:00
Joel Sherrill
c29dc1f758 Upgrade to 4.9.3 2009-11-13 16:21:53 +00:00
Joel Sherrill
e9e5234b92 2009-11-11 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1471/cpukit
	* libmisc/cpuuse/cpuusagereport.c: Rework statement to ensure 64-bit
	multiplication is used to avoid overflow with intermediate value.
2009-11-11 16:27:56 +00:00
Ralf Corsepius
e067753e6d Regenerate. 2009-11-11 15:16:46 +00:00
Ralf Corsepius
c1a7a9e444 Bump GDB_RPMREL. 2009-11-11 15:16:08 +00:00
Ralf Corsepius
ed71047f5e gdb-6.8-rtems4.9-20091111.diff 2009-11-11 15:14:45 +00:00
Ralf Corsepius
3ba8469f7b New. 2009-11-11 15:13:58 +00:00
Ralf Corsepius
001b4e5a53 Rework system_readline hacks 2009-11-11 15:11:23 +00:00
Joel Sherrill
c73cab2813 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1468/cpukit
	* score/src/timespecdividebyinteger.c: Rework statement to ensure
	64-bit multiplication is used.
2009-11-10 23:29:55 +00:00
Joel Sherrill
bdf5417eaa 2009-11-10 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c: Fine
	tune previous patch after analysis in application.
2009-11-10 23:27:01 +00:00
Till Straumann
9fb27e38c2 2009-11-09 Till Straumann <strauman@slac.stanford.edu>
PR 1469/cpukit
	* cpu.c: Add dummy entry for (non-existing) exception #15.
	Otherwise all slots for vectors >= 16 are one element off.
2009-11-10 04:03:39 +00:00
Joel Sherrill
f7c285e6ca 2009-10-30 Glenn Humphrey <glenn.humphrey@oarcorp.com>
PR pr1462/cpukit
	* rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemonperiod.c,
	rtems/src/ratemontimeout.c: Fix bugs in rate monotonic statistics.
2009-10-30 17:54:15 +00:00
Till Straumann
1c2ea24536 2009-10-20 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: Bugfix. Broadcast address was declared
	uint8_t instead of uint8_t [8].
2009-10-20 17:13:54 +00:00
Joel Sherrill
fb557a90c7 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* Makefile.am, configure.ac, preinstall.am, console/alloc360.c,
	console/config.c, console/console.c, console/m68360.h,
	console/mc68360_scc.c, console/rsPMCQ1.c, console/rsPMCQ1.h,
	include/bsp.h, irq/irq_init.c, irq/openpic_xxx_irq.c, start/start.S,
	startup/bspstart.c, startup/linkcmds, vme/VMEConfig.h:
        Updated and tested against RTEMS 4.9. Updated README file to latest
        source status. Modified to use the shared irq source code. Turned off
	debugging, cleaned up warnings, removed unused code. Tested with two
	PMCQ1 serial cards. Tested MC68360 serial ports and VME using
	external tests.
	* README, irq/irq.h, vme/vmeconfig.c: New files.
2009-10-16 16:42:03 +00:00
Joel Sherrill
af46ad9bde 2009-10-16 Jennifer Averett <jennifer@OARcorp.com>
* configure.ac: Default to having PSC8 mezzanine so code builds
	all the time.
	* startup/bspstart.c: Calibrated clock using an VMEBus controlled
	discrete pulsed at a 20ms rate.
2009-10-16 16:22:26 +00:00
Joel Sherrill
79df9d0473 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* mpc6xx/mmu/bat.c: Resolved bug: It is not an overlap if the batindex
	being set is the batindex of the overlap.
2009-10-16 16:12:42 +00:00
Joel Sherrill
17d5afe1c8 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* shared/include/io.h: Backport change from extern inline to static
	inline from head to avoid multiple definitions.
2009-10-16 16:11:31 +00:00
Joel Sherrill
77c103d606 2009-10-16 Jennifer Averett <jennifer.averett@OARcorp.com>
* startup/bspstart.c: Add bsp_clicks_per_usec.
2009-10-16 16:09:09 +00:00
Joel Sherrill
774aade601 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Correct type of rtems_malloc_dirty_helper so
	usable.
2009-10-15 18:56:17 +00:00
Joel Sherrill
9943fac266 2009-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/malloc.h: Correct type of
	rtems_malloc_dirty_helper so usable.
2009-10-15 18:55:51 +00:00
Till Straumann
b7a6078a99 2009-10-13 Till Straumann <strauman@slac.stanford.edu>
PR 1451/bsps
	* network/tsec.c: Fix mbuf leak when watchdog expires. The
	re-initialization algorithm failed to release mbuf chains
	held in the TX ring.
	Also, during initialization the initial link status is determined
	and IFF_OACTIVE set if no active link was detected.
2009-10-14 00:14:08 +00:00
Ralf Corsepius
c4ad6185c6 Regenerate. 2009-09-23 16:41:27 +00:00
Ralf Corsepius
79c05a8cee New. 2009-09-23 16:38:51 +00:00
Ralf Corsepius
1afc7e05c2 Bump GDB_RPMREL. 2009-09-23 16:38:07 +00:00
Ralf Corsepius
81ddf5938d gdb-6.8-rtems4.9-20090923.diff 2009-09-23 16:37:46 +00:00
Ralf Corsepius
48569c7464 Regenerate. 2009-09-23 11:13:58 +00:00
Ralf Corsepius
002e4a4b34 Bump GDB_RPMREL. 2009-09-23 11:11:30 +00:00
Ralf Corsepius
a87e94df90 Sync with rtems-4.10. 2009-09-23 11:11:04 +00:00
Ralf Corsepius
209fadeaa5 Bump version. 2009-09-23 03:29:58 +00:00
Ralf Corsepius
6e81371002 Sync with rtems-4.10. 2009-09-23 03:29:15 +00:00
Ralf Corsepius
62af225355 Sync with rtems-4.10. 2009-09-23 03:27:24 +00:00
Till Straumann
51022e34d7 2009-09-15 Till Straumann <strauman@slac.stanford.edu>
PR 1344/bsps:
	* clock/ckinit.c: Fix more bugs (applied PR1344/attachment 702):
	TSC handler was used when 8254 was requested and vice versa.
	Also, nanosecond handler was never installed to RTEMS clock.
2009-09-16 00:03:35 +00:00
Ralf Corsepius
986f353e4a 2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1441/cpukit
	* libcsupport/src/tcgetprgrp.c: Remove.
	* libcsupport/src/tcgetpgrp.c: New (Renamed from
	  libcsupport/src/tcgetprgrp.c).
	* libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
	  Remove libcsupport/src/tcgetprgrp.c.
2009-09-15 06:01:12 +00:00
cvs2git
ab514445be This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Cherrypick from master 2009-09-15 05:32:49 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2009-09-15	Ralf Corsépius <ralf.corsepius@rtems.org>':
    c/src/lib/libbsp/arm/gba/console/defaultfont.h
    c/src/lib/libbsp/arm/smdk2410/include/.cvsignore
    c/src/lib/libbsp/m68k/genmcf548x/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf52235/include/.cvsignore
    c/src/lib/libbsp/m68k/mcf5329/include/.cvsignore
    c/src/lib/libbsp/mips/csb350/start/regs.h
    c/src/lib/libbsp/mips/genmongoosev/start/regs.h
    c/src/lib/libbsp/mips/hurricane/liblnk/regs.h
    c/src/lib/libbsp/mips/jmr3904/start/regs.h
    c/src/lib/libbsp/mips/rbtx4925/liblnk/regs.h
    c/src/lib/libbsp/mips/rbtx4938/liblnk/regs.h
    c/src/lib/libbsp/powerpc/mvme3100/include/.cvsignore
    c/src/lib/libbsp/powerpc/virtex/include/.cvsignore
    contrib/crossrpms/autotools/autoconf-sources.add
    contrib/crossrpms/autotools/automake-sources.add
    contrib/crossrpms/patches/gdb-6.5-bfinrtems-20090122.diff
    cpukit/libcsupport/src/tcgetpgrp.c
Cherrypick from master 2008-09-28 16:36:13 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'New.':
    c/src/lib/libbsp/bare/preinstall.am
2009-09-15 05:32:51 +00:00
Till Straumann
689140e885 *** empty log message *** 2009-09-10 21:39:45 +00:00
Till Straumann
048459aeac 2009-09-10 Till Straumann <strauman@slac.stanford.edu>
* shared/misc/m68kidle.c: added "cc" clobber to inline
	asm; STOP instruction modifies CCR!
2009-09-10 21:20:22 +00:00
Joel Sherrill
ff79baf05f 2009-09-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/init.c, sp46/sp46.scn: Fix numbering.
2009-09-09 18:28:00 +00:00
Till Straumann
6597e5839f 2009-09-09 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: Added dummy implementation of firmware
	syscalls for use with QEMU. Dummy handler is installed if no
	pre-existing firmware handler is found.
2009-09-09 14:17:10 +00:00
Ralf Corsepius
32b09a90f4 Regenerate. 2009-08-25 05:10:22 +00:00
Ralf Corsepius
038b1fe297 gcc-core-4.3.2-rtems4.9-20090825.diff 2009-08-25 05:09:13 +00:00
Ralf Corsepius
8f0d728900 Bump GCC_RPMREL. 2009-08-25 05:09:00 +00:00
Ralf Corsepius
c64da0b58a avr: Use _exit from newlib 2009-08-25 05:07:55 +00:00
Till Straumann
e8ac5d470e 2009-08-17 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	Fixed bugs in multicast support; added reference-count
	for hash-table entries which allows for the implementation
	of a 'deletion' routine.
	NOTE: mcast support largely untested.
2009-08-17 14:27:55 +00:00
Ralf Corsepius
8131a3d808 Remove centos-4, tighten up suse, move fedora-9 to centos-5. 2009-08-13 03:29:53 +00:00
Eric Norum
ac1d1bc44d Try enabling the data cache. 2009-07-30 15:48:52 +00:00
Eric Norum
9bfb3c61aa PR 1420/bsps
Turn on buffered writes to DRAM. As Device Errata SECF124 notes this may cause
double writes, but that's not really a big problem and benchmarking tests have
shown that buffered writes do gain some performance.
2009-07-28 19:29:44 +00:00
Ralf Corsepius
80e932432b Regenerate. 2009-07-26 05:56:46 +00:00
Ralf Corsepius
2dcd85d439 Set amvers to 1.10. 2009-07-26 05:56:34 +00:00
Ralf Corsepius
65db3bf822 Sync with rtems-4.10. 2009-07-26 05:11:31 +00:00
Ralf Corsepius
a42ad6379c Don't pass %{?dist} to *_RPM_REL 2009-07-26 05:07:00 +00:00
Ralf Corsepius
118d237d1b Remove. 2009-07-23 09:04:58 +00:00
Ralf Corsepius
80f2a8bca4 Abandon cpukit. 2009-07-23 09:03:07 +00:00
Ralf Corsepius
e808cbd2fc Abandon mingw32. 2009-07-23 09:02:30 +00:00
Ralf Corsepius
38433f53f1 Abandon cygwin, mingw. 2009-07-23 09:01:39 +00:00
Ralf Corsepius
feb6eb60fd Abandon cygwin. 2009-07-23 09:00:39 +00:00
Ralf Corsepius
41d5d5f84b Regenerate. 2009-07-23 08:59:22 +00:00
Ralf Corsepius
a227867dcf Update to newlib-1.16.0-rtems4.9-20090324.diff. 2009-07-23 08:58:59 +00:00
Ralf Corsepius
7f43bed02b Regenerate. 2009-07-23 08:52:26 +00:00
Ralf Corsepius
794e505157 Bump GCC_RPMREL. 2009-07-23 08:51:30 +00:00
Ralf Corsepius
a6a241ecf8 Sync. with rtems-4.10. 2009-07-23 08:45:20 +00:00
Ralf Corsepius
b1f73665d9 Regenerate. 2009-07-21 06:11:40 +00:00
Ralf Corsepius
4a5abe718b Sync with rtems-4.10. 2009-07-21 06:10:41 +00:00
Ralf Corsepius
e71a70665a Bump GDB_RPMREL. 2009-07-21 06:10:18 +00:00
Ralf Corsepius
64181ed2f2 New (Backport from rtems-4.10). 2009-07-21 06:00:05 +00:00
Ralf Corsepius
fb7962d741 Regenerate. 2009-07-21 03:24:18 +00:00
Ralf Corsepius
a9efdc6fde Sync with rtems-4.10. 2009-07-21 03:23:49 +00:00
Ralf Corsepius
cda3317f2b Remove. 2009-07-21 03:22:11 +00:00
Ralf Corsepius
0e7cd63c56 Bump GCC_RPMREL. 2009-07-20 07:49:38 +00:00
Ralf Corsepius
a9c3667f84 Regenerate. 2009-07-20 07:44:48 +00:00
Ralf Corsepius
3985708ff2 Sync with rtems-4.10. 2009-07-20 07:40:32 +00:00
Ralf Corsepius
a7fb589b96 Remove %{?dist} from BINUTILS_RPMREL. 2009-07-20 07:40:01 +00:00
Ralf Corsepius
52dfb3483c Update to gdb-6.8-rtems4.9-20090312.diff. 2009-07-20 07:38:35 +00:00
Ralf Corsepius
eceb1588dd Bump GDB_RPMREL. 2009-07-20 07:38:00 +00:00
Ralf Corsepius
1c6fd3a622 Sync with rtems-4.10 2009-07-20 07:37:06 +00:00
Ralf Corsepius
a181ab011d Regenerate. 2009-07-19 15:20:27 +00:00
Ralf Corsepius
1edb562d79 Bump BINUTILS_RPMREL. 2009-07-19 15:18:25 +00:00
Ralf Corsepius
98311ac7d5 Sync with CVS-HEAD. 2009-07-18 04:44:26 +00:00
Joel Sherrill
bfa85f9bb1 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Fix typos where semaphore referenced instead of region
	or segment.
2009-07-02 16:22:20 +00:00
Joel Sherrill
91c679226b 2009-07-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/preface.texi: Correct list of supported CPU architectures.
2009-07-02 16:12:06 +00:00
Till Straumann
d267f07c14 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* irq/irq_init.c: silenced compiler warning.
2009-06-06 00:46:55 +00:00
Till Straumann
4488b88530 2009-06-05 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c, network/if_tsec_pub.h:
	added multicast support.
2009-06-06 00:45:57 +00:00
Joel Sherrill
29e867d473 Add PR 1420. 2009-06-03 14:14:25 +00:00
Ralf Corsepius
05b388029f 2009-06-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/assoc.h,
	libcsupport/include/rtems/malloc.h: Add extern "C" {} guards.
	* libcsupport/include/rtems/libio_.h: Move extern "C" {} guards.
2009-06-03 03:40:16 +00:00
Ralf Corsepius
feefa108a4 Move extern "C" {} guards. 2009-06-03 03:40:06 +00:00
Ralf Corsepius
dda372da19 Add extern "C" {} guards. 2009-06-03 03:39:59 +00:00
Eric Norum
7920d156e0 As per Freescale chip errata, disable buffered writes. 2009-06-02 21:13:23 +00:00
Joel Sherrill
ee2e3a1038 2009-05-28 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1415/cpukit
	* rtems/src/semcreate.c, rtems/src/semtranslatereturncode.c,
	score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl, score/src/coremutex.c:
	Address two paths where a task with a priority above the ceiling
	could obtain a priority ceiling mutex.
2009-05-28 20:38:22 +00:00
Joel Sherrill
ff6b3fe781 2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1413/cpukit
	* rtems/src/timerserver.c: Fix bug where server based timers which
	reinitiated themselves did not get reinserted onto timer chain.
2009-05-21 15:40:00 +00:00
Joel Sherrill
ecf2e42310 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/irq/irq.c, shared/irq/irq.h, shared/irq/irq_asm.S: Add shared
	interrupt support to i386.
2009-05-18 17:45:21 +00:00
Joel Sherrill
120f283805 2009-05-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1412/cpukit
	* score/src/coremutex.c: Add missing braces. Broken with strict mutex
	code added.
2009-05-18 14:47:11 +00:00
Joel Sherrill
f7e4067f3c 2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1411/cpukit
	* rtems/src/workspace.c, score/include/rtems/score/protectedheap.h,
	score/src/pheapgetfreeinfo.c, score/src/pheapgetinfo.c: Improve
	workspace wrapper methods.
2009-05-13 16:48:22 +00:00
Joel Sherrill
b86d38e4e0 2009-05-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.c, network/if_1GHz/POSSIBLEBUG: Removed.
2009-05-08 18:38:30 +00:00
Joel Sherrill
82948ea1b5 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:37:08 +00:00
Joel Sherrill
cf599996ba 2009-05-08 Kate Feng <feng1@bnl.gov>
PR1395/bsps
	* Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
	* network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
	* pci/pci_interface.c:
	  + Enabled PCI "Read", "Read Line", and "Read Multiple"
	  +  Agressive Prefetch to improve the performance of the PCI based
	     applications (e.g. 1GHz NIC).
	* irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value
	register to monitor the cause of the level sensitive interrupts.
	This unique solution solves various bugs in the 1GHz network drivers
	Fixed bugs in compute_pic_masks_from_prio()
	* pci/pci.c : Updated it to be consistent with the original pci.c
	* written by Eric Valette.  There is no change in its function.
	* irq/irq_init.c : set defaultIrq->next_handler to be 0
	* for BSP_SHARED_HANDLER_SUPPORT.
2009-05-08 18:22:51 +00:00
Joel Sherrill
ef3a82f655 2009-05-06 Michael Walle <michael@walle.cc>
PR 1409/bsps
	* gdbstub/rtems-stub-glue.c: Print object names correctly.
2009-05-06 14:16:20 +00:00
Jennifer Averett
8e230e6cba 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* new-exceptions/bspsupport/irq_supp.h: Split routine to allow bsps
	with nonstandard/non-existant pics to call with interrupts off.
2009-05-05 16:20:51 +00:00
Jennifer Averett
31a5ec8cb0 2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* Makefile.am, README, configure.ac, preinstall.am, PCI_bus/PCI.c,
	PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c,
	console/85c30.h, console/console.c, console/consolebsp.h,
	console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen2.h,
	include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h,
	irq/irq_init.c, start/start.S, startup/Hwr_init.c,
	startup/bspstart.c, timer/timer.c, tod/tod.c: Updated and tested with
	the latest powerpc isr source
	* irq/no_pic.c: New file.
	* irq/irq.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c: Removed.
2009-05-05 16:18:06 +00:00
Ralf Corsepius
56e12a173e Merge changes from CVS-HEAD addressing Fedora 11 rpm regressions. 2009-04-30 05:08:12 +00:00
Ralf Corsepius
58b52adbd1 Bump version. 2009-04-08 16:13:28 +00:00
Ralf Corsepius
26961759f1 Use mirrorlists. 2009-04-08 16:13:15 +00:00
Ralf Corsepius
b88d42431b Add rtems.eu 2009-04-07 09:25:21 +00:00
Ralf Corsepius
a81f210736 2009-04-02 Ralf Corsépius <ralfcorsepius@rtems.org>
* aclocal/check-rtems-debug.m4: Add missing ','.
2009-04-02 11:50:31 +00:00
Ralf Corsepius
df2afaee80 Backport from CVS-HEAD. 2009-03-30 05:53:04 +00:00
Ralf Corsepius
6be9bc0f28 Regenerate. 2009-03-24 05:15:07 +00:00
Ralf Corsepius
7b32a78efe Remove libc/machine/powerpc/times.c. 2009-03-24 05:14:33 +00:00
Ralf Corsepius
a70ea8027e newlib-1.16.0-rtems4.9-20090324.diff 2009-03-24 05:12:50 +00:00
Ralf Corsepius
6f0ad35745 Bump GCC_RPMREL. 2009-03-24 05:12:30 +00:00
Thomas Doerfler
596bcb6f10 * start/start.S, include/hwreg_vals.h, startup/cpuinit.c:
correct some init values for HSC_CM01 boards
2009-03-19 10:41:46 +00:00
Thomas Doerfler
273003877a * libblock/src/ide_part_table.c: Fixed NULL pointer access. 2009-03-19 10:20:10 +00:00
Joel Sherrill
4cbb5bf902 2009-03-12 Santosh G Vattam <vattam.santosh@gmail.com>
PR 1378/filesystem
	* libfs/src/imfs/deviceio.c: IMFS device lseek should return the
	current offset.
2009-03-12 21:13:25 +00:00
Joel Sherrill
262ce0812c Upgrade to 4.9.2 2009-03-12 17:03:39 +00:00
Joel Sherrill
c51fd29987 2009-03-12 Daniel Hellstrom <daniel@gaisler.com>
PR 1392/bsps
	* libchip/i2c/spi-memdrv.c: SPI Memory driver. Fix but where writes
	over multiple pages results in extra data being written.
2009-03-12 15:43:15 +00:00
Joel Sherrill
ec25c62143 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* ftpd/ftpd.h: Add extern C.
2009-03-12 15:34:38 +00:00
Joel Sherrill
d4311908c8 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1393/cpukit
	* posix/src/mutextranslatereturncode.c: Add entry to table for
	CORE_MUTEX_RELEASE_NOT_ORDER.
2009-03-12 15:32:09 +00:00
Joel Sherrill
ed7383d2c7 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* cpu_asm.S: When the type rtems_boolean was switched to the C99 bool,
	the size changed from 4 bytes to 1 byte. The interrupt dispatching
	code accesses two boolean variables for scheduling purposes and the
	assembly implementations of this code did not get updated.
2009-03-12 14:19:45 +00:00
Joel Sherrill
b38d27a939 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* mpc5xx/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:19:28 +00:00
Joel Sherrill
0ef82c8cfe 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* shared/irq/irq_asm.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:19:11 +00:00
Joel Sherrill
92ce6ac76d 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* irq/irq_asm.S: When the type rtems_boolean was switched to the C99
	bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:17:29 +00:00
Joel Sherrill
952d8f718a 2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
	* startup/exception.S: When the type rtems_boolean was switched to the
	C99 bool, the size changed from 4 bytes to 1 byte. The interrupt
	dispatching code accesses two boolean variables for scheduling
	purposes and the assembly implementations of this code did not get
	updated.
2009-03-12 14:17:21 +00:00
Ralf Corsepius
1a813d50f5 Regenerate. 2009-03-12 09:48:47 +00:00
Ralf Corsepius
0d00cd53e1 Bump GDB_RPMREL. 2009-03-12 09:48:35 +00:00
Ralf Corsepius
46b86ddd5e gdb-6.8-rtems4.9-20090312.diff 2009-03-12 09:48:17 +00:00
Ralf Corsepius
30a4480fa5 Add psim/configure. 2009-03-12 09:47:45 +00:00
Ralf Corsepius
f6a237b1ec Sync w/ cvs-head. 2009-03-12 09:45:33 +00:00
Joel Sherrill
9cb3851b7d 2009-03-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Added missing include.
2009-03-09 17:00:40 +00:00
Joel Sherrill
199db78eed 2009-03-09 Antoine Lacroix <antoine.lacroix at sodern.fr>
PR 1391/bsps
	* startup/spurious.c: Format was %d but had leading 0x.
2009-03-09 16:53:45 +00:00
Joel Sherrill
a816fcf174 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* include/tm27.h: Add include rtems/powerpc/powerpc.h
2009-03-09 16:26:55 +00:00
Joel Sherrill
64504e971d 2009-03-09 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1376/filesystem
	* libcsupport/include/rtems/libio.h, libfs/src/dosfs/fat_file.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, libfs/src/nfsclient/src/nfs.c: lseek
	handlers should return off_t.
2009-03-09 14:12:58 +00:00
Eric Norum
c933a3d6b9 Clean up mishaps arising from multiple folks trying to fix the same problem.
This version matches the trunk.
2009-03-05 22:43:24 +00:00
Till Straumann
8cb4b08aea 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart.c: removed legacy code (inherited
	from old mvme2307 BSP) -- for testing trapping into
	PPCBug -- which is irrelevant on this BSP.
	Removed warning about SPRG0 having been reassigned
	-- this BSP is OK.
2009-03-05 21:20:59 +00:00
Till Straumann
dec6367305 2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of
	original heap_start) when calculating default heap
	size (to take into account loss due to alignment).
2009-03-05 21:11:36 +00:00
Thomas Doerfler
f1f7563ae8 * shared/clock/clock.c: Standard decrementer exception is now more
robust against erroneous external exception disable times.
2009-03-05 13:45:57 +00:00
Joel Sherrill
cb54e10686 2009-03-02 Till Straumann <strauman@slac.stanford.edu>
PR 1375/bsps
	* clock/clock.c: Correct implementation of nanoseconds since last tick
	handler.
2009-03-02 18:57:20 +00:00
Joel Sherrill
73d1f0799f 2009-03-02 Daniel Hellstrom <daniel@gaisler.com>
PR 1390/bsps
	* startup/linkcmds: Fix sections so C++ global constructors and
	destructors work with late model (>= 4.3) gcc versions.
2009-03-02 17:28:45 +00:00
Joel Sherrill
beda88f83c 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* cdtest/main.cc: Use printk() in global destructors since printf() no
	longer works.
2009-03-02 17:28:35 +00:00
Joel Sherrill
66c25d4e07 2009-03-02 Ray Xu <rayx.cn@gmail.com>
PR 1380/bsps
	* include/bsp.h: Switch to English comments.
2009-03-02 17:03:05 +00:00
Joel Sherrill
15fa865c29 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* sp09/screen05.c, sp09/screen09.c, sp09/sp09.scn: Classic Semaphores
	allow both priority inherit and ceiling attributes to be set on
	semaphore create. These attributes are mutually exclusive and this
	should be an error.
2009-03-02 16:13:08 +00:00
Joel Sherrill
fe91be3678 2009-03-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1388/cpukit
	* rtems/src/semcreate.c: Classic Semaphores allow both priority inherit
	and ceiling attributes to be set on semaphore create. These
	attributes are mutually exclusive and this should be an error.
2009-03-02 16:13:00 +00:00
Joel Sherrill
dc5da2289c 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: Remove unnecessary copy of cpu_asm.S
	* console/Modif_cpu_asm.S: Removed.
2009-02-27 19:20:41 +00:00
Joel Sherrill
108a2e7421 2009-02-27 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1387/doc
	* user/intr.t: Add Interrupt Manager services to list of services
	callable from ISR.
2009-02-27 16:02:34 +00:00
Joel Sherrill
432ddefbcd 2009-02-27 Daniel Hellstrom <daniel@gaisler.com>
PR 1386/bsps
	* shared/start.S: Stack space not correctly initialized. Causes
	failures on unoptimized applications.
2009-02-27 15:33:16 +00:00
Joel Sherrill
06ff7d223c 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* network/network.c: mvme167 network driver buggy.
2009-02-17 18:37:14 +00:00
Joel Sherrill
3017689211 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1371/bsps
	* custom/mvme167.cfg: mvme167 needs to convert ELF -> pure binary RALF.
2009-02-17 18:35:15 +00:00
Joel Sherrill
c8dcab1e75 2009-02-17 Till Straumann <strauman@slac.stanford.edu>
PR 1370/bsps
	* console/console.c: mvme167 console driver BSP_output_char fails to
	convert \n -> \n\r
2009-02-17 18:32:44 +00:00
Joel Sherrill
35c7648e9d 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1377/shell
	* libmisc/shell/main_netstats.c: Remove #if 0 which should not have
	been there anyway.
2009-02-17 15:09:50 +00:00
Joel Sherrill
5e1fd51c99 2009-02-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/uC5282.cfg: Add cvs Id.
2009-02-17 14:37:23 +00:00
Joel Sherrill
89e2082c24 2009-02-11 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1374/misc
	* libmisc/stackchk/check.c: Fix printk formatting string.
2009-02-11 19:34:27 +00:00
Joel Sherrill
07d8cc542f 2009-02-11 Matt Rippa <mrippa@gemini.edu>
PR 1352/bsps
	* shared/console/reboot.c, shared/motorola/motorola.c: Include support
	for mvme2600/mvme2700.
2009-02-11 16:37:14 +00:00
Joel Sherrill
9c266d2d82 2009-02-11 Till Straumann <strauman@slac.stanford.edu>
PR 1369/bsps
	* Makefile.am, configure.ac: Fix name clashes when using MC68040 fpsp
	floating-point emulation.
2009-02-11 16:20:10 +00:00
Ralf Corsepius
00ac31c43c 2009-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Remove stray % from '*startfile:' having crept in
	previous patch.
2009-02-11 07:25:48 +00:00
Ralf Corsepius
6cd53b29ea Sync with CVS-HEAD. 2009-02-07 09:26:19 +00:00
Ralf Corsepius
bdf53bd4c8 Regenerate. 2009-02-07 09:22:02 +00:00
Ralf Corsepius
c8d8a706dd Add NEWLIB_PKGVERS, NEWLIB_RPMREL. 2009-02-07 09:16:48 +00:00
Ralf Corsepius
8ec3c96cf9 Bump GCC_RPMREL.
Add NEWLIB_PKGVERS, NEWLIB_RPMREL.
2009-02-07 09:16:16 +00:00
Ralf Corsepius
58a6716bd4 newlib-1.16.0-rtems4.9-20090207.diff 2009-02-07 09:15:24 +00:00
Ralf Corsepius
deb0a5a365 Remove newlib/libc/include/sched.h. 2009-02-07 08:56:59 +00:00
Ralf Corsepius
5e7c1849be 2009-02-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Change SIX_MONTHS to time_t.
2009-02-05 05:22:38 +00:00
Thomas Doerfler
8ffe14563e * libnetworking/lib/ftpfs.c: Enable write and mount filesystem
with read-write access.
2009-02-04 17:14:06 +00:00
Ralf Corsepius
a039f846db 2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/net/if_ppp.h: Eliminate pppattach,  pppintr
	  (Unused).
	* libnetworking/net/if_ppp.c: Eliminate pppintr (Unused).
2009-02-04 15:53:04 +00:00
Ralf Corsepius
3ee0c3646b Eliminate pppintr (Unused). 2009-02-04 15:52:55 +00:00
Ralf Corsepius
7d365f6f5c Eliminate pppattach, pppintr (Unused). 2009-02-04 15:52:41 +00:00
Joel Sherrill
9ae7cd5237 2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com>
PR 1359/cpukit
	* libcsupport/src/libio.c: rtems_libio_allocate:
	rtems_libio_iop_freelist incorrectly zeroed on semaphore error. Now
	checks error and does not modify anything until sure it has created
	semaphore.
2009-01-29 17:18:50 +00:00
Joel Sherrill
16bb8afbb1 2009-01-29 Gene Smith <gene.smith@siemens.com>
PR 1363/filesystem
	* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
	correctly in FAT f/s data.
2009-01-29 16:13:17 +00:00
Joel Sherrill
1813d94c7a 2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Clarify interrupt transmit process.
	* user/concepts.t: Typo.
2009-01-29 14:57:28 +00:00
Joel Sherrill
897a86c454 2009-01-29 Eric Norum <norume@aps.anl.gov>
PR 1364/cpukit
	* libcsupport/src/gxx_wrappers.c: Fix compilation problems when
	diagnostics enabled.
2009-01-29 14:32:51 +00:00
Joel Sherrill
0e2f369c0e 2009-01-21 Nickolay Kolchin <nbkolchin@gmail.com>
Joel Sherrill <joel.sherrill@oarcorp.com>

	PR 1357/cpukit
	* rtems/src/tasks.c: Ensure creating a task with no ASR is honored.
2009-01-21 20:48:07 +00:00
Joel Sherrill
10fca441e0 2009-01-21 Frank Ueberschar <frank.ueberschar@dsa-volgmann.de>
PR 1354/bsps
	* network/network.c: In some cases it can occur that an empty mbuf is
	put on the descriptor chain. (We found it especially then when
	transmitting fragmented IP Packets.) Since the actual buffer
	descriptor pointer will be incremented after every inserted mbuf
	(txBd = sc->txBdBase + sc->txBdHead;) even if m->m_len of the current
	mbuf was zero. This leads to the bug.
2009-01-21 18:18:19 +00:00
Joel Sherrill
3a7df182ef 2009-01-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/i2c/spi-sd-card.c: Fixed RTEMS_BLKDEV_CAPABILITIES ioctl
	which caused invalid multiple block writes.
2009-01-21 18:07:31 +00:00
Joel Sherrill
06c12dd640 2009-01-21 Eric Norum <norume@aps.anl.gov>
PR 1358/bsps
	* clock/clock.c: Fix time-access bug in uc5282 BSP.
2009-01-21 16:49:56 +00:00
Ralf Corsepius
8594dc78d4 Bump GCC_RPMREL. 2009-01-21 15:26:50 +00:00
Ralf Corsepius
a7a8491dc0 Bump BINUTILS_RPMREL. 2009-01-21 12:19:03 +00:00
Ralf Corsepius
91a3c19bae Bump RPMREL. 2009-01-21 12:16:32 +00:00
Ralf Corsepius
7ad3289ab9 Regenerate. 2009-01-20 16:33:34 +00:00
Ralf Corsepius
4196eb67d8 Bump GDB_RPMREL. 2009-01-20 16:31:01 +00:00
Ralf Corsepius
de0575287e Sync with CVS-HEAD. 2009-01-20 16:29:13 +00:00
Joel Sherrill
b7a265496f 2009-01-06 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1350/bsps
	* network/lan91c11x.c: Do not write 65th element into 64 element array.
2009-01-06 16:26:42 +00:00
Joel Sherrill
8b6a056056 2009-01-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1351/cpukit
	* sapi/include/confdefs.h: Mask off unlimited object bit before using
	configured number in calculations.
2009-01-05 20:15:51 +00:00
Ralf Corsepius
eb63fa523d 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/src/aio_suspend.c: Make aio_suspend()
	POSIX-compliant.
2009-01-02 09:53:24 +00:00
Ralf Corsepius
08fb27cc41 Make aio_suspend() POSIX-compliant. 2009-01-02 09:53:09 +00:00
Joel Sherrill
44cec3c504 2008-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* index.html.in: Remove dead manual references.
2008-12-19 17:52:20 +00:00
Joel Sherrill
d65c2b19ec 2008-12-18 Michael Hamel <nigel@adi.co.nz>
PR 1349/bsps
	* startup/bspstart.c: Add missing volatile on UART access pointer.
2008-12-18 18:51:49 +00:00
Ralf Corsepius
757e3465a2 Regenerate. 2008-12-14 05:28:55 +00:00
Ralf Corsepius
26dd59099b GCC_RPMREL = 18%{?dist}. 2008-12-14 05:27:39 +00:00
Ralf Corsepius
09a43cb2ea Activate c++. 2008-12-14 05:26:45 +00:00
Ralf Corsepius
7f93a2a271 Abandon gcc-4.3.1.
newlib-1.16.0-rtems4.9-20081203.diff
gcc-core-4.3.2-rtems4.9-20081214.diff.
2008-12-14 05:26:06 +00:00
Ralf Corsepius
5068408333 Remove rs6000 MULTILIB_EXTRA_OPTS. 2008-12-14 05:24:15 +00:00
Ralf Corsepius
40e91555b4 Regenerate. 2008-12-14 04:38:16 +00:00
Ralf Corsepius
112b0108c9 binutils-2.19. 2008-12-14 04:37:35 +00:00
Joel Sherrill
25f00a9a1f Upgrade to 4.9.1 2008-12-12 15:30:44 +00:00
Joel Sherrill
b86eb32e1a 2008-12-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/region.t: Malloc Family is not implemented in termios of Region
	Manager after 4.7. Correct documentation.
2008-12-12 14:48:49 +00:00
Joel Sherrill
f4b6dc0373 2008-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
* bsp_howto/console.t: Remove size constraints on image. Fix a
	sentence.
2008-12-12 14:03:28 +00:00
Joel Sherrill
47eab0ac22 2008-12-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Joel Sherrrill <joel.sherrill@oarcorp.com>

	* bsp_howto/Makefile.am, bsp_howto/console.t: Sebastian improved
	 documentation for termios device drivers.
	* bsp_howto/TERMIOSFlow.eps, bsp_howto/TERMIOSFlow.png: New files.
	Joel added Termios Flow figure from RTEMS Open Class material.
2008-12-11 15:50:02 +00:00
Ralf Corsepius
24df6ddfb4 2008-12-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libblock/src/bdbuf.c: Fix typo having crept in during
	  boolean->bool transition.
2008-12-09 14:44:16 +00:00
Ralf Corsepius
71ae507b76 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/Makefile.am: Remove RTEMS_RELLDFLAGS.
	* aclocal/prog-cc.m4: Add RTEMS_RELLDFLAGS hack.
2008-12-08 13:14:38 +00:00
Ralf Corsepius
3f6ffa3788 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/dirutils.c: #include <limits.h>.
2008-12-08 13:11:40 +00:00
Ralf Corsepius
2212e3f145 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/clock.h: #include <sys/time.h>
	* librpc/include/rpc/rpcent.h: #include <rpc/types.h>.
	* librpc/include/rpc/xdr.h: #include <rtems/bsd/sys/cdefs.h>.
2008-12-08 11:19:59 +00:00
Ralf Corsepius
c608efb2dc 2008-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* bsp_specs: Backport from CVS-HEAD.
2008-12-08 05:16:05 +00:00
Joel Sherrill
4f511b8c4d 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-shared, runtest-bottom: Tidy up more bugs.
2008-12-05 21:59:58 +00:00
Joel Sherrill
aaf9273810 2008-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* sp46/sp46.scn: New file.
2008-12-05 18:18:23 +00:00
Ralf Corsepius
a1abe18a5a Update. 2008-12-05 08:34:16 +00:00
Ralf Corsepius
538c88e5be Regenerate. 2008-12-05 08:33:35 +00:00
Ralf Corsepius
c27b30db86 Bump GCC_RPMREL. 2008-12-05 08:33:23 +00:00
Ralf Corsepius
9d146ecc36 Make c99 io default.
Add prototype for ttyname_t.
2008-12-05 08:27:08 +00:00
Ralf Corsepius
b72be3b16f gcc/config/rs6000/t-rtems: Fix silly typo.
gcc/config/arm/rtems-elf.h: Undefine LINK_GCC_C_SEQUENCE_SPEC.
2008-12-05 08:26:25 +00:00
Joel Sherrill
deed2a08f6 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-gdb-top.in, psim-shared,
	psim-top.in: Clean up and works better. Uses argv[0] to override
	configured target name.
2008-12-04 20:27:35 +00:00
Joel Sherrill
b6e3a7e26d 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1344/bsps
	* clock/ckinit.c: Committed code was not final. Corrections.
2008-12-04 17:57:26 +00:00
Joel Sherrill
b48cfa94ae 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* psim-bottom, psim-gdb-bottom, psim-shared, psim-top.in: Add ability
	to force psim configuration to include System V IPC devices even when
	the test does not appear to be multiprocessing. This is used by some
	RTEMS application developers for system simulation and could be used
	to simulate a framebuffer if a UNIX process mirrored the buffer.
2008-12-04 17:18:51 +00:00
Joel Sherrill
912488de67 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* rtems/src/ratemonperiod.c: Properly handle period statistics after
	cpu usage information is reset while a period is running.
2008-12-04 15:58:08 +00:00
Joel Sherrill
d377e68648 2008-12-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1348/cpukit
	* Makefile.am, configure.ac: Add test of special case of resetting cpu
	usage information while a period is running.
	* sp46/.cvsignore, sp46/Makefile.am, sp46/init.c, sp46/sp46.doc: New
	files.
2008-12-04 15:57:21 +00:00
Joel Sherrill
7dbdb91172 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* sp45/init.c: New file.
2008-12-03 21:36:18 +00:00
Joel Sherrill
37ac61f03a 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* rtems/include/rtems/rtems/timer.h, rtems/src/rtemstimer.c,
	rtems/src/timerreset.c, rtems/src/timerserver.c,
	rtems/src/timerserverfireafter.c, rtems/src/timerserverfirewhen.c,
	score/Makefile.am, score/include/rtems/score/watchdog.h: Rework Timer
	Server to ensure that the context allows for blocking, allocating
	memory, and acquiring semaphores and mutexes.
	* score/src/watchdogadjusttochain.c: New file.
2008-12-03 21:01:09 +00:00
Joel Sherrill
58b727f6b0 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1347/cpukit
	* Makefile.am, configure.ac, sp30/resume.c, sp30/task1.c, sp31/delay.c:
	Rework Timer Server to ensure that the context allows for blocking,
	allocating memory, and acquiring semaphores and mutexes.
	* sp45/.cvsignore, sp45/Makefile.am, sp45/sp45.doc, sp45/sp45.scn:
	New files.
2008-12-03 21:00:35 +00:00
Joel Sherrill
22629eeaa6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1346/cpukit
	* rtems/include/rtems/rtems/ratemon.h: Sense of rate monotonic
	statistics nanoseconds or ticks granularity conditional is backwards.
2008-12-03 19:03:53 +00:00
Joel Sherrill
c6016f15d6 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* cpuModel.h: Add use of TSC for nanoseconds granularity. i8254 is very
	slow on some systems. TSC use is auto-detected by default.
2008-12-03 17:29:13 +00:00
Joel Sherrill
dcbc0a89c2 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
Michael South <msouth@msouth.org>

	PR 1344/bsps
	* configure.ac, clock/ckinit.c, timer/timer.c: Add use of TSC for
	nanoseconds granularity. i8254 is very slow on some systems. TSC use
	is auto-detected by default.
2008-12-03 17:28:30 +00:00
Joel Sherrill
5fe1335662 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1345/Ada
	* rtems.ads: RTEMS boolean type is now C99 bool which is not an
	unsigned32.
2008-12-03 16:38:00 +00:00
Joel Sherrill
15d26f98e6 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/ttyname.c: Correct prototype of ttyname_r() to use
	size_t for third parameter.
2008-12-02 18:51:09 +00:00
Joel Sherrill
dedb922940 2008-12-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/shell/main_cp.c, libmisc/shell/main_ls.c,
	libmisc/shell/main_mv.c, libmisc/shell/main_netstats.c,
	libmisc/shell/main_rm.c, libmisc/shell/shell_script.c: Add #define
	__need_getopt_newlib to enable getopt_r() support in newlib as
	required by 4.10 toolset.
2008-12-02 18:50:43 +00:00
Joel Sherrill
02ac910cfc 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/datatypes.t: Add C99 uint types.
2008-12-01 16:06:43 +00:00
Joel Sherrill
cb6c660501 2008-12-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Id has four parts not three.
2008-12-01 15:31:25 +00:00
Joel Sherrill
f82452b0ee 2008-11-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1341/cpukit
	* sapi/include/confdefs.h: The following macros were missing
	the _Configure_From_workspace() wrapper on their size estimate:
	  + CONFIGURE_INTERRUPT_STACK_MEMORY
	  + CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API
	  + CONFIGURE_INTERRUPT_VECTOR_TABLE
	  + CONFIGURE_MEMORY_FOR_STATIC_EXTENSIONS
	In addition, there was a duplicate definition of
	CONFIGURE_MEMORY_PER_TASK_FOR_CLASSIC_API.
2008-11-24 19:48:59 +00:00
Joel Sherrill
cc107c9cb2 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* user/chains.t: Add rtems_chain_initialize to public chain API.
2008-11-20 21:11:43 +00:00
Joel Sherrill
74e8ad7cb5 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1340/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_initialize to public
	chain API.
2008-11-20 21:11:38 +00:00
Joel Sherrill
0061512710 2008-11-20 Daron Chabot <daronchabot@gmail.com>
PR 1337/bsps
	* custom/pc386.cfg: Stripping .rodata section produces unusable
	executables for the i386-rtems target.
2008-11-20 15:26:51 +00:00
Joel Sherrill
21b1d51d58 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* user/io.t: Re-add IO Manager to Ada binding.
2008-11-20 15:22:29 +00:00
Joel Sherrill
f040148763 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1339/Ada
	* rtems.adb, rtems.ads: Re-add IO Manager to Ada binding.
2008-11-20 15:14:42 +00:00
Ralf Corsepius
73b019a066 Update. 2008-11-19 03:10:36 +00:00
Thomas Doerfler
eb32e3a386 include/bsp.h, include/hwreg_vals.h, network/network.c:
correct some init values for HSC_CM01 boards
change strategy to determine MAC address
2008-11-18 11:36:28 +00:00
Thomas Doerfler
d65b2da6cf libchip/serial/ns16550.c: Transmit the character in the polled write
function within a critical section for printk() compatibility.
2008-11-18 11:28:53 +00:00
Thomas Doerfler
2fafea29f9 console/console.c: Update for new NS16550 polled write function. 2008-11-18 11:28:04 +00:00
Joel Sherrill
906dd572fb 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* sapi/inline/rtems/chain.inl: Add rtems_chain_prepend_unprotected and
	rtems_chain_append_unprotected.
2008-11-13 15:10:24 +00:00
Joel Sherrill
b8b0920874 2008-11-13 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1336/cpukit
	* user/chains.t, user/dirstat.texi: Add rtems_chain_prepend_unprotected
	and rtems_chain_append_unprotected.
2008-11-13 15:10:15 +00:00
Ralf Corsepius
ea4cf27769 Regenerate. 2008-11-10 14:37:40 +00:00
Ralf Corsepius
d414399d87 Regenerate. 2008-11-10 14:33:26 +00:00
Ralf Corsepius
430c0f6d9b Bump GCC_RPMREL. 2008-11-10 14:32:26 +00:00
Ralf Corsepius
55666f5458 Sync with CVS-HEAD. 2008-11-10 13:06:03 +00:00
Ralf Corsepius
11c9109d80 Regenerate. 2008-11-08 03:25:35 +00:00
Ralf Corsepius
e5c9d674d0 Bump BINUTILS_RPMREL. 2008-11-08 03:25:13 +00:00
Joel Sherrill
a76b99ebb0 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* user/concepts.t: Use 32 bit version centered.
2008-11-07 20:16:31 +00:00
Joel Sherrill
7f843f201a 2008-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* ada_user/Makefile.am: Make Ada manual build again after adding
	figure.
2008-11-07 18:58:13 +00:00
Ralf Corsepius
eaa5811507 Import changes from HEAD. 2008-11-07 03:18:23 +00:00
Ralf Corsepius
d3ae4470ac Sync with CVS-HEAD. 2008-11-06 07:36:41 +00:00
Ralf Corsepius
6fd1e6920a Remove cpukit (Unsupported). 2008-11-06 07:31:58 +00:00
Ralf Corsepius
7d3548a154 Remove (Unsupported). 2008-11-06 07:29:45 +00:00
Ralf Corsepius
e4bfb0b8e8 Abandon freebsd7.0 2008-11-05 16:28:29 +00:00
Ralf Corsepius
353014adff Abandon solaris2.7 2008-11-05 16:23:02 +00:00
Till Straumann
fadb4a76b9 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 21:08:49 +00:00
Till Straumann
160e8fb59a 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
	only from 'firstOpen' and only if this is a serial console.
2008-11-03 20:56:02 +00:00
Till Straumann
8667514854 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/linkcmds: increased size of CODE memory
	area.
2008-11-03 20:35:51 +00:00
Till Straumann
3d15f1b209 2008-11-03 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c, shared/startup/sbrk.c:
	Fixed PR#1335. Pass initial starting address to heap
	initialization to avoid 1st 'sbrk'. User may now define
	'BSP_sbrk_policy' variable (see sbrk.c) to tune behavior.
2008-11-03 19:58:43 +00:00
Joel Sherrill
d12091dc9d 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1334/doc
	* user/Makefile.am, user/concepts.t, user/init.t, user/overview.t,
	user/part.t, user/task.t: Correct typos and correctly document 4
	parts of 32-bit object id.
	* user/ObjectId-32Bits.eps, user/ObjectId-32Bits.png: New files.
2008-11-03 19:02:25 +00:00
Joel Sherrill
421d76d763 2008-11-03 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1333/cpukit
	* libcsupport/include/rtems/termiostypes.h: Typo on type name -- should
	be rtems_device_minor_number.
2008-11-03 15:35:04 +00:00
Ralf Corsepius
2733f94506 Add %sysdir %{_prefix} to cater rpm5. 2008-10-28 22:10:09 +00:00
Ralf Corsepius
349ca0c56f Sync with HEAD. 2008-10-24 06:57:08 +00:00
Eric Norum
83e392b463 Reset card on RTEMS shutdown. 2008-10-23 13:45:55 +00:00
Thomas Doerfler
daad59a453 removed orphaned spi/mc68360_spidrv.c 2008-10-21 20:03:25 +00:00
Ralf Corsepius
1424cc452d Bump AUTOCONF_RPMREL, AUTOMAKE_RPMREL. 2008-10-16 13:57:37 +00:00
Ralf Corsepius
404e331f96 New. 2008-10-16 13:56:24 +00:00
Ralf Corsepius
283a60d0e9 Backport from CVS-HEAD. 2008-10-16 13:55:14 +00:00
Joel Sherrill
9811aabe56 2008-10-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1331/networking
	* libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c,
	telnetd/telnetd.h: Improve comments and explanation of options to
	rtems_telnetd_initialize. Add extra newline to login sequence from
	shell.
2008-10-15 17:38:12 +00:00
Joel Sherrill
c08349a85a 2008-10-14 Tim Cussins <timcussins@eml.cc>
PR 1330/cpukit
	* libcsupport/src/free.c: Should print begin field not start field.
2008-10-14 16:09:47 +00:00
Joel Sherrill
127d0a448f 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Remove unused file.
	* pci/no_host_bridge.c: Removed.
2008-10-03 16:29:13 +00:00
Joel Sherrill
91a1e2ee83 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-10-02 21:40:30 +00:00
Joel Sherrill
53fec8538d 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am: bsp_cleanup() was wrong. Use stub. openpic.h not needed.
	* startup/bspclean.c: Removed.
2008-10-02 19:49:15 +00:00
Joel Sherrill
9b643f71cb 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
* console/init68360.c: Delete unused code.
2008-10-02 19:46:58 +00:00
Joel Sherrill
b9ae23a01f 2008-10-02 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1329/bsps
	* network_5200/network.c: Eliminate use of boolean so this compiles.
2008-10-02 14:12:06 +00:00
Thomas Doerfler
4d6ad9e2ad switch to decrementer clock driver
add U-Boot support
remove dead code
adjust console clock routing
fix CPIC interrupts
2008-10-02 12:43:10 +00:00
Thomas Doerfler
224a429bcb adapt timebase macros to support MPC8xx again 2008-10-02 12:41:56 +00:00
Joel Sherrill
e1efd54506 2008-10-01 Gene Smith <gene.smith@siemens.com>
PR 1328/cpukit
	* libmisc/shell/main_mdump.c, libmisc/shell/main_mwdump.c: Fix printing
	of more than 256 bytes.
2008-10-01 20:07:09 +00:00
Ralf Corsepius
4566e9c1e6 2008-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
        * aclocal/check-bsps.m4: Adopt icecube changes from CVS-HEAD.
2008-10-01 01:16:55 +00:00
Joel Sherrill
978eba36bf 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* Makefile.am, preinstall.am, PCI_bus/universe.c, console/console.c,
	include/bsp.h, irq/FPGA.c, irq/irq.c, startup/Hwr_init.c,
	startup/bspstart.c, startup/vmeintr.c: Modifications required to run
	on hardware. Some cleanup.
	* include/irq-config.h: New file.
	* startup/spurious.c: Removed.
2008-09-30 23:17:15 +00:00
Joel Sherrill
db6e1f55b0 2008-09-30 Jennifer Averett <jennifer.averett@oarcorp.com>
* custom/score603e.cfg: Modifications required to run on hardware. Some
	cleanup.
2008-09-30 23:16:37 +00:00
Joel Sherrill
67c191b268 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* timer/timer.c: Eliminate uses of old benchmark timer names.
2008-09-30 16:28:39 +00:00
Joel Sherrill
fcb90b6381 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/tm27.h: Do not use set_vector.
2008-09-30 16:27:41 +00:00
Joel Sherrill
46d17c9114 2008-09-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* bsp_howto/timer.t: Eliminate uses of old benchmark timer names.
2008-09-30 16:27:30 +00:00
Ralf Corsepius
5526734916 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/startfor340only.S: Remove (unused).
2008-09-30 16:22:34 +00:00
Ralf Corsepius
04b38ae038 2008-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* console/defaultfont.c: Remove (Renamed into console/defaultfont.h).
	* console/defaultfont.h: New (Renamed from console/defaultfont.c).
	* Makefile.am, console/conio.c: Reflect renamer.
2008-09-30 04:35:31 +00:00
Joel Sherrill
3b1a322ee1 2008-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* support/timer_driver.adb, support/timer_driver.ads,
	tmtests/tm01/tmtest.adb, tmtests/tm02/tmtest.adb,
	tmtests/tm03/tmtest.adb, tmtests/tm04/tmtest.adb,
	tmtests/tm05/tmtest.adb, tmtests/tm06/tmtest.adb,
	tmtests/tm07/tmtest.adb, tmtests/tm08/tmtest.adb,
	tmtests/tm09/tmtest.adb, tmtests/tm10/tmtest.adb,
	tmtests/tm11/tmtest.adb, tmtests/tm12/tmtest.adb,
	tmtests/tm13/tmtest.adb, tmtests/tm14/tmtest.adb,
	tmtests/tm15/tmtest.adb, tmtests/tm16/tmtest.adb,
	tmtests/tm17/tmtest.adb, tmtests/tm18/tmtest.adb,
	tmtests/tm19/tmtest.adb, tmtests/tm20/config.h,
	tmtests/tm20/tmtest.adb, tmtests/tm21/tmtest.adb,
	tmtests/tm22/tmtest.adb, tmtests/tm23/tmtest.adb,
	tmtests/tm24/tmtest.adb, tmtests/tm25/tmtest.adb,
	tmtests/tm28/tmtest.adb, tmtests/tm29/tmtest.adb,
	tmtests/tmck/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Clean up.
	Verified to run on psim with gcc 4.3.2.
2008-09-29 20:44:38 +00:00
Ralf Corsepius
e606ce0d44 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:31:03 +00:00
Ralf Corsepius
366c2b650f 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Rename into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:29:58 +00:00
Ralf Corsepius
8d9c428ce1 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* start/regs.S: Remove (Renamed into start/regs.h).
        * start/regs.h: New (Renamed from start/regs.S).
        * Makefile.am, start/start.S: Reflect renamer.
2008-09-29 13:25:38 +00:00
Ralf Corsepius
25c0236eb5 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* liblnk/regs.S: Remove (Renamed into liblnk/regs.h).
        * liblnk/regs.h: New (Renamed from liblnk/regs.S).
        * Makefile.am, liblnk/pmon.S: Reflect renamer.
2008-09-29 13:23:51 +00:00
Ralf Corsepius
7be8d6b95c 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove noinst_PROGRAMS (Unused).
2008-09-29 01:48:04 +00:00
Ralf Corsepius
53fe0ffe4b 2008-09-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Cleanup.
2008-09-29 01:07:28 +00:00
Joel Sherrill
87b88cefa2 2008-09-26 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1316/cpukit
	* score/src/coremsgbroadcast.c: Give error when message is too large
	like when sending a message. This was the documented behavior.
2008-09-26 19:24:15 +00:00
Eric Norum
879e252a07 Let TCP/IP stack pick port rather than hard coding selection. Correction of 2008-09-23. 2008-09-26 14:40:17 +00:00
Joel Sherrill
e011297968 2008-09-25 Joel Sherrill <joel.sherrill@OARcorp.com>
* setup.def, started/buildc.t: Update versions and patches.
2008-09-25 21:50:33 +00:00
Joel Sherrill
7cb4ce5e53 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Regenerated.
2008-09-24 17:16:13 +00:00
Joel Sherrill
564dfa32bd 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.maint: Bump rtems_api to 4.9.
2008-09-24 17:13:41 +00:00
Joel Sherrill
8c8146e3a3 Upgrade to 4.9.0 2008-09-24 17:12:19 +00:00
Joel Sherrill
a9546aaf52 2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1326/cpukit
	* libi2c/libi2c.c: Use int for return value when negative values
	possible.
2008-09-24 14:31:37 +00:00
Joel Sherrill
8f60862612 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1324/bsps
	* aclocal/check-bsps.m4: Add missing icecube.
2008-09-24 14:07:51 +00:00
Ralf Corsepius
734e6f6fb3 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
	  comparision of unsigned < 0).
2008-09-24 08:52:49 +00:00
Ralf Corsepius
bfcefdd435 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Eliminates libcpudir.
2008-09-24 07:34:21 +00:00
Ralf Corsepius
27af75498f Cosmetics. 2008-09-24 07:32:19 +00:00
Ralf Corsepius
35b692611f 2008-08-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1323/bsps
	* Makefile.am: Remove AM_CFLAGS += -msoft-float.
2008-09-24 05:38:50 +00:00
Ralf Corsepius
00f0563ea0 2008-09-24 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Remove empty HAS_NETWORKING conditional.
2008-09-24 03:06:42 +00:00
Ralf Corsepius
13c4012f4d 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:47:22 +00:00
Ralf Corsepius
27ccae87c2 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1322/bsps
	* include/bspopts.h.in: Remove.
2008-09-24 02:19:03 +00:00
Joel Sherrill
5edccc1bcf 2008-09-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/BSPInitFlowchart-49.png: Update figure.
2008-09-23 21:35:01 +00:00
Thomas Doerfler
6067359a14 make sure cahce is ON when MMU is off (important for exception handling) 2008-09-23 19:53:38 +00:00
Joel Sherrill
93f8efa7c6 2008-09-23 Eric Norum <norume@aps.anl.gov>
* libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port
	rather than hard coding selection.
2008-09-23 15:21:37 +00:00
Thomas Doerfler
112490e44e correct bsp_clicks_per_usec initialization for non-U-Boot case 2008-09-19 16:25:52 +00:00
Joel Sherrill
1e3c7f856c 2008-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1314/bsps
	* custom/mvme3100.cfg: Remove old stuff.
2008-09-18 14:25:07 +00:00
Ralf Corsepius
bd331c83c6 Remove. 2008-09-18 08:50:00 +00:00
Ralf Corsepius
c07a9c00c5 Update to gdb-6.8-rtems4.9-20080917.diff. 2008-09-18 08:48:17 +00:00
Ralf Corsepius
977b1736a6 Sync with rtems-4.10. 2008-09-18 08:45:29 +00:00
Ralf Corsepius
e91c4bc8e9 Do not define rtems_boolean, rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:04:11 +00:00
Ralf Corsepius
be8f45b014 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Do not define rtems_boolean,
	rtems_single, rtems_double unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:03:52 +00:00
Ralf Corsepius
0a37142076 2008-09-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Do not define boolean, single_precision,
	double_precision unless RTEMS_DEPRECATED_TYPES is given.
2008-09-18 03:02:09 +00:00
Ralf Corsepius
d0279f6e3a Do not define boolean, single_precision, double_precision unless RTEMS_DEPRECATED_TYPES is given. 2008-09-18 03:01:49 +00:00
Joel Sherrill
100198929c 2008-09-16 Joel Sherrill <joel.sherrill@OARcorp.com>
* sapi/include/confdefs.h: Revert previous patch. Does not apply to
	head.
2008-09-16 22:43:08 +00:00
Joel Sherrill
a36866199e 2008-09-16 Gene Smith <gene.smith@siemens.com>
PR 564/cpukit
	* sapi/include/confdefs.h: Fix incorrect name. Was missed in an earlier
	renaming sweep.
2008-09-16 17:13:33 +00:00
Joel Sherrill
d3320bb7cf 2008-09-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* leaf.cfg: LINK.c and LINK.cc include LDFLAGS so do not include it in
	make-exe and make-cxx-exe definitions. This was resulting in the
	linker script being processed twice and breaking some BSPs.
2008-09-15 17:43:44 +00:00
Ralf Corsepius
5782420994 Use "double" instead of "rtems_double". 2008-09-15 13:56:19 +00:00
Ralf Corsepius
ee70857610 2008-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* sp19/system.h: Use "double" instead of "rtems_double".
2008-09-15 13:55:52 +00:00
Ralf Corsepius
913ece4074 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* custom/nios2_iss.cfg: Remove.
2008-09-10 20:06:12 +00:00
Ralf Corsepius
4e3037b258 Remove from rtems-4-9-branch. 2008-09-10 19:54:49 +00:00
Ralf Corsepius
e00572f616 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Remove pre-production testing CFLAGS.
2008-09-10 19:53:40 +00:00
Ralf Corsepius
b4ff9f0b67 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove nios2.
2008-09-10 19:51:49 +00:00
Ralf Corsepius
98520091ea Regenerate. 2008-09-10 19:43:40 +00:00
Ralf Corsepius
bc26929055 Remove. 2008-09-10 19:42:48 +00:00
Ralf Corsepius
2344aa7405 Remove freebsd6.* 2008-09-10 19:40:51 +00:00
Ralf Corsepius
9652395558 Remove rtems-4.10. 2008-09-10 19:38:44 +00:00
Ralf Corsepius
8b66beb2e5 branch cleanup. 2008-09-10 19:37:15 +00:00
Joel Sherrill
92f3264acf 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* MAINTAINERS, README.configure, aclocal/bsp-alias.m4,
	aclocal/canonical-target-name.m4, aclocal/check-bsps.m4: Remove TI
	C4x and NIOS2 ports from 4.9 branch.
2008-09-10 16:03:10 +00:00
Joel Sherrill
c7df255f99 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 16:02:20 +00:00
Joel Sherrill
74c15b62ea 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 16:00:41 +00:00
Joel Sherrill
abe94a6a83 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4, aclocal/rtems-cpu-subdirs.m4:
	Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 15:59:44 +00:00
Joel Sherrill
a5e7b3ca94 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu_supplement/.cvsignore, cpu_supplement/Makefile.am,
	cpu_supplement/cpu_supplement.texi, porting/cpumodels.t,
	user/preface.texi: Remove TI C4x and NIOS2 ports from 4.9 branch.
	* cpu_supplement/tic4x.t: Removed.
2008-09-10 15:58:58 +00:00
Joel Sherrill
3757d4e1a0 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal/canonical-target-name.m4: Remove TI C4x and NIOS2 ports from
	4.9 branch.
2008-09-10 15:57:26 +00:00
Joel Sherrill
5463b374ac 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* custom/c3xsim.cfg, custom/c4xsim.cfg: Removed.
2008-09-10 15:57:08 +00:00
Joel Sherrill
f1990656e8 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/cpu/c4x/.cvsignore, score/cpu/c4x/ChangeLog,
	score/cpu/c4x/Makefile.am, score/cpu/c4x/cpu.c,
	score/cpu/c4x/cpu_asm.S, score/cpu/c4x/irq.c,
	score/cpu/c4x/preinstall.am, score/cpu/c4x/rtems/asm.h,
	score/cpu/c4x/rtems/score/c4x.h, score/cpu/c4x/rtems/score/cpu.h,
	score/cpu/c4x/rtems/score/cpu_asm.h,
	score/cpu/c4x/rtems/score/types.h, score/cpu/c4x/rtems/tic4x/c4xio.h,
	score/cpu/nios2/.cvsignore, score/cpu/nios2/ChangeLog,
	score/cpu/nios2/Makefile.am, score/cpu/nios2/cpu.c,
	score/cpu/nios2/cpu_asm.S, score/cpu/nios2/irq.c,
	score/cpu/nios2/preinstall.am, score/cpu/nios2/rtems/asm.h,
	score/cpu/nios2/rtems/score/cpu.h,
	score/cpu/nios2/rtems/score/cpu_asm.h,
	score/cpu/nios2/rtems/score/nios2.h,
	score/cpu/nios2/rtems/score/types.h: Removed.
2008-09-10 15:49:32 +00:00
Joel Sherrill
4f20b858ea 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* c4x/.cvsignore, c4x/ChangeLog, c4x/Makefile.am, c4x/acinclude.m4,
	c4x/configure.ac, c4x/c4xsim/.cvsignore, c4x/c4xsim/ChangeLog,
	c4x/c4xsim/Makefile.am, c4x/c4xsim/README, c4x/c4xsim/bsp_specs,
	c4x/c4xsim/configure.ac, c4x/c4xsim/preinstall.am,
	c4x/c4xsim/clock/clock.c, c4x/c4xsim/console/console.c,
	c4x/c4xsim/console/consolereserveresources.c,
	c4x/c4xsim/console/debugio.c, c4x/c4xsim/console/simio.c,
	c4x/c4xsim/include/.cvsignore, c4x/c4xsim/include/bsp.h,
	c4x/c4xsim/include/simio.h, c4x/c4xsim/include/tm27.h,
	c4x/c4xsim/start/start.S, c4x/c4xsim/startup/bspstart.c,
	c4x/c4xsim/startup/linkcmds, c4x/c4xsim/startup/spurious.c,
	c4x/c4xsim/timer/timer.c, c4x/c4xsim/tools/.cvsignore,
	c4x/c4xsim/tools/ChangeLog, c4x/c4xsim/tools/Makefile.am,
	c4x/c4xsim/tools/configure.ac, c4x/c4xsim/tools/runtest.in,
	c4x/shared/bspspuriousinit.c, c4x/shared/c3xspurious.c,
	c4x/shared/c4xspurious.c, nios2/.cvsignore, nios2/ChangeLog,
	nios2/Makefile.am, nios2/README, nios2/acinclude.m4,
	nios2/configure.ac, nios2/nios2_iss/.cvsignore,
	nios2/nios2_iss/ChangeLog, nios2/nios2_iss/Makefile.am,
	nios2/nios2_iss/bsp_specs, nios2/nios2_iss/configure.ac,
	nios2/nios2_iss/nios2_iss.ptf, nios2/nios2_iss/nios2_iss.sh,
	nios2/nios2_iss/preinstall.am, nios2/nios2_iss/times,
	nios2/nios2_iss/clock/clock.c, nios2/nios2_iss/console/console.c,
	nios2/nios2_iss/include/.cvsignore, nios2/nios2_iss/include/bsp.h,
	nios2/nios2_iss/include/coverhd.h, nios2/nios2_iss/include/tm27.h,
	nios2/nios2_iss/shmsupp/addrconv.c, nios2/nios2_iss/shmsupp/getcfg.c,
	nios2/nios2_iss/shmsupp/lock.c, nios2/nios2_iss/shmsupp/mpisr.c,
	nios2/nios2_iss/start/crtnn.s, nios2/nios2_iss/start/start.S,
	nios2/nios2_iss/startup/bspclean.c,
	nios2/nios2_iss/startup/bspstart.c, nios2/nios2_iss/startup/linkcmds,
	nios2/nios2_iss/startup/main.c, nios2/nios2_iss/startup/setvec.c,
	nios2/nios2_iss/timer/timer.c: Removed.
2008-09-10 15:47:31 +00:00
Joel Sherrill
26c4cb4811 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4,
	score/cpu/Makefile.am: Remove TI C4x and NIOS2 ports from 4.9 branch.
2008-09-10 15:43:54 +00:00
cvs2git
59ccbe2f34 This commit was manufactured by cvs2svn to create branch 'rtems-4-9-branch'.
Sprout from master 2008-09-09 18:14:52 UTC Joel Sherrill <joel.sherrill@OARcorp.com> '2008-09-09	Joel Sherrill <joel.sherrill@oarcorp.com>'
Cherrypick from shttpd 2007-06-11 13:24:29 UTC Ralf Corsepius <ralf.corsepius@rtems.org> 'Import from shttpd-1.37.':
    cpukit/shttpd/auth.c
    cpukit/shttpd/cgi.c
    cpukit/shttpd/compat_unix.c
    cpukit/shttpd/compat_unix.h
    cpukit/shttpd/compat_win32.c
    cpukit/shttpd/compat_win32.h
    cpukit/shttpd/compat_wince.c
    cpukit/shttpd/compat_wince.h
    cpukit/shttpd/config.c
    cpukit/shttpd/io.h
    cpukit/shttpd/io_cgi.c
    cpukit/shttpd/io_dir.c
    cpukit/shttpd/io_emb.c
    cpukit/shttpd/io_file.c
    cpukit/shttpd/io_socket.c
    cpukit/shttpd/io_ssl.c
    cpukit/shttpd/llist.h
    cpukit/shttpd/md5.c
    cpukit/shttpd/md5.h
    cpukit/shttpd/mime_type.c
    cpukit/shttpd/shttpd.1
    cpukit/shttpd/shttpd.c
    cpukit/shttpd/shttpd.h
    cpukit/shttpd/ssl.h
    cpukit/shttpd/standalone.c
    cpukit/shttpd/std_includes.h
Cherrypick from B_rtems_mvme3100_bsp_slac 2007-12-14 06:30:15 UTC Till Straumann <strauman@slac.stanford.edu> ' - imported MVME3100 BSP (from SLAC repository)':
    c/src/lib/libbsp/powerpc/mvme3100/.cvsignore
    c/src/lib/libbsp/powerpc/mvme3100/KNOWN_PROBLEMS
    c/src/lib/libbsp/powerpc/mvme3100/LICENSE
    c/src/lib/libbsp/powerpc/mvme3100/README
    c/src/lib/libbsp/powerpc/mvme3100/bsp_specs
    c/src/lib/libbsp/powerpc/mvme3100/configure.ac
    c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h
    c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
    c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h
    c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h
    c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c
    c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c
    c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h
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/algorithm.txt
    cpukit/zlib/crc32.h
    cpukit/zlib/inffast.h
    cpukit/zlib/inffixed.h
    cpukit/zlib/inflate.h
    cpukit/zlib/trees.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/cygwin.am
    contrib/crossrpms/cygwin/expat.am
    contrib/crossrpms/cygwin/gcc-prep.add
    contrib/crossrpms/cygwin/gcc.am
    contrib/crossrpms/cygwin/gmp.am
    contrib/crossrpms/cygwin/i686/.cvsignore
    contrib/crossrpms/cygwin/i686/Makefile.am
    contrib/crossrpms/cygwin/i686/binutils-sources.add
    contrib/crossrpms/cygwin/i686/expat.add
    contrib/crossrpms/cygwin/i686/gcc-sources.add
    contrib/crossrpms/cygwin/i686/gmp.add
    contrib/crossrpms/cygwin/i686/libs.add
    contrib/crossrpms/cygwin/i686/mpfr.add
    contrib/crossrpms/cygwin/i686/ncurses.add
    contrib/crossrpms/cygwin/i686/readline.add
    contrib/crossrpms/cygwin/i686/target-expat.add
    contrib/crossrpms/cygwin/i686/target-gmp.add
    contrib/crossrpms/cygwin/i686/target-libs.add
    contrib/crossrpms/cygwin/i686/target-mpfr.add
    contrib/crossrpms/cygwin/i686/target-ncurses.add
    contrib/crossrpms/cygwin/i686/target-readline.add
    contrib/crossrpms/cygwin/i686/target-termcap.add
    contrib/crossrpms/cygwin/i686/target-terminfo.add
    contrib/crossrpms/cygwin/i686/target-w32api.add
    contrib/crossrpms/cygwin/i686/target-zlib.add
    contrib/crossrpms/cygwin/i686/termcap.add
    contrib/crossrpms/cygwin/i686/terminfo.add
    contrib/crossrpms/cygwin/i686/w32api.add
    contrib/crossrpms/cygwin/i686/zlib.add
    contrib/crossrpms/cygwin/mpfr.am
    contrib/crossrpms/cygwin/ncurses.am
    contrib/crossrpms/cygwin/readline.am
    contrib/crossrpms/cygwin/termcap.am
    contrib/crossrpms/cygwin/terminfo.am
    contrib/crossrpms/cygwin/w32api.am
    contrib/crossrpms/cygwin/zlib.am
    contrib/crossrpms/freebsd6.2/.cvsignore
    contrib/crossrpms/freebsd6.2/Makefile.am
    contrib/crossrpms/freebsd6.2/binutils.am
    contrib/crossrpms/freebsd6.2/gcc-prep.add
    contrib/crossrpms/freebsd6.2/gcc.am
    contrib/crossrpms/freebsd6.2/i586/.cvsignore
    contrib/crossrpms/freebsd6.2/i586/Makefile.am
    contrib/crossrpms/freebsd6.2/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.2/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.2/i586/libs.add
    contrib/crossrpms/freebsd6.2/i586/target-libs.add
    contrib/crossrpms/freebsd6.3/.cvsignore
    contrib/crossrpms/freebsd6.3/Makefile.am
    contrib/crossrpms/freebsd6.3/binutils.am
    contrib/crossrpms/freebsd6.3/gcc-prep.add
    contrib/crossrpms/freebsd6.3/gcc.am
    contrib/crossrpms/freebsd6.3/i586/.cvsignore
    contrib/crossrpms/freebsd6.3/i586/Makefile.am
    contrib/crossrpms/freebsd6.3/i586/binutils-sources.add
    contrib/crossrpms/freebsd6.3/i586/gcc-sources.add
    contrib/crossrpms/freebsd6.3/i586/libs.add
    contrib/crossrpms/freebsd6.3/i586/target-libs.add
    contrib/crossrpms/freebsd7.0/.cvsignore
    contrib/crossrpms/freebsd7.0/Makefile.am
    contrib/crossrpms/freebsd7.0/binutils.am
    contrib/crossrpms/freebsd7.0/gcc-prep.add
    contrib/crossrpms/freebsd7.0/gcc.am
    contrib/crossrpms/freebsd7.0/i586/.cvsignore
    contrib/crossrpms/freebsd7.0/i586/Makefile.am
    contrib/crossrpms/freebsd7.0/i586/binutils-sources.add
    contrib/crossrpms/freebsd7.0/i586/gcc-sources.add
    contrib/crossrpms/freebsd7.0/i586/libs.add
    contrib/crossrpms/freebsd7.0/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/zlib/doc/rfc1950.txt
    cpukit/zlib/doc/rfc1951.txt
    cpukit/zlib/doc/rfc1952.txt
    cpukit/zlib/doc/txtvsbin.txt
    cpukit/zlib/examples/enough.c
    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
    cpukit/zlib/zlib2ansi
2008-09-09 18:14:53 +00:00
11884 changed files with 522979 additions and 1169384 deletions

4
.gitignore vendored
View File

@@ -2,4 +2,8 @@ aclocal.m4
autom4te.cache
configure
config.h.in
config.guess
config.sub
install-sh
Makefile.in
missing

1747
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,54 @@
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
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

@@ -31,7 +31,7 @@ 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
rtems_api := 4.9
PATH := /opt/rtems-$(rtems_api)/bin:$(PATH)
# -----------------
@@ -54,6 +54,15 @@ 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
cd rtems-$(rtems_version) ; \
touch doc/ada_user/ada_user.texi doc/bsp_howto/bsp_howto.texi \
doc/cpu_supplement/cpu_supplement.texi \
doc/develenv/develenv.texi doc/filesystem/filesystem.texi \
doc/itron3.0/itron.texi doc/networking/networking.texi \
doc/new_chapters/new_chapters.texi doc/porting/porting.texi \
doc/posix1003.1/posix1003_1.texi doc/posix_users/posix_users.texi \
doc/relnotes/relnotes.texi doc/started/started.texi \
doc/user/c_user.texi
tar -cj -X rtems-$(rtems_version)/excludes \
-f rtems-$(rtems_version)$(TAG_SUFFIX).tar.bz2 rtems-$(rtems_version)
@@ -122,23 +131,6 @@ new-revision:
$(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
@@ -150,4 +142,4 @@ commit:
$(CVS_RUN) commit -m "Upgrade to $(rtems_version)" \
$(VERSION_FILES) VERSION
.PHONY: commit new-minor new-revision new-branch tag tarball
.PHONY: commit new-minor new-revision 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.

250
README.configure Normal file
View File

@@ -0,0 +1,250 @@
#
# $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-rtems4.9
h8300-rtems4.9
i386-rtems4.9
m68k-rtems4.9
mips-rtems4.9
no_cpu-rtems4.9
powerpc-rtems4.9
sh-rtems4.9
sparc-rtems4.9
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' when configured with
--enable-tests=samples. Use --enable-tests=all to build the full
test suite.
Documentation is built separately from the source code.
2.2 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 : csb336 csb337 edb7312 gba gp32 nds rtl22x rtl22xx_t
smdk2410
avr: : none
bfin : eZKit533 bf537Stamp
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 gen68302 gen68360 gen68360_040
genmcf548x idp mcf5206elite mcf52235 mcf5235 mcf5239
m5484FireEngine mrm332 mvme136 mvme147s mvme162 mvme162lx
mvme167 ods68302 pgh360 sim68000 simcpu32 uC5282
no_cpu : no_bsp (porting example)
mips : csb350 genmongoosev hurricane jmr3904 rbtx4925 rbtx4938
p4600 p4650
powerpc : brs5l ep1a gen5200 gen83xx haleakala hsc_cm01 icecube
mbx821_001 mbx821_002 mbx821_002b mbx860_001b mbx860_002
mbx860_005b mcp750 mvme2100 mvme2307 mtx603e
mvme5500 mpc55xxevb mpc8260ads mpc8313erdb mpc8349eamds
pghplus pm520_cr825 pm520_ze30 psim score603e ss555
tqm8xx_stk8xx virtex
NOTE: The "motorola_powerpc" BSP is a single BSP which
can be conditionally compiled to support most Motorola
VMEbus, CompactPCI, and MTX boards.)
NOTE: The mbx8xx, gen5200, gen83xx, and tqm8xx BSPs are
designed to handle a variety of boards based on the same
family of system on chips CPUs
sh : gensh1 gensh2 gensh4 shsim simsh4 simsh7045
sparc : erc32 sis leon2 leon3
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 BSPs have been built on GNU/Linux if the target architecture
is supported in the FSF tools distribution.
8. Prerequisites
================
GNU make
Bash.
binutils, gcc, newlib and gdb versions matching those in the RPMs.

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 Joel Sherrill joel.sherrill@OARcorp.com
or contact OAR at:
On-Line Applications Research Corporation
7047 Old Madison Pike Suite 320
Huntsville AL 35806
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.9.6

View File

@@ -1,14 +1,47 @@
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
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
pghplus) $2=tqm8xx ;; # powerpc - mpc8xx custom board
tqm8xx_stk8xx) $2=tqm8xx ;; # powerpc - tqm8xx on starter kit
pgh360) $2=gen68360 ;; # m68k - 68360 custom board
m5484FireEngine) $2=genmcf548x ;; # m68k - mcf548x eva board
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
icecube) $2=gen5200 ;; # MPC5200 based board - LITE5200B
mpc55??evb) $2=mpc55xxevb ;; # MPC5566EVB based board
mpc8349eamds) $2=gen83xx ;; # MPC8349 based board
hsc_cm01) $2=gen83xx ;; # MPC8349 based board
mpc8313erdb) $2=gen83xx ;; # MPC83XX based board
rtl22xx_t) $2=rtl22xx ;; # rtl22xx bsp in thumb mode
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,22 @@ 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
;;
*)
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,32 @@ 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
gen68360) bsps="gen68360 gen68360_040 pgh360";;
tqm8xx) bsps="pghplus tqm8xx_stk8xx";;
genmcf548x) bsps="m5484FireEngine";;
p4000) bsps="p4600 p4650";;
mvme162) bsps="mvme162 mvme162lx";;
mbx8xx) bsps="mbx821_001 mbx860_001b"
bsps="$bsps mbx821_002 mbx821_002b"
bsps="$bsps mbx860_002"
bsps="$bsps mbx860_005b"
;;
gen5200) bsps="pm520_cr825 pm520_ze30 brs5l icecube";;
mpc55xxevb) bsps="mpc5566evb";;
gen83xx) bsps="mpc8349eamds hsc_cm01 mpc8313erdb";;
motorola_powerpc) bsps="mvme2307 mcp750 mtx603e mvme2100";;
pc386) bsps="pc386 pc386dx pc486 pc586 pc686 pck6";;
erc32) bsps="erc32 sis";;
rtl22xx) bsps="rtl22xx rtl22xx_t)";;
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,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])
])

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,
[AS_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])],
[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,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,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

@@ -1,3 +1,5 @@
## $Id$
AC_DEFUN([RTEMS_ENABLE_RTEMS_DEBUG],
[
AC_ARG_ENABLE(rtems-debug,

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$
AC_DEFUN([RTEMS_ENABLE_TESTS],
[
AC_ARG_ENABLE(tests,

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,10 +1,12 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
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
@@ -14,7 +16,7 @@ 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 +31,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.9.6]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.9])

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

151
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,29 +75,23 @@ 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
@@ -105,7 +100,7 @@ case $mode in
preinstall)
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

6
bspkit/README Normal file
View File

@@ -0,0 +1,6 @@
WARNING
=======
All files in here are considered to be unstable and experimental.
They are subject to change at any time without prior notice.

View File

@@ -0,0 +1,3 @@
2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* cfg/bare-avr3.cfg, cfg/bare-avr5.cfg: New.

View File

@@ -0,0 +1,39 @@
#
# Config file for the "bare" BSP
#
# $Id$
#
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=bare
RTEMS_CPU_MODEL=avr3
CPU_CFLAGS=-mmcu=avr3
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V=-Os -fomit-frame-pointer
# this target has no start file
START_BASE=
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
@echo "*** Cannot do a link with the bare bsp. ***"
@echo "#!/bin/sh" > $(basename $@).exe
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
endef
define make-cxx-exe
@echo "*** Cannot do a link with the bare bsp. ***"
@echo "#!/bin/sh" > $(basename $@).exe
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
endef
# Miscellaneous additions go here

View File

@@ -0,0 +1,39 @@
#
# Config file for the "bare" BSP
#
# $Id$
#
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=bare
RTEMS_CPU_MODEL=avr5
CPU_CFLAGS=-mmcu=avr5
include $(RTEMS_ROOT)/make/custom/default.cfg
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
# this target has no start file
START_BASE=
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
@echo "*** Cannot do a link with the bare bsp. ***"
@echo "#!/bin/sh" > $(basename $@).exe
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
endef
define make-cxx-exe
@echo "*** Cannot do a link with the bare bsp. ***"
@echo "#!/bin/sh" > $(basename $@).exe
@echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
endef
# Miscellaneous additions go here

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
@@ -149,7 +153,7 @@ The following persons/organizations have made contributions:
interrupt management API that reduces interrupt latency while making
it easier to support external interrupt controllers.
+ Joel Sherrill <joel@OARcorp.com> for the BSPs that work with
+ Joel Sherrill <joel.sherrill@OARcorp.com> for the BSPs that work with
numerous simulators including psim, c4xsim, h8sim, armulator,
sim68000, and simcpu32. Most of these BSPs work with instruction
set simulators in gdb.

222
c/ChangeLog Normal file
View File

@@ -0,0 +1,222 @@
2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* ACKNOWLEDGEMENTS, TOOL_TARGETS: Remove TI C4x and NIOS2 ports from
4.9 branch.
2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Use MKDIR_P instead of mkdir_p.
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60. Require automake-1.10.
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,53 +1,36 @@
#
# $Id$
#
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
that are for RTEMS, their object format, and status notes
arm:
arm-rtems ELF
arm: arm-rtems ELF
c4x:
c4x-rtems COFF Requires patches
h8300: h8300-rtems COFF
h8300:
h8300-rtems COFF
i386: i386-rtems ELF
i386:
i386-rtems ELF
m68k: m68k-rtems ELF
m68k:
m68k-rtems ELF
mips:
mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
mips: mips*-rtems ELF Big endian
mips*el-rtems ELF Little endian
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
nios2: nios2-elf ELF Little endian
NOTE: Currently there is no native nios2-rtems toolchain;
Altera's nios2-elf-tools can be used with wrapper scripts.
powerpc:
powerpc-rtems ELF
powerpcle-rtems ELF Little endian
powerpc: powerpc-rtems ELF
powerpcle-rtems ELF Little endian
NOTE: Little endian configuration is not in all tools and
is untested for RTEMS itself.
sh:
sh-rtems COFF
sh-rtemscoff COFF
sh-rtemself ELF
NOTE: ELF is not completely stable for SH yet.
sh: sh-rtems ELF
sparc:
sparc-rtems ELF

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

3761
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

@@ -0,0 +1,35 @@
dnl $Id$
dnl
dnl RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION - some autoconf voodoo to
dnl indicate that the BSP is using the shared RAM allocation code in
dnl bootcard.c. This is a new way of doing things that will reduce the
dnl size of each BSP's bspstart.c and open the door for another round
dnl of benefits for BSPs that use this scheme.
dnl
dnl Benefits:
dnl - Reduced code in bspstart.c
dnl - Can optionally dirty memory at boot time.
dnl
dnl NOTE: This macro is intended to be temporary. When most of the
dnl BSPs use the new shared method, we need to either bulk edit
dnl the remaining BSPs to eliminate code using the old way. Or
dnl switch the sense of this macro to be required on BSPs using
dnl the old way.
dnl
dnl AGAIN: This is intended to be temporary. Please help by
dnl updating BSPs to use the new scheme.
dnl To be used in bsp-configure scripts
AC_DEFUN([RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
[AC_DEFINE_UNQUOTED([BSP_BOOTCARD_HANDLES_RAM_ALLOCATION],
[1],
[BSP uses shared logic in bootcard.c]
)
RTEMS_BSPOPTS_SET([BSP_DIRTY_MEMORY],[*],[0])
RTEMS_BSPOPTS_HELP([BSP_DIRTY_MEMORY],
[If defined, then PSIM 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,37 @@ 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
;;
*)
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

@@ -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

@@ -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)
AS_IF([test "$GCC" = yes],[
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
])
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

@@ -12,24 +12,18 @@ AC_DEFUN([RTEMS_CPU_SUBDIRS],
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([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,10 +1,12 @@
dnl $Id$
# AC_DISABLE_OPTION_CHECKING is not available before 2.62
AC_PREREQ(2.62)
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
@@ -15,7 +17,7 @@ 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])
AC_SUBST([RTEMS_TOPdir],["$1"])
@@ -30,5 +32,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],
@@ -76,7 +78,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.9.6]))
m4_define([_RTEMS_API],[4.11])
m4_define([RTEMS_API],[4.9])

1532
c/src/ada-tests/ChangeLog Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,5 @@
## $Id$
ACLOCAL_AMFLAGS = -I aclocal -I ../../../testsuites/aclocal
SUBDIRS = support samples sptests tmtests
@@ -10,4 +12,4 @@ DIST_SUBDIRS = support samples sptests tmtests mptests
EXTRA_DIST = ada.am
include $(top_srcdir)/../../../testsuites/automake/subdirs.am
include $(top_srcdir)/../../../testsuites/automake/local.am
include $(top_srcdir)/../../../testsuites//automake/local.am

View File

@@ -1,3 +1,4 @@
## $Id$
##
## Partially borrowed from gcc-3.2
##

View File

@@ -15,7 +15,7 @@ GNATCOMPILE = $(GNATMAKE) \
$(GCCSPECS) \
$(AM_LDFLAGS) $(LDFLAGS) init.o
CLEANFILES += *.ali *.o b~*.adb b~*.ads
CLEANFILES = *.ali *.o b~*.adb b~*.ads
#%.o: %.c
# $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@

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