| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* include/rtems/rtems/msgmp.h, include/rtems/rtems/partmp.h,
include/rtems/rtems/regionmp.h, include/rtems/rtems/semmp.h,
src/msgmp.c, src/partmp.c, src/regionmp.c, src/semmp.c: Removed
warnings.
|
| |
|
|
|
|
|
|
| |
PR 409:
* include/rtems/rtems/types.h: Include rtems/stdint.h.
Apply c99-types to typedef rtems_[un]signed[8|16|32|64].
|
|
|
|
|
|
| |
* src/msg.c, src/part.c, src/sem.c, src/tasks.c: Correct object
class control structure initialization for multiprocessing
configurations.
|
|
|
|
|
| |
* Makefile.am: Don't create $ARCH as side-effect of compilation.
Re-order all-local.
|
|
|
|
|
|
|
|
| |
* include/Makefile.am: Remove.
* inline/Makefile.am: Remove.
* macros/Makefile.am: Remove.
* src/Makefile.am: Remove.
* Makefile.am: Merge-in removed Makefile.ams.
|
|
|
|
|
| |
* include/rtems/rtems/support.h: Added casts to eliminate warnings
on 16 bit targets like the h8300.
|
|
|
|
|
| |
* src/regionreturnsegment.c: When RTEMS_REGION_SHRED_ON_FREE is
set, there should have been an & in front of size.
|
|
|
|
| |
* src/regiongetinfo.c: Corrected return value check.
|
|
|
|
| |
* src/timerserver.c: Add useless return to avoid warning.
|
|
|
|
|
|
|
|
|
| |
* src/dpmemcreate.c, src/dpmemident.c, src/msgqcreate.c,
src/msgqident.c, src/partcreate.c, src/partident.c,
src/ratemoncreate.c, src/ratemonident.c, src/regioncreate.c,
src/regionident.c, src/semcreate.c, src/semident.c, src/taskcreate.c,
src/taskident.c, src/timercreate.c, src/timerident.c: Added casts
to Objects_Name to eliminate warnings.
|
|
|
|
| |
* src/Makefile.am: Add librtems.a.
|
|
|
|
| |
* src/Makefile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
|
|
|
| |
* src/dpmemident.c, src/msgqident.c, src/partident.c,
src/ratemonident.c, src/regionident.c, src/semident.c,
src/timerident.c: Corrected use of name parameter to
be consistent with fixes implemented to string name processing
which were committed with the POSIX Message Queue update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Mega patch merge to change the format of the object IDs to
loosen the dependency between the SCORE and the various APIs.
There was considerable work to simplify the object name management
and it appears that the name_table field is no longer needed.
This patch also includes the addition of the internal mutex
which is currently only used to protect some types of allocation
and deallocation. This significantly can reduce context
switch latency under certain circumstances. In particular,
some heap/region operations were O(n) and had dispatching
disabled. This should help enormously. With this merge,
the patch is not as clean as it should be. In particular,
the documentation has not been modified to reflect the new object
ID layout, the IDs in the test screens are not updated, and
_Objects_Get_information needs to be a real routine not inlined.
As part of this patch a lot of MP code for thread/proxy blocking
was made conditional and cleaned up.
* include/rtems.h, inline/rtems/rtems/region.inl,
macros/rtems/rtems/region.inl, src/dpmem.c, src/dpmemcreate.c,
src/msg.c, src/msgqcreate.c, src/part.c, src/partcreate.c,
src/ratemon.c, src/ratemoncreate.c, src/region.c, src/regioncreate.c,
src/regiondelete.c, src/regionextend.c, src/regiongetinfo.c,
src/regiongetsegment.c, src/regiongetsegmentsize.c,
src/regionident.c, src/regionreturnsegment.c, src/rtemstimer.c,
src/sem.c, src/semcreate.c, src/taskcreate.c, src/taskident.c,
src/tasks.c, src/timercreate.c: Modified as part of above.
|
|
|
|
| |
* Include $(top_srcdir)/automake/*.am.
|
|
|
|
| |
* src/tasks.c: Pre-initialized switch extension for list.
|
|
|
|
| |
* macros/rtems/score/timer.inl: Corrected typo on end of line.
|
|
|
|
|
| |
* Per PR142, make task switch extension its own list.
* src/tasks.c (_RTEMS_tasks_User_extensions): Reflect above.
|
|
|
|
|
| |
* Per PR126, configuration structures now match docs.
* include/rtems/rtems/config.h: Use public data types.
|
|
|
|
|
|
|
|
|
|
|
| |
* Per PR147 addressed problems when reseting and inserting a timer
into a timer chain that did not honor time passage since the last
time the timer server was scheduled and the new insertion.
* include/rtems/rtems/timer.h, src/timerreset.c, src/timerserver.c,
src/timerserverfireafter.c, src/timerserverfirewhen.c: Broke up
the "reset server" routine into a set of very specific routines
that allowed the server to be unscheduled, timer chains to be
"synchronized" with the current time before inserting a new timer.
|
|
|
|
|
|
|
|
| |
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* inline/Makefile.am: Remove AUTOMAKE_OPTIONS.
* macros/Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
|
| |
* include/rtems/rtems/timer.h: Missed merging these modifications
in previous merge of new timer functionality.
|
|
|
|
|
|
|
|
|
|
| |
* Fixed bug where resetting a timer that was not at the head
of one of the task timer chains resulted in the Timer Server
task waking up too far in the future.
* Added rtems_timer_get_information() directive to support testing.
* src/timerserver.c, include/rtems/rtems/timer.h,
* src/timergetinfo.c: New file.
* src/Makefile.am: Modified to reflect above.
|
|
|
|
|
| |
* include/rtems/rtems/timer.h, src/timerserver.c: Add priority
argument to rtems_timer_initiate_server().
|
|
|
|
|
|
|
| |
* include/rtems/system.h: Only include cpuopts.h when building a
multilib configuration. Some ports still need targopts.h but this
small modification lets those ports work non-multilib while
fixing being fixed for multilib.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added task-based timers to the Timer Manager. This added three
new directives:
- rtems_timer_initiate_server
- rtems_timer_server_fire_after
- rtems_timer_server_fire_when
In the process of doing this, a number of cleanups were made.
* src/timerserver.c, src/timerserverfireafter.c,
src/timerserverfirewhen.c: New files.
* include/timer/timer.h: Added new prototypes and supporting types.
* inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced
_Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
* src/Makefile.am: Accounted for new files.
* src/rtemstimer.c: Added initialization of _Timer_Server variable.
* src/timercancel.c, src/timerreset.c: Account for addition
of timer classes. Also corrected the headers.
* src/timercreate.c, src/timerdelete.c, src/timerfireafter.c,
src/timerfireafter.c, src/timerident.c: Corrected header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added task-based timers to the Timer Manager. This added three
new directives:
- rtems_timer_initiate_server
- rtems_timer_server_fire_after
- rtems_timer_server_fire_when
In the process of doing this, a number of cleanups were made.
* src/timerserver.c, src/timerserverfireafter.c,
src/timerserverfirewhen.c: New files.
* include/timer/timer.h: Added new prototypes and supporting types.
* inline/rtems/rtems/timer.h, macros/rtems/rtems/timer.h: Enhanced
_Timer_Is_interval_class() to cover the class TIMER_INTERVAL_ON_TASK.
* src/Makefile.am: Accounted for new files.
* src/rtemstimer.c: Added initialization of _Timer_Server variable.
* src/timercancel.c, src/timerreset.c: Account for addition
of timer classes. Also corrected the headers.
* src/timercreate.c, src/timerdelete.c, src/timerfireafter.c,
src/timerfireafter.c, src/timerident.c: Corrected header.
|
|
|
|
|
| |
* src/taskmode.c: Ensure the this service does not dispatch before
tasking is enabled at initialization time.
|
|
|
|
|
|
|
|
| |
* optman/, optman/.cvsignore, optman/Makefile.am, optman/no-dpmem.c,
optman/no-event.c, optman/no-mp.c, optman/no-msg.c, optman/no-part.c,
optman/no-region.c, optman/no-rtmon.c, optman/no-sem.c,
optman/no-signal.c, optman/no-timer.c: Removed entire contents of
optman/ directory since it has been moved.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Use AS_IF instead of if/then/else.
Add AC_DEFINE_UNQUOTED(RTEMS_UNIX) for RTEMS_CPU==unix.
Add AC_DEFINE_UNQUOTED(RTEMS_UNIXLIB) for RTEMS_CPU==unix.
Add include/Makefile to CONFIG_FILES.
Add AC_ENABLE_MULITLIB.
Remove wrapup/rtems, wrapup/itron, wrapup/posix.
Remove */optman/Makefile from CONFIG_FILES.
* Makefile.am: Add include to SUBDIRS.
* rtems/Makefile.am: Remove optman from SUBDIRS.
* sapi/Makefile.am: Remove optman from SUBDIRS.
* include/Makefile.am: New file.
* include/rtems/bspIo.h: Relocated from lib/include.
* include/rtems/libio_.h: Relocated from lib/include.
|
|
|
|
|
| |
* src/Makefile.am: Add multilib support.
* optman/Makefile.am: Add multilib support.
|
|
|
|
| |
* macros/rtems/rtems/asr.nil: Fixed typo.
|
|
|
|
|
| |
* macros/Makefile.am: Replace INLINES w/ MACROS (Fix stupid typo in
previous patch).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/Makefile.am: Remove.
* include/rtems/rtems/Makefile.am: Remove.
* include/Makefile.am: Handle subdirs, require automake-1.5.
* inline/rtems/Makefile.am: Remove.
* inline/rtems/rtems/Makefile.am: Remove.
* inline/Makefile.am: Handle subdirs, require automake-1.5.
* macros/rtems/Makefile.am: Remove.
* macros/rtems/rtems/Makefile.am: Remove.
* macros: Handle subdirs, require automake-1.5.
* Makefile.am: require automake-1.5.
|
|
|
|
|
|
|
| |
* include/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
* inline/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
* macros/rtems/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
| |
* src/tasks.c: Dereference pointer passed to destructor.
|
|
|
|
|
| |
* inline/rtems/rtems/attr.inl: Correct typo and use correct
attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Add a comment indicating that we do not have
to account for possibly blocking during the core send operation
because Classic API message queue send is always non-blocking.
|
|
|
|
|
|
|
| |
* src/msgqsubmit.c: Unblocking message queue operations should
NOT use _Thread_Executing for return status since it is permissible
to invoke message send operations from an ISR. This was reported
by Suvrat Gupta <suvrat@utstar.com>.
|
|
|
|
|
|
| |
* src/eventsurrender.c: Clear event condition when task is unblocked.
This makes sure that subsequent event send thinks the task is still
blocked and overwrites the initial events received.
|
|
|
|
|
|
|
| |
* include/Makefile.am, include/rtems/rtems/Makefile.am,
inline/rtems/rtems/Makefile.am, macros/rtems/rtems/Makefile.am,
rtems/optman/Makefile.am:
Apply include_*HEADERS instead of H_FILES.
|
|
|
|
|
| |
* include/rtems.h, src/signalcatch.c: Modifications to make
CodeWarrior happy.
|
|
|
|
| |
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
|
|
|
|
|
| |
* src/msgqsubmit.c: Modified multiprocessing conditional so
this would compile with both macros and inlines.
|
|
|
|
|
| |
* macros/rtems/rtems/sem.inl: Added macro implementation of
_Semaphore_Get_interrupt_disable().
|
|
|
|
|
|
|
| |
* src/regiongetinfo.c, include/rtems/rtems/region.h,
include/rtems/rtems/types.h, src/Makefile.am: Added
region_get_information() and information control block.
* src/regiongetinfo.c: New file.
|
|
|
|
|
|
|
| |
* include/rtems/rtems/ratemon.h, src/ratemonperiod.c,
src/ratemontimeout.c: Add next_length field so period length
can be changed by the the sequence period(X), period(not X)
with no intervening cancel or expiration.
|
|
|
|
| |
* optman/Makefile.am, src/Makefile.am: Include compile.am.
|