Commit Graph

240 Commits

Author SHA1 Message Date
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
Ralf Corsepius
6e46fa731d Use rtems_cv_HAS_NETWORKING instead of HAS_NETWORKING. 2006-11-18 03:42:04 +00:00
Ralf Corsepius
8d4b5cff41 Remove ITRON-type checks.
Move RTEMS_CHECK* after type-checks.
2006-11-18 03:15:13 +00:00
Ralf Corsepius
461d93f4a7 2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove $LIBRPC.
2006-11-18 02:43:10 +00:00
Ralf Corsepius
7b6d1b50da 2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for uint64_t, int64_t.
2006-11-18 02:36:05 +00:00
Ralf Corsepius
3fe615bae8 Replace AM_CONDITIONAL(HAS_NETWORKING) with AM_CONDITIONAL(LIBNETWORKING). 2006-11-18 02:28:35 +00:00
Ralf Corsepius
91fadb3feb Suppress itron if int8/int16_t are not provided.
Introduce AM_CONDITIONAL(LIBITRON).
Remove AM_CONDITIONAL(HAS_ITRON).
2006-11-17 09:50:45 +00:00
Ralf Corsepius
9f6293607e Introduce AM_CONDITIONAL(LIBDOSFS). 2006-11-17 09:42:56 +00:00
Ralf Corsepius
bfe2fd37d0 Remove RTEMS_AMPOLISH3.
Add checks for uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t.
2006-11-15 14:17:57 +00:00
Ralf Corsepius
d62a2e0100 2006-11-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require inttypes.h, check for stdint.h.
2006-11-14 09:14:58 +00:00
Ralf Corsepius
d8f653495b Remove RTEMS_PROVIDES_STDINT_H, RTEMS_PROVIDES_INTTYPES_H. 2006-11-12 11:18:21 +00:00
Ralf Corsepius
e306f333d6 2006-11-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove redundant AC_CHECK_HEADER([stdint.h]),
	AC_CHECK_HEADER([inttypes.h]). Now implicitly checked.
