Commit Graph

36 Commits

Author SHA1 Message Date
Joel Sherrill
0666956fb1 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/itronsys/types.h: ITRON types should follow native
	integer size.
2009-01-05 19:57:14 +00:00
Joel Sherrill
b7b450efac 2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id
	to avoid sizing mismatches.
2008-12-19 19:30:37 +00:00
Joel Sherrill
e06ecec518 2008-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/config.h,
	itron/include/rtems/itron/eventflags.h,
	itron/include/rtems/itron/fmempool.h,
	itron/include/rtems/itron/mbox.h,
	itron/include/rtems/itron/msgbuffer.h,
	itron/include/rtems/itron/port.h,
	itron/include/rtems/itron/semaphore.h,
	itron/include/rtems/itron/task.h,
	itron/include/rtems/itron/vmempool.h, itron/src/eventflags.c,
	itron/src/fmempool.c, itron/src/itroninittasks.c,
	itron/src/itronsem.c, itron/src/mbox.c, itron/src/msgbuffer.c,
	itron/src/port.c, itron/src/task.c, itron/src/vmempool.c,
	sapi/src/itronapi.c: Convert ITRON manager initialization routines to
	directly pull parameters from configuration table.
2008-12-17 22:12:24 +00:00
Joel Sherrill
aac75d3b9b 2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/itronapi.h, libmisc/capture/capture.c,
	libmisc/monitor/mon-config.c, libmisc/monitor/mon-driver.c,
	libmisc/monitor/mon-itask.c, libmisc/monitor/mon-mpci.c,
	posix/include/rtems/posix/config.h,
	posix/include/rtems/posix/posixapi.h,
	rtems/include/rtems/rtems/config.h,
	rtems/include/rtems/rtems/rtemsapi.h, rtems/src/taskinitusers.c,
	sapi/include/confdefs.h, sapi/include/rtems/config.h,
	sapi/include/rtems/init.h, sapi/src/exinit.c, sapi/src/itronapi.c,
	sapi/src/posixapi.c, sapi/src/rtemsapi.c, score/src/isr.c,
	score/src/thread.c, score/src/threadcreateidle.c,
	score/src/threadstackallocate.c, score/src/threadstackfree.c,
	score/src/wkspace.c: Eliminate pointers to API configuration tables
	in the main configuration table. Reference the main configuration
	table and the API configuration tables directly using the confdefs.h
	version rather than obtaining a pointer to it. This eliminated some
	variables, a potential fatal error, some unnecessary default
	configuration structures. Overall, about a 4.5% reduction in the code
	size for minimum and hello on the SPARC.
2008-12-15 19:21:01 +00:00
Ralf Corsepius
5b2be34998 Eliminate "boolean". 2008-09-07 07:04:38 +00:00
Ralf Corsepius
22d66ab1af Convert to "bool". 2008-09-04 16:04:00 +00:00
Joel Sherrill
f73fc29d66 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
	itron/src/task.c, libcsupport/src/newlibc_exit.c,
	libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
	posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
	posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
	rtems/src/tasks.c, score/include/rtems/score/stack.h,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
	various nested-externs warnings.
2008-08-18 19:18:52 +00:00
Ralf Corsepius
5742e5e278 Add missing prototype. 2008-08-01 05:13:02 +00:00
Joel Sherrill
d9857c8a8c 2008-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* itron/include/rtems/itron/task.h, itron/src/task.c: ITRON currently
	has no functional data in the user extension data area structure so
	this disables the definition, allocation and deallocation of that
	structure. If we ever have to add data to it, then it will be easy to
	reenable.
2008-06-05 14:32:14 +00:00
Joel Sherrill
345fc11da9 2008-05-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/del_tsk.c,
	itron/src/exd_tsk.c, itron/src/task.c,
	posix/include/rtems/posix/threadsup.h, posix/src/cancel.c,
	posix/src/cancelrun.c, posix/src/pthread.c, posix/src/pthreadexit.c,
	posix/src/setcancelstate.c, posix/src/setcanceltype.c,
	posix/src/testcancel.c, rtems/src/taskdelete.c,
	score/inline/rtems/score/object.inl, score/src/objectclose.c,
	score/src/threadclose.c: Make all task delete/exit/cancel routines
	follow the same critical section pattern. Also ensure that POSIX
	cancelation routines are run at thread exit.
