Commit Graph

162 Commits

Author SHA1 Message Date
Joel Sherrill
3a0827287d 2009-07-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/src/threadqenqueuepriority.c: Add
	RTEMS_DO_NOT_UNROLL_THREADQ_ENQUEUE_PRIORITY to give user ability to
	disable the loop in _Thread_queue_Enqueue_priority from being
	unrolled. This reduces code size and makes coverage analysis easier.
2009-07-10 20:32:48 +00:00
Ralf Corsepius
89ddf5165a 2009-04-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Disable LIBSHELL for unix targets.
2009-04-15 08:36:13 +00:00
Ralf Corsepius
d020f6f3db Check for __assert(). 2009-03-11 17:26:47 +00:00
Ralf Corsepius
a746013918 Check for creat(). 2009-03-10 07:13:08 +00:00
Ralf Corsepius
6e73ca2afa 2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require <errno.h>. Cleanup comments.
	Remove check for <sys/errno.h>.
2008-12-30 05:20:54 +00:00
Ralf Corsepius
4ddd562632 2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require <errno.h>. Cleanup comments.
	Remove check for <sys/errno.h>.
2008-12-30 05:20:11 +00:00
Ralf Corsepius
85c429b523 2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require <errno.h>. Cleanup comments.
	Remove check for <sys/errno.h>.
2008-12-30 05:18:42 +00:00
Ralf Corsepius
52a634e998 2008-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require stdint.h.
2008-12-17 06:39:14 +00:00
Ralf Corsepius
e83a477132 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for functions in newlib.
2008-12-05 13:33:20 +00:00
Joel Sherrill
15e44fd15b 2008-12-04 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: Add
	Lattice Mico32 support.
2008-12-04 22:53:33 +00:00
Ralf Corsepius
f4cc6c550f Add AC_CHECK_FUNC's to check functions migrating into newlib. 2008-11-24 16:37:05 +00:00
Joel Sherrill
5365e6066f 2008-10-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add m32r.
	* libcsupport/src/newlibc_exit.c: For some odd reason, the fini
	symbol for the m32r in C needs an extra leading _.
2008-10-03 19:42:30 +00:00
Joel Sherrill
640e9128fa 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Revert trash committed. Shell builds with m32c now.
2008-10-02 21:47:29 +00:00
Joel Sherrill
0c34b17650 2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac, score/cpu/Makefile.am: Initial addition of M32C port.
	This is still a work in process but most tests do run on simulator.
2008-10-02 21:33:09 +00:00
Joel Sherrill
5060d4f970 2008-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Add generated Doxyfile which can process entire set of
	preinstalled .h files.
	* Doxyfile.in: New file.
