summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-07-22Remove, moved to cpukit.Ralf Corsepius187-19070/+0
2002-07-052002-07-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill8-7/+15
* 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.
2002-07-012002-07-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill28-121/+189
* 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.
2002-06-172002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius5-9/+9
* Include $(top_srcdir)/automake/*.am.
2002-04-082001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* src/tasks.c: Pre-initialized switch extension for list.
2002-04-082001-04-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* macros/rtems/score/timer.inl: Corrected typo on end of line.
2002-04-082002-04-08 Chris Johns <ccj@acm.org>Joel Sherrill2-0/+6
* Per PR142, make task switch extension its own list. * src/tasks.c (_RTEMS_tasks_User_extensions): Reflect above.
2002-04-022001-03-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-9/+14
* Per PR126, configuration structures now match docs. * include/rtems/rtems/config.h: Use public data types.
2002-03-292001-03-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill6-77/+73
* 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.
2002-03-282002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-5/+8
* 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.
2002-02-012001-01-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+26
* include/rtems/rtems/timer.h: Missed merging these modifications in previous merge of new timer functionality.
2002-01-292001-01-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill4-50/+184
* 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.
2002-01-222001-01-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-19/+41
* include/rtems/rtems/timer.h, src/timerserver.c: Add priority argument to rtems_timer_initiate_server().
2002-01-182001-01-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+9
* 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.
2002-01-162001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-0/+454
* 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.
2002-01-162001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill13-41/+203
* 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.
2002-01-162001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+8
* src/taskmode.c: Ensure the this service does not dispatch before tasking is enabled at initialization time.
2002-01-072002-01-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill13-1197/+8
* 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.
2002-01-042001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-1/+1
* 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.
2001-12-192001-12-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill3-4/+9
* src/Makefile.am: Add multilib support. * optman/Makefile.am: Add multilib support.
2001-10-232001-10-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+6
* macros/rtems/rtems/asr.nil: Fixed typo.
2001-10-232001-10-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* macros/Makefile.am: Replace INLINES w/ MACROS (Fix stupid typo in previous patch).
2001-10-162001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill11-135/+89
* 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.
2001-09-282001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill5-4/+11
* 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 ='.
2001-09-212001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>Joel Sherrill2-1/+5
* src/tasks.c: Dereference pointer passed to destructor.
2001-08-302001-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
* inline/rtems/rtems/attr.inl: Correct typo and use correct attribute RTEMS_SYSTEM_TASK. Reported by Chris Johns <ccj@acm.org>.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+6
* 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.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+6
* 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.
2001-08-092001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-5/+12
* 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>.
2001-03-292001-03-26 Zoltan Kocsi <zoltan@bendor.com.au>Joel Sherrill2-0/+8
* 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.
2001-02-052001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill6-17/+27
* 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.
2001-01-222001-01-22 Michael Hamel <mhamel@adi.co.nz>Joel Sherrill3-2/+7
* include/rtems.h, src/signalcatch.c: Modifications to make CodeWarrior happy.
2000-12-062000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+4
* src/regiongetinfo.c: Removed unused variable to eliminate warning.
2000-11-302000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-10/+13
* src/msgqsubmit.c: Modified multiprocessing conditional so this would compile with both macros and inlines.
2000-11-302000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+10
* macros/rtems/rtems/sem.inl: Added macro implementation of _Semaphore_Get_interrupt_disable().
2000-10-182000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-1/+101
* 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.
2000-09-292000-09-29 Stephan Merker <merker@decrc.abb.de>Joel Sherrill4-3/+21
* 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.
2000-09-052000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill4-3/+9
* optman/Makefile.am, src/Makefile.am: Include compile.am.
2000-08-302000-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-38/+11
* taskstart.c: Removed 1st cut at rtems_task_start_main_style. Only committed this so it could be easily revisited as we discussing moving main() to user space from BSP space.
2000-08-302000-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2-5/+42
* taskstart.c: Added 1st cut at rtems_task_start_main_style.
2000-08-10Adding ChangeLogs.Joel Sherrill1-0/+3
2000-07-06Switched to faster implementation.Joel Sherrill1-25/+20
2000-07-06Modfied to execute faster and have fewer instructions.Joel Sherrill1-38/+38
2000-07-06Switched to using isr disable version of _Objects_Get. When theJoel Sherrill1-13/+15
semaphore/mutex can be obtained immediately, this cuts execution time by 50%.
2000-07-06Added _Semaphore_Get_interrupt_disable.Joel Sherrill1-0/+10
2000-07-06Cleaned up to avoid disruptive use of inline conditionals.Joel Sherrill1-18/+16
2000-06-16Patch from John Cotton <john.cotton@nrc.ca> to correct style ofJoel Sherrill1-16/+16
names to be rtems_PACKAGE_method.
2000-06-14Added include of options.h since it was not being picked upJoel Sherrill1-0/+1
by the network build.
2000-06-13New file.Joel Sherrill1-0/+137
2000-06-13Moved i386 and m68k cache management code to libcpu. EverythingJoel Sherrill4-393/+2
now is an implementation of the prototypes in rtems/rtems/cache.h. The libcpu/i386/wrapup directory is no longer needed. The PowerPC needs this done to it.