2008-05-22 20:38:03 +00:00
Joel Sherrill
5088d97838 2008-02-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/cre_tsk.c,
	posix/src/pthreadcreate.c, rtems/src/taskcreate.c,
	rtems/src/taskdelete.c, rtems/src/timerserver.c,
	score/src/threadclose.c, score/src/threadcreateidle.c,
	score/src/threadinitialize.c: Switch task create and delete
	operations to using API Allocator Mutex. This moves almost all uses
	of the RTEMS Workspace from dispatching disabled to mutex protected
	which should improve deterministic behavior. The implementation was
	carefully done to allow task create and delete extensions to invoke
	more services. In particular, a task delete extension should be able
	to do mutex and file operations.
2008-02-28 16:15:35 +00:00
Joel Sherrill
ce19f1fa3b 2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/object.h, itron/src/cre_tsk.c,
	libblock/src/show_bdbuf.c, libmisc/capture/capture-cli.c,
	libmisc/capture/capture.c, libmisc/monitor/mon-manager.c,
	libmisc/stackchk/check.c, posix/src/condinit.c,
	posix/src/keycreate.c, posix/src/mqueuecreatesupp.c,
	posix/src/mqueuedeletesupp.c, posix/src/mqueuenametoid.c,
	posix/src/mqueueopen.c, posix/src/mqueueunlink.c,
	posix/src/mutexinit.c, posix/src/pbarrierinit.c,
	posix/src/prwlockinit.c, posix/src/pspininit.c,
	posix/src/pthreadcreate.c, posix/src/pthreadexit.c,
	posix/src/semaphorecreatesupp.c, posix/src/semaphorenametoid.c,
	posix/src/timercreate.c, rtems/src/barrierident.c,
	rtems/src/dpmemident.c, rtems/src/msgqident.c, rtems/src/partident.c,
	rtems/src/ratemonident.c, rtems/src/regionident.c,
	rtems/src/semident.c, rtems/src/taskident.c, rtems/src/timerident.c,
	sapi/src/extensionident.c, score/Makefile.am,
	score/include/rtems/score/object.h,
	score/inline/rtems/score/object.inl, score/src/apimutexallocate.c,
	score/src/objectextendinformation.c,
	score/src/objectgetnameasstring.c, score/src/objectmp.c,
	score/src/objectnametoid.c: Convert the Objects_Name type from a
	simple type to a union of an unsigned 32 bit integer and a pointer.
	This should help eliminate weird casts between u32 and pointers in
	various places. The APIs now have to explicitly call _u32 or _string
	versions of helper routines. This should also simplify things and
	eliminate the need for ugly casts in some cases.
	* score/src/objectclearname.c, score/src/objectcomparenameraw.c,
	score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
	score/src/objectcopynamestring.c: Removed.
2008-01-23 22:57:43 +00:00
Ralf Corsepius
6df1f64643 New header guards. 2005-01-28 11:07:14 +00:00
Ralf Corsepius
ed11bb2655 Add doxygen preamble. 2004-11-21 06:05:23 +00:00
Ralf Corsepius
7ded4e37a3 Remove unnecessary white spaces. 2004-04-15 04:00:25 +00:00
Ralf Corsepius
20f78a33ff 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>
* itron/include/itronsys/mbox.h, itron/include/itronsys/types.h,
	itron/include/rtems/itron/eventflags.h,
	itron/include/rtems/itron/fmempool.h,
	itron/include/rtems/itron/mbox.h,
	itron/include/rtems/itron/msgbuffer.h,
	itron/include/rtems/itron/port.h,
	itron/include/rtems/itron/semaphore.h,
	itron/include/rtems/itron/task.h,
	itron/include/rtems/itron/vmempool.h,
	itron/inline/rtems/itron/semaphore.inl,
	itron/macros/rtems/itron/semaphore.inl, itron/src/eventflags.c,
	itron/src/fmempool.c, itron/src/itronsem.c, itron/src/mbox.c,
	itron/src/msgbuffer.c, itron/src/port.c, itron/src/snd_mbx.c,
	itron/src/task.c, itron/src/trcv_mbx.c, itron/src/vmempool.c:
	Convert to using c99 fixed size types.
