| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
adds .cvsignore.
|
| |
|
| |
|
|
|
|
| |
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.
|
| |
|
| |
|
|
|
|
| |
Working Group. Included are tests.
|
|
for RTEMS.
|