summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/include/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-03-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-04-021-9/+9
| | | | | * Per PR126, configuration structures now match docs. * include/rtems/rtems/config.h: Use public data types.
* 2001-03-29 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-03-291-18/+33
| | | | | | | | | | | * 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.
* 2001-01-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-02-011-0/+21
| | | | | * include/rtems/rtems/timer.h: Missed merging these modifications in previous merge of new timer functionality.
* 2001-01-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-01-221-0/+3
| | | | | * include/rtems/rtems/timer.h, src/timerserver.c: Add priority argument to rtems_timer_initiate_server().
* 2001-01-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-01-161-6/+127
| | | | | | | | | | | | | | | | | | | | * 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.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-182-0/+22
| | | | | | | * 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-29 Stephan Merker <merker@decrc.abb.de>Joel Sherrill2000-09-291-0/+1
| | | | | | | * 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.
* Patch from John Cotton <john.cotton@nrc.ca> to correct style ofJoel Sherrill2000-06-161-16/+16
| | | | names to be rtems_PACKAGE_method.
* New file.Joel Sherrill2000-06-131-0/+137
|
* Moved i386 and m68k cache management code to libcpu. EverythingJoel Sherrill2000-06-131-140/+0
| | | | | | 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.
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-121-0/+140
| | | | | | | | | | | | | | | <charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-1/+3
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-132-0/+4
| | | | adds .cvsignore.
* Directive rtems_task_variable_get() added by Eric Norum.Joel Sherrill2000-01-231-0/+12
|
* Patch from Eric Norum <eric@cls.usask.ca> to implement this:Joel Sherrill2000-01-211-2/+3
| | | | | | | | | | | | | | | | | | | | I'd like to propose a change to RTEMS task variables that I think would make them more useful. I think that it is early enough in their existence to still make changes to their API. 1) Change type from `int' to `void *'. 2) Add extra argument to task_variable_add -- if non-NULL, a pointer to a `destructor' function to be called when the task exits. This function would be called with that task's value of the task variable as its argument. In many cases, the `dtor' function could be `free'. rtems_status_code rtems_task_variable_add ( rtems_id tid, void **ptr, void (*dtor)(void *)); rtems_status_code rtems_task_variable_delete (rtems_id tid, void **ptr); This would be all we'd need to cleanly and efficiently support C++ per-thread exception information without dragging in all that POSIX API stuff.
* Added support for simple binary semaphores in addition to the highJoel Sherrill2000-01-051-7/+6
| | | | | | | | | | | | power binary/mutex style semaphores already supported by RTEMS. This was done at the request of Eric Norum <eric@cls.usask.ca> in support of his effort to port EPICS to RTEMS. This change consisted of changing the nesting_allowed boolean into a lock_nesting_behavior enumerated value as well as allowing the core mutex object to optionally support ensuring that the holder of a binary semaphore released it. Finally, a more subtle enhancement was to allow the non-holder to release a priority inheritance/ceiling mutex and still allow the holding task to return to its original priority.
* First attempt at adding simple binary semaphore in addition to the currentJoel Sherrill1999-12-131-1/+5
| | | | | "mutex" and counting semaphore. This is at the request of Eric Norum and his EPICS porting effort.
* Patch rtems-rc-19991123-rc-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-291-0/+14
| | | | | | | | | | | | | | | | | | | | | | | which (among other things) converted the mptests to automake. SUB_DIRS was used instead of SUBDIRS in some Makefile.ins (apparently a leftover from moving the start* directories) Addtional major bugs: * psxtests/include was empty (incomplete psxtests changes). * bogus handling of *.scn in itrontests (screens/sptests vs. screens/itrontests installation dirs) In addition I have added a few more changes (I couldn't resist) * automake support for itrontests * OPERATION_COUNT support in tmitrontests/ * automake support for tmitrontests * automake suppport for mptests * Some (minor) corrections to several configure.in/Makefile.ams => c/src/tests/ is completly under automake control, now. => we could start to sort out the structural issues with c/src/tests (tests/support, stubdr, tools, get "make dist" working)
* Updated copyright notice.Joel Sherrill1999-11-1730-60/+30
|
* Moved task_variable pointer to basic shared part of TCB instead ofJoel Sherrill1999-11-161-15/+0
| | | | | | | RTEMS API extension to avoid problems when the extension is freed. Eventually the task variable switch extension should become part of the core context switch and the Ada tcb self implemented in terms of it.
* Corrected remaining references to struct rtems_task_variable_t sinceJoel Sherrill1999-11-121-5/+9
| | | | it is now typedef'ed.
* Used typedef so all "struct rtems_task_variable_t" uses are nowJoel Sherrill1999-11-121-7/+7
| | | | just "rtems_task_variable_t".
* Added per-task variable data stucture (rtems_task_variable_t),Joel Sherrill1999-11-121-4/+36
| | | | | task_variables field to API extension, and two directives (rtems_task_variable_add and rtems_task_variable_delete).
* Added rtems_semaphore_flush directive.Joel Sherrill1999-10-211-0/+11
|
* Added prototype for rtems_task_is_suspended at request ofJoel Sherrill1999-10-201-1/+12
| | | | Eric Norum.
* Comments fixed after problem report from Ian Lance Taylor <ian@airs.com>.Joel Sherrill1999-02-101-19/+10
|
* Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1998-11-238-0/+24
| | | | it work.
* Added system task attribute to allow one to create a task with "0" priorityJoel Sherrill1998-08-211-0/+3
| | | | via the user api.
* updated copyright to 1998Joel Sherrill1998-02-1730-30/+30
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-0830-60/+60
|
* Added RTEMS_IO_ERROR status code.Joel Sherrill1997-08-281-1/+2
|
* Added rtems_message_queue_get_number_pending directive.Joel Sherrill1997-07-312-13/+32
|
* Corrected typos and spacing.Joel Sherrill1997-07-091-3/+3
|
* Added support for context switching the data used by the gcc m68kJoel Sherrill1997-05-281-1/+1
| | | | | | software floating point emulation code. Code implemented by Karen Sara Looney <Karen.Looney@colorado.edu> with much email assistance from Joel.
* Added to comment header block to include new status directive.Joel Sherrill1997-04-251-0/+1
|
* promote TOD_MICROSECONDS_TO_TICKS through API as RTEMS_MICROSECONDS_PER_TICK.Joel Sherrill1997-04-221-0/+2
|
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-2230-150/+150
| | | | of switching to the modified GNU GPL.
* added support for statistics on rate monotonic periods.Joel Sherrill1997-04-091-5/+32
|
* Suggested changes from Mark Jordan which eliminate warnings and errorsJoel Sherrill1996-12-021-2/+3
| | | | | | | | he received using the Microtec C++ compiler. Most of these are either missing casts from/to (void *), heavy handed use of enumerated types, or simply assumed conversions. There is at least one actual bug in an error path in thread.c in which the wrong argument was passed to _Thread_Stack_Free and was not being caught by gcc.
* split the inclusion of "EXTERN" data based on whether it was sapi,Joel Sherrill1996-05-2810-12/+13
| | | | score, rtems api, or posix api related.
* added initial posix configuration supportJoel Sherrill1996-05-282-0/+55
|
* event.h: _Event_Manager_initialization no longer a static inlineJoel Sherrill1996-04-192-0/+12
| | | | support.h: updated to use RTEMS_APPLICATION macro
* Removed prototyes for static inline routines and moved the comments intoJoel Sherrill1996-03-0616-1031/+34
| | | | | | | | | | | | | | | the inline implementation. The impetus for this was twofold. First, it is incorrect to have static inline prototypes when using the macro implementation. Second, this reduced the number of lines in the include files seen by rtems.h by about 2000 lines. Next we restricted visibility for the inline routines to inside the executive itself EXCEPT for a handful of objects. This reduced the number of include files included by rtems.h by 40 files and reduced the lines in the include files seen by rtems.h by about 6000 lines. In total, these reduced the compile time of the entire RTEMS tree by 20%. This results in about 8 minutes savings on the SparcStation 10 morgana.
* added rtems_interrupt_is_in_progressJoel Sherrill1996-02-091-0/+14
|
* changed synchronization algorithm to be a single list of enumerated statesJoel Sherrill1996-02-081-2/+2
|
* updates from Tony Bennett for PA and UNIX portsJoel Sherrill1996-01-151-1/+7
|
* new states added and _Rate_monotonic_Set_State removed.Joel Sherrill1995-12-051-17/+7
|
* spurious blank line removedJoel Sherrill1995-12-011-1/+0
|
* Made _Event_Sync volatileJoel Sherrill1995-12-011-2/+15
| | | | | | Replaced critical section algorithm to correct race conditions. This resulted in the new variable _Event_Sync_state and the type _Event_Sync_states.
* posix support initially addedJoel Sherrill1995-09-2621-60/+60
|