2008-09-17 20:25:14 +00:00
Joel Sherrill
7a28ac8880 2008-09-10 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, aclocal/canonical-target-name.m4: Readd NIOS2 and TI
	C4x. Accidentally not done on 4.9 branch. :(
	* 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: New files.
2008-09-10 15:41:37 +00:00
Joel Sherrill
4ff2c04c1d 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.
	* 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:35:28 +00:00
Ralf Corsepius
f6876442e2 Remove score/cpu/arm/thumb/Makefile. 2008-09-07 15:25:35 +00:00
Ralf Corsepius
19b9991ece 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Abort if stdbool.h is not c99 compliant.
2008-08-20 15:10:42 +00:00
Ralf Corsepius
17ed18c058 Add AC_HEADER_STDBOOL. 2008-08-20 07:46:26 +00:00
Ralf Corsepius
7f5a245dee Add __RTEMS_ADD__ 2008-07-02 14:18:50 +00:00
Ralf Corsepius
66a9239a2c Rename __STRICT_ORDER_MUTEX__ to __RTEMS_STRICT_ORDER_MUTEX__. 2008-06-30 15:03:03 +00:00
Ralf Corsepius
5cad5bf575 Add AM_CONDITIONAL(LIBGNAT). 2008-06-30 14:49:52 +00:00
Ralf Corsepius
4c656cb915 Remove magic to update cpuopt.h. 2008-06-30 13:36:33 +00:00
Ralf Corsepius
b4dca71a17 Apply _RTEMS_CPU_INIT, _RTEMS_CPUOPT_FINI.
Cleanup mal-formated RTEMS_CPUOPTs.
2008-06-30 13:20:48 +00:00
Joel Sherrill
58d38a0c76 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
	the use of RPC/XDR could be an issue, the code does build multilib
	across all targets. There are a few remaining warnings to deal with.
	* libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
	libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
	libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
	libfs/src/nfsclient/rfc1094.txt,
	libfs/src/nfsclient/proto/mount_prot.h,
	libfs/src/nfsclient/proto/mount_prot.x,
	libfs/src/nfsclient/proto/mount_prot_xdr.c,
	libfs/src/nfsclient/proto/nfs_prot.h,
	libfs/src/nfsclient/proto/nfs_prot.x,
	libfs/src/nfsclient/proto/nfs_prot_xdr.c,
	libfs/src/nfsclient/src/cexphelp.c,
	libfs/src/nfsclient/src/dirutils.c,
	libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
	libfs/src/nfsclient/src/nfs.modini.c,
	libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
	libfs/src/nfsclient/src/rpcio.h,
	libfs/src/nfsclient/src/rpcio.modini.c,
	libfs/src/nfsclient/src/sock_mbuf.c,
	libfs/src/nfsclient/src/xdr_mbuf.c: New files.
2008-02-26 19:23:53 +00:00
Chris Johns
a5de1ef5fc 2008-01-05 Chris Johns <chrisj@rtems.org>
* configure.ac: Fix typo in the strict order mutex CPU OPTs test.
	* libmisc/shell/shell.c: Handle '#' comment characters correctly.
	* libblock/include/rtems/flashdisk.h: Add docmentation about the
	control fields. Add more control fields to handle the flash when
	full.
	* libblock/src/flashdisk.c: Fix the descriptor erase test so it
	detects a descriptor is erased. Add support for unavailable blocks
	the user can configure. Print the used list as a diag. Fix the bug
	when a page is detected as failed and present on more than one
	queue. Add a count to the queues so queue length can be used to
	manage compaction.
2008-01-05 06:57:17 +00:00
Chris Johns
1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* configure.ac: fixed bug that always enabled strict order
	mutexes.
	* score/inline/rtems/score/coremutex.inl: Fixed coding standard.
	* score/src/coremutex.c: Add the holder's thread to the lock_mutex
	list if the mutex is initialised locked.
	* libnetworking/rtems/rtems_glue.c: Changed semaphore error
	message to show the error is an rtems-net error.
	* libmisc/monitor/mon-network.c: Removed warnings.
	* telnetd/icmds.c: Changed shell_* to rtems_shell_*.
	* score/Makefile.am: Fixed typo that stopped 'make tags' working.
	* libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
	libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
	libmisc/shell/fts.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
	libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: New. Ported from BSD.
	* libmisc/shell/shellconfig.h: Add the cp command.
	* libmisc/Makefile.am: Add the new files to the shell.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
	support.
	* libblock/src/flashdisk.c: Fixed disk drive count size setting
	bug.
2007-12-22 08:27:18 +00:00
Joel Sherrill
e2ba62d1ea 2007-12-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/coremutex.inl: Add the ability to disable
	inlining coremutex seize. This reduces the code size and also
	improves the process of coverage analysis.
	* score/src/coremutexseizeintr.c: New file.
2007-12-21 15:57:22 +00:00
Joel Sherrill
fd84982c00 2007-12-21 Xi Yang <hiyangxi@gmail.com>
* configure.ac, score/include/rtems/score/coremutex.h,
	score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremutex.inl,
	score/src/coremutexsurrender.c, score/src/threadinitialize.c: Add
	support for proper stacking of priority inheritance on mutexes as
	well as enforce proper order of release.
2007-12-21 15:50:09 +00:00
Ralf Corsepius
e73b4ab0bb 2007-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Revert Joel's 2007-06-13 NDEBUG patch.
2007-12-16 18:13:11 +00:00
Joel Sherrill
db27544606 2007-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, posix/Makefile.am, wrapup/Makefile.am:
	Move Ada support code that is untestable from the Standard RTEMS Test
	Suite into its own directory. All code in score, posix, rtems, and
	sapi should be testable by the Standard RTEMS Test Suites. It was
	buried under POSIX before so this should be a clearer location
	anyway.
	* libgnat/.cvsignore, libgnat/Makefile.am, libgnat/ada_intrsupp.c,
	libgnat/adasupp.c: New files.
	* posix/src/ada_intrsupp.c, posix/src/adasupp.c: Removed.
2007-12-12 00:15:54 +00:00
Joel Sherrill
5603b5a6e9 2007-11-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, score/inline/rtems/score/thread.inl,
	score/src/threaddispatch.c: Add ability for user to disable inlining
	of _Thread_Enable_dispatch. This can save code space but more
	importantly it means the binary generated does not have code inlined
	that is difficult to test and very seldom executed.
2007-11-27 20:51:18 +00:00
Joel Sherrill
e15aa41e9c 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Add ARM/Thumb Makefile.
2007-11-06 22:53:43 +00:00
Joel Sherrill
16aa296c97 2007-06-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac: Add NDEBUG as a command line compilation option.
2007-06-13 20:39:56 +00:00
Ralf Corsepius
a70b07be5c 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, Makefile.am: Add libmd.
2007-06-12 15:57:35 +00:00
Ralf Corsepius
31903f07ef Add shttpd. 2007-06-11 13:32:25 +00:00
Ralf Corsepius
83e628a07a 2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove "pad" from CPU_CONTEXT.
2007-06-11 08:00:07 +00:00
Joel Sherrill
c3330a88ee 2007-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* ChangeLog, configure.ac, libcsupport/src/__times.c,
	libmisc/cpuuse/cpuuse.c, libmisc/stackchk/check.c,
	rtems/include/rtems/rtems/ratemon.h, rtems/src/ratemongetstatus.c,
	rtems/src/ratemonperiod.c, rtems/src/ratemonreportstatistics.c,
	rtems/src/ratemonresetall.c, rtems/src/ratemontimeout.c,
	score/Makefile.am, score/include/rtems/score/thread.h,
	score/include/rtems/score/timespec.h, score/src/threaddispatch.c,
	score/src/threadinitialize.c, score/src/threadtickletimeslice.c,
	score/src/timespecdivide.c: Add nanoseconds granularity to the rate
	monotonic period statistics and CPU usage statistics. This capability
	is enabled by default although may be conditionally disabled by the
	user. It could be too much overhead on small targets but it does not
	appear to be bad in early testing. Its impact on code size has not
	been evaluated either. It is possible that both forms of statistics
	gathering could be disabled with further tweaking of the conditional
	compilation.
	* score/src/timespecdividebyinteger.c: New file.
2007-05-17 22:46:45 +00:00
Ralf Corsepius
161016b55f 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for working PRIxPTR.
2007-05-08 10:46:30 +00:00
Ralf Corsepius
e360bc288a 2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Redefine LIBPOSIX to !UNIX.
2007-04-14 04:04:39 +00:00
Ralf Corsepius
2d80c75429 Add AM_CONDITIONAL(HAS_PTHREADS). 2007-04-13 03:59:45 +00:00
Ralf Corsepius
7f3689ef3c Rename AM_CONDITIONAL(HAS_POSIX) into LIBPOSIX. 2007-04-13 03:51:32 +00:00
Ralf Corsepius
9a673dbaa8 2007-02-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check fo intmax_t, uintptr_t, intptr_t,
	pthread.h, pthread_rwlock_t, pthread_barrier_t, pthread_spinlock_t.
2007-02-07 03:36:52 +00:00
Ralf Corsepius
ea35fdc675 Dynamically derive __ __RTEMS_MAJOR__,
__RTEMS_MINOR__, __RTEMS_REVISION__ from _RTEMS_VERSION.
Add __RTEMS_MAJOR__, __RTEMS_MINOR__,__RTEMS_REVISION__ to cpuopt.h.
2007-01-27 07:21:27 +00:00
Ralf Corsepius
d547ff9f56 Abandon DEPRECATED_TYPES/--enable-deprecated. 2006-12-13 07:21:38 +00:00
Ralf Corsepius
ada8d531e1 Add RTEMS_AMPOLISH. 2006-12-12 16:36:38 +00:00
Ralf Corsepius
fcb0cd462c 2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: New BUG-REPORT address.
2006-12-02 06:06:55 +00:00
Ralf Corsepius
f9f51d0def Cosmetics. 2006-11-19 02:59:47 +00:00
Ralf Corsepius
ce135a4fdf Add check for uintmax_t. 2006-11-18 05:31:43 +00:00