2006-11-09 07:49:21 +00:00
Joel Sherrill
b78d94debd 2006-10-23 Joel Sherrill <joel@OARcorp.com>
* configure.ac, score/cpu/Makefile.am: Add bfin.
2006-10-23 19:39:51 +00:00
Joel Sherrill
04dba496a6 2006-10-19 Joel Sherrill <joel@OARcorp.com>
* configure.ac, itron/Makefile.am, itron/preinstall.am,
	posix/Makefile.am, posix/preinstall.am, rtems/Makefile.am,
	rtems/preinstall.am, sapi/Makefile.am, sapi/preinstall.am,
	score/Makefile.am, score/preinstall.am, score/include/rtems/system.h,
	score/include/rtems/score/chain.h,
	score/include/rtems/score/thread.h, score/src/chain.c,
	score/src/coremutexseize.c, score/src/threadget.c: Remove all macro
	implementations and use only the static inline. Static inline
	functions are now well supported so there is no reason for duplicate
	maintenance.
	* itron/macros/rtems/itron/eventflags.inl,
	itron/macros/rtems/itron/fmempool.inl,
	itron/macros/rtems/itron/intr.inl, itron/macros/rtems/itron/mbox.inl,
	itron/macros/rtems/itron/msgbuffer.inl,
	itron/macros/rtems/itron/network.inl,
	itron/macros/rtems/itron/port.inl,
	itron/macros/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/sysmgmt.inl,
	itron/macros/rtems/itron/task.inl, itron/macros/rtems/itron/time.inl,
	itron/macros/rtems/itron/vmempool.inl,
	posix/macros/rtems/posix/cond.inl, posix/macros/rtems/posix/key.inl,
	posix/macros/rtems/posix/mqueue.inl,
	posix/macros/rtems/posix/mutex.inl,
	posix/macros/rtems/posix/priority.inl,
	posix/macros/rtems/posix/pthread.inl,
	posix/macros/rtems/posix/semaphore.inl,
	posix/macros/rtems/posix/timer.inl, rtems/macros/rtems/rtems/asr.inl,
	rtems/macros/rtems/rtems/attr.inl,
	rtems/macros/rtems/rtems/barrier.inl,
	rtems/macros/rtems/rtems/dpmem.inl,
	rtems/macros/rtems/rtems/event.inl,
	rtems/macros/rtems/rtems/eventset.inl,
	rtems/macros/rtems/rtems/message.inl,
	rtems/macros/rtems/rtems/modes.inl,
	rtems/macros/rtems/rtems/options.inl,
	rtems/macros/rtems/rtems/part.inl,
	rtems/macros/rtems/rtems/ratemon.inl,
	rtems/macros/rtems/rtems/region.inl,
	rtems/macros/rtems/rtems/sem.inl,
	rtems/macros/rtems/rtems/status.inl,
	rtems/macros/rtems/rtems/support.inl,
	rtems/macros/rtems/rtems/tasks.inl,
	rtems/macros/rtems/rtems/timer.inl, sapi/macros/rtems/extension.inl,
	score/macros/README, score/macros/rtems/score/address.inl,
	score/macros/rtems/score/chain.inl,
	score/macros/rtems/score/corebarrier.inl,
	score/macros/rtems/score/coremsg.inl,
	score/macros/rtems/score/coremutex.inl,
	score/macros/rtems/score/corerwlock.inl,
	score/macros/rtems/score/coresem.inl,
	score/macros/rtems/score/corespinlock.inl,
	score/macros/rtems/score/heap.inl, score/macros/rtems/score/isr.inl,
	score/macros/rtems/score/mppkt.inl,
	score/macros/rtems/score/object.inl,
	score/macros/rtems/score/objectmp.inl,
	score/macros/rtems/score/priority.inl,
	score/macros/rtems/score/stack.inl,
	score/macros/rtems/score/states.inl,
	score/macros/rtems/score/sysstate.inl,
	score/macros/rtems/score/thread.inl,
	score/macros/rtems/score/threadmp.inl,
	score/macros/rtems/score/tod.inl,
	score/macros/rtems/score/tqdata.inl,
	score/macros/rtems/score/userext.inl,
	score/macros/rtems/score/watchdog.inl,
	score/macros/rtems/score/wkspace.inl: Removed.
2006-10-19 19:20:10 +00:00
Ralf Corsepius
ce1bdb0857 2006-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.60.
2006-10-17 07:29:40 +00:00
Ralf Corsepius
ed908735b0 Adaptations to automake-1.10. 2006-10-16 15:58:13 +00:00
Joel Sherrill
60eae27dea 2006-08-09 Kolja Waschk <waschk@telos.de>
* configure.ac, librpc/src/xdr/xdr_float.c, score/cpu/Makefile.am: New
	port to Altera NIOS II.
2006-08-09 21:03:27 +00:00
Ralf Corsepius
068cf700ac 2006-05-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-ampolish.m4: New.
	* configure.ac: Use RTEMS_AMPOLISH3.
2006-05-16 14:26:57 +00:00
Ralf Corsepius
3a805b2513 2005-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: New header guard for cpuopts.h.
2005-11-21 09:00:35 +00:00
Ralf Corsepius
28caa1d11b 2005-11-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add RTEMS_NETWORKING to cpuopts.h.
	Add RTEMS_DEPRECATED_TYPES to config.h.
	Add AC_CONFIG_COMMANDS(preinstall-stamp) magic.
	Misc. cleanups.
2005-11-08 19:14:27 +00:00
Till Straumann
6339f4670c 2005-11-02 straumanatslacdotstanford.edu
* libi2c/Makefile.am, libi2c/Makefile.in, libi2c/libi2c.c,
	libi2c/libi2c.h: New files.
	* Makefile.am, configure.ac, preinstall.am, wrapup/Makefile.am: added a
	simple API/library for i2c devices and drivers for i2c 2-byte eeproms
	and a ds1621 temperature sensor; API is documented in libi2c.h
2005-11-03 02:44:59 +00:00
Ralf Corsepius
fa645f6d95 Add zlib. 2005-10-30 04:40:46 +00:00
Ralf Corsepius
c5bb2a4e97 Add pppd. 2005-10-26 16:27:10 +00:00