2004-03-23 13:13:17 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Joel Sherrill
e49f9e6bd3 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* include/itron.h, include/itronsys/eventflags.h,
	include/itronsys/fmempool.h, include/itronsys/intr.h,
	include/itronsys/mbox.h, include/itronsys/msgbuffer.h,
	include/itronsys/network.h, include/itronsys/port.h,
	include/itronsys/semaphore.h, include/itronsys/status.h,
	include/itronsys/sysmgmt.h, include/itronsys/task.h,
	include/itronsys/time.h, include/itronsys/types.h,
	include/itronsys/vmempool.h, include/rtems/itron/config.h,
	include/rtems/itron/eventflags.h, include/rtems/itron/fmempool.h,
	include/rtems/itron/intr.h, include/rtems/itron/itronapi.h,
	include/rtems/itron/mbox.h, include/rtems/itron/msgbuffer.h,
	include/rtems/itron/network.h, include/rtems/itron/object.h,
	include/rtems/itron/port.h, include/rtems/itron/semaphore.h,
	include/rtems/itron/sysmgmt.h, include/rtems/itron/task.h,
	include/rtems/itron/time.h, include/rtems/itron/vmempool.h,
	inline/rtems/itron/eventflags.inl, inline/rtems/itron/fmempool.inl,
	inline/rtems/itron/intr.inl, inline/rtems/itron/mbox.inl,
	inline/rtems/itron/msgbuffer.inl, inline/rtems/itron/network.inl,
	inline/rtems/itron/port.inl, inline/rtems/itron/semaphore.inl,
	inline/rtems/itron/sysmgmt.inl, inline/rtems/itron/task.inl,
	inline/rtems/itron/time.inl, inline/rtems/itron/vmempool.inl,
	macros/rtems/itron/eventflags.inl, macros/rtems/itron/fmempool.inl,
	macros/rtems/itron/intr.inl, macros/rtems/itron/mbox.inl,
	macros/rtems/itron/msgbuffer.inl, macros/rtems/itron/network.inl,
	macros/rtems/itron/port.inl, macros/rtems/itron/semaphore.inl,
	macros/rtems/itron/sysmgmt.inl, macros/rtems/itron/task.inl,
	macros/rtems/itron/time.inl, macros/rtems/itron/vmempool.inl,
	src/can_wup.c, src/chg_pri.c, src/cre_mbf.c, src/cre_mbx.c,
	src/cre_sem.c, src/cre_tsk.c, src/del_mbf.c, src/del_mbx.c,
	src/del_sem.c, src/del_tsk.c, src/dis_dsp.c, src/ena_dsp.c,
	src/eventflags.c, src/exd_tsk.c, src/ext_tsk.c, src/fmempool.c,
	src/frsm_tsk.c, src/get_tid.c, src/itronintr.c, src/itronsem.c,
	src/itrontime.c, src/mbox.c, src/mboxtranslatereturncode.c,
	src/msgbuffer.c, src/msgbuffertranslatereturncode.c, src/network.c,
	src/port.c, src/prcv_mbf.c, src/prcv_mbx.c, src/preq_sem.c,
	src/psnd_mbf.c, src/rcv_mbf.c, src/rcv_mbx.c, src/ref_mbf.c,
	src/ref_mbx.c, src/ref_sem.c, src/ref_tsk.c, src/rel_wai.c,
	src/rot_rdq.c, src/rsm_tsk.c, src/sig_sem.c, src/slp_tsk.c,
	src/snd_mbf.c, src/snd_mbx.c, src/sta_tsk.c, src/sus_tsk.c,
	src/sysmgmt.c, src/task.c, src/ter_tsk.c, src/trcv_mbf.c,
	src/trcv_mbx.c, src/tslp_tsk.c, src/tsnd_mbf.c, src/twai_sem.c,
	src/vmempool.c, src/wai_sem.c, src/wup_tsk.c: URL for license
	changed.
2003-09-04 18:54:02 +00:00
Ralf Corsepius
99db5e9420 2002-12-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Remove.
	* inline/Makefile.am: Remove.
	* macros/Makefile.am: Remove.
	* src/Makefile.am: Remove.
	* Makefile.am: Merge-in removed Makefile.ams.
	* configure.ac: Reflect changes above.
