summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-134-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.
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-124-4/+396
| | | | | | | | | | | | | | | <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-1213-62/+56
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-1312-0/+24
| | | | 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
|
* Patch rtems-rc-19991203-6.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-12-211-4/+3
| | | | | | | | | | | which fixes a nasty dependency bug in optman/Makefile.am. Those directories have been build twice before, i.e. re-running make after having built rtems before, was rebuilding the files in optman/ directories. To apply: patch -p1 < rtems-rc-19991203-6.diff ./bootstrap
* 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-3.diff from Ralf CorsepiusJoel Sherrill1999-12-031-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | <corsepiu@faw.uni-ulm.de>: The patch below provides * automake support for score/cpu/powerpc * The hack to propagate values from *.cfg to automake configuration * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted before) * Fixes some files which apparently where missing in rtems-rc-19991123-rc-2.diff * some minor configuration related patches To apply: rm -rf ./c/src/exec/score/cpu/powerpc/wrap patch -p1 < rtems-rc-19991123-rc-3.diff Attention: c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be removed after applying the patch. Modifications had been made to the score/cpu/powerpc directory after the snapshot this was based on. In particular, the mpc750 and other_cpu directories had been renamed to new_exception_processing and old_exception_processing. After this patch was applied, modifications were made to account for this.
* 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-16.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-11-232-2/+2
| | | | | | | * the PACKHEX etc problem * prevents the *.rels being removed inside the build-tree * a typo which only shows for when MP is activated * Alters some custom/*cfg files
* Patch rtems-rc-19991117-11.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-236-164/+132
| | | | | 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-224-27/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. 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-17173-346/+173
|
* 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-124-4/+224
| | | | | 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
|
* The files in libcpu should not be directly dependent on any BSP. InJoel Sherrill1999-11-041-1/+0
| | | | | | | | | | | particular, using bsp.h, or getting information from the BSP which should properly be obtained from RTEMS is forbidden. This is necessary to strengthen the division between the BSP independent parts of RTEMS and the BSPs themselves. This started after comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>. The changes primarily eliminated the need to include bsp.h and peeking at BSP_Configuration. The use of Cpu_table in each BSP needs to be eliminated.
* Added comment to make sure Classic API priority to Core priorityJoel Sherrill1999-11-021-0/+1
| | | | is added in the future.
* Added comments for _RTEMS_tasks_Create_extension,Joel Sherrill1999-11-021-4/+9
| | | | | _RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension, and _RTEMS_tasks_Switch_extension.
* Added a case to support the core semaphore error returned when theJoel Sherrill1999-11-021-0/+8
| | | | maximum semaphore count is exceeded.
* Added code to utilize the maximum_count attribute of core semaphoresJoel Sherrill1999-11-021-0/+7
| | | | | and initialize it to a value that would keep it from every being a problem.
* Removed warning.Joel Sherrill1999-10-211-0/+2
|
* Added rtems_semaphore_flush directive.Joel Sherrill1999-10-213-1/+105
|
* Added prototype for rtems_task_is_suspended at request ofJoel Sherrill1999-10-201-1/+12
| | | | Eric Norum.
* New directive added -- rtems_task_is_suspended.Joel Sherrill1999-10-072-1/+77
|
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to make fix bugJoel Sherrill1999-10-0410-31/+31
| | | | where wrapup left pieces out of the librtemsall.a.