summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-08-09 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-092-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-26 Zoltan Kocsi <zoltan@bendor.com.au>Joel Sherrill2001-03-292-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-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-052-4/+9
| | | | | | | * 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-22 Michael Hamel <mhamel@adi.co.nz>Joel Sherrill2001-01-223-2/+7
| | | | | * include/rtems.h, src/signalcatch.c: Modifications to make CodeWarrior happy.
* 2000-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-062-1/+4
| | | | * src/regiongetinfo.c: Removed unused variable to eliminate warning.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-10/+13
| | | | | * src/msgqsubmit.c: Modified multiprocessing conditional so this would compile with both macros and inlines.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-0/+10
| | | | | * macros/rtems/rtems/sem.inl: Added macro implementation of _Semaphore_Get_interrupt_disable().
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-185-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-29 Stephan Merker <merker@decrc.abb.de>Joel Sherrill2000-09-294-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-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-052-0/+5
| | | | * optman/Makefile.am, src/Makefile.am: Include compile.am.
* 2000-08-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-302-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-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-302-5/+42
| | | | * taskstart.c: Added 1st cut at rtems_task_start_main_style.
* Adding ChangeLogs.Joel Sherrill2000-08-101-0/+3
|
* Switched to faster implementation.Joel Sherrill2000-07-061-25/+20
|
* Modfied to execute faster and have fewer instructions.Joel Sherrill2000-07-061-38/+38
|
* Switched to using isr disable version of _Objects_Get. When theJoel Sherrill2000-07-061-13/+15
| | | | | semaphore/mutex can be obtained immediately, this cuts execution time by 50%.
* Added _Semaphore_Get_interrupt_disable.Joel Sherrill2000-07-061-0/+10
|
* Cleaned up to avoid disruptive use of inline conditionals.Joel Sherrill2000-07-061-18/+16
|
* Patch from John Cotton <john.cotton@nrc.ca> to correct style ofJoel Sherrill2000-06-161-16/+16
| | | | names to be rtems_PACKAGE_method.
* Added include of options.h since it was not being picked upJoel Sherrill2000-06-141-0/+1
| | | | by the network build.
* New file.Joel Sherrill2000-06-131-0/+137
|
* Moved i386 and m68k cache management code to libcpu. EverythingJoel Sherrill2000-06-133-141/+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.
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-122-1/+141
| | | | | | | | | | | | | | | <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-128-33/+36
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-1311-0/+22
| | | | adds .cvsignore.
* Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-02-081-2/+1
| | | | | | | | | | | | | | | | | that contains: * Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams * Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in * Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible) * Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization) * Cleans up several bogus comments. * Removes MKLIB * Switches the version number to 4.5.0 (for testing version number handling)
* Incorrect error status returned. Noted by Andrew KlossnerJoel Sherrill2000-02-041-1/+1
| | | | <andrew@pogo.wv.tek.com>.
* Incorrect error status returned. Noted by Andrew KlossnerJoel Sherrill2000-02-041-1/+1
| | | | <andrew@pogo.wv.tek.com>.
* Changed behavior to match that expected by EPICS test code. Reported byJoel Sherrill2000-02-031-2/+1
| | | | Eric Norum <eric@cls.usask.ca>.
* Fixed spelling errors.Joel Sherrill2000-02-031-2/+2
|
* Directive rtems_task_variable_get() added by Eric Norum.Joel Sherrill2000-01-233-1/+86
|
* Patch from Eric Norum <eric@cls.usask.ca> to implement this:Joel Sherrill2000-01-214-5/+10
| | | | | | | | | | | | | | | | | | | | 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.
* Removed unused variable warning.Joel Sherrill2000-01-141-1/+0
|
* POSIX message queues now include complete functionality includingJoel Sherrill2000-01-133-30/+31
| | | | | | | | | | | | | | | | blocking sends when the queue is full. The SuperCore was enhanced to support blocking on send. The existing POSIX API was debugged and numerous test cases were added to psxmsgq01 by Jennifer Averett. SuperCore enhancements and resulting modifications to other APIs were done by Joel. There is one significant point of interpretation for the POSIX API. What happens to threads already blocked on a message queue when the mode of that same message queue is changed from blocking to non-blocking? We decided to unblock all waiting tasks with an EAGAIN error just as if a non-blocking version of the same operation had returned unsatisfied. This case is not discussed in the POSIX standard and other implementations may have chosen differently.
* Added comment to indicate this path does not occur.Jennifer Averett2000-01-131-1/+2
|
* Added support for simple binary semaphores in addition to the highJoel Sherrill2000-01-058-47/+92
| | | | | | | | | | | | 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.
* Added message priority parameter returned by core support routine.Joel Sherrill2000-01-051-1/+3
|
* First attempt at adding simple binary semaphore in addition to the currentJoel Sherrill1999-12-135-5/+38
| | | | | "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)
* Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-231-0/+79
| | | | | to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
* Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-11-221-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. 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.
* Updated copyright notice.Joel Sherrill1999-11-17165-330/+165
|
* Moved task_variable pointer to basic shared part of TCB instead ofJoel Sherrill1999-11-164-38/+11
| | | | | | | 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-122-7/+11
| | | | it is now typedef'ed.
* Used typedef so all "struct rtems_task_variable_t" uses are nowJoel Sherrill1999-11-124-19/+19
| | | | 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 per task variables based on patch from Eric Norum <eric@cls.usask.ca>.Joel Sherrill1999-11-123-3/+222
| | | | | After being submitted, this support was rewritten to be inside the executive rather than layered on top of it using an extension.
* Added call to _Thread_Enable_dispatch() and did some cleanup.Joel Sherrill1999-11-101-2/+9
|
* Committed modifications from ITRON Task and Task Dependendent SynchronizationJoel Sherrill1999-11-102-2/+2
| | | | Working Group. Included are tests.
* Removed unused variable warning.Joel Sherrill1999-11-091-1/+0
|