2002-12-09 05:33:57 +00:00
Ralf Corsepius
78c2a97196 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* inline/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* macros/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:07:32 +00:00
Joel Sherrill
87e106c130 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]).
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:45:31 +00:00
Joel Sherrill
4afc28ad11 2001-11-07 Joel Sherrill <joel@OARcorp.com>
Discovered while fixing PR36 reported by Todor.Todorov@barco.com.
	* include/rtems/itron/object.h: Corrected _ITRON_Objects_Get()
	to use _Objects_Get_by_index().
2001-11-07 22:54:43 +00:00
Joel Sherrill
5a6ad2a2e9 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/itronsys/Makefile.am: Remove.
	* include/rtems/Makefile.am: Remove.
	* include/rtems/itron/Makefile.am: Remove.
	* inline/rtems/Makefile.am: Remove.
	* inline/rtems/itron/Makefile.am: Remove.
	* macros/rtems/Makefile.am: Remove.
	* macros/rtems/itron/Makefile.am: Remove.
	* include/Makefile.am: handle subdirs.
	* inline/Makefile.am: handle subdirs.
	* macros/Makefile.am: handle subdirs.
	* configure.ac: Reflect changes above.
2001-10-16 13:29:41 +00:00
Joel Sherrill
de05cbb98e 2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/itronsys/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
	* include/Makefile.am: Use 'PREINSTALL_FILES ='.
	* inline/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
	* macros/rtems/itron/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-27 13:21:42 +00:00
Joel Sherrill
9fae0f872d 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am, include/itronsys/Makefile.am,
	include/rtems/itron/Makefile.am, inline/rtems/itron/Makefile.am,
	macros/rtems/itron/Makefile.am:
	Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:31:00 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00
Joel Sherrill
bf85b19188 Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
adds .cvsignore.
2000-04-13 14:37:14 +00:00
Joel Sherrill
9608320702 Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
.. a major configuration cleanup
    ... major enhancement of automake support.

    ... and it contains a *major*  breakthough:

    Automake support for libchip and libmisc *LEAF* directories.

    To implement this I have used several nasty tricks
        * The basical trick is to wrap an old Makefile.in's contents into a
          Makefile.am and still continue to use (i.e include) the old
          *.cfg files.

        * Replaced each INSTALL_IF_CHANGE and INSTALL_VARIANT with make
          dependencies
        * Add a gnu-make ifdef AUTOMAKE to main.cfg to avoid conflicts between
          automake and RTEMS make rules
        * Replaced each install:: and preinstall:: rule with make dependencies
        * Replaced SUB_DIRS with SUBDIRS in all Makefile.ins (Automake
          convention)
        * Removed each manually added autoconf substitution which automake
          performs automatically.

    This is not yet full automake support, because using the temporary
    installation directory, preinstallation in general and building variants
    are in contradiction to automake's basic working principles ...

    ... the new Makefile.ams work still somewhat clumsy
    ... nevertheless they work (quite well).

    WARNING:

    At first glance this patch is small, but
        * it affects the whole configuration system.
        * it opens the road to introducing automake to all Makefile.ins
          currently not being under automake control.

    JOEL> Does this remove or add any files?

    Both, all Makefile.ins below libchip and libmisc get replaced with
    Makefile.ams.
1999-11-22 13:41:11 +00:00
Jennifer Averett
9d9a3dd8d3 + Updated copyright information. 1999-11-17 16:47:58 +00:00
Joel Sherrill
5e96e91757 Updated Mailbox Manager submitted and split into multiple files. 1999-11-17 15:24:11 +00:00
Joel Sherrill
d280ce18b8 Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
1999-11-16 15:58:21 +00:00
Jennifer Averett
40aac293b7 Returned third parameter for a NULL name to the objects open call. 1999-11-15 21:37:56 +00:00
Joel Sherrill
a8d72dea01 Removed unnecessary 3rd parameter. 1999-11-12 15:53:29 +00:00
Joel Sherrill
eb02f47b12 Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group.  Included are tests.
1999-11-10 13:48:27 +00:00
Joel Sherrill
e18ba7f0f6 Commented out single letter type names since they conflict with
numerous other uses of the same variable.
1999-11-09 22:25:55 +00:00
Joel Sherrill
352c9b2035 This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.
1999-11-09 22:07:23 +00:00