summaryrefslogtreecommitdiffstats
path: root/c/src/exec (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch rtems-rc-19991117-4.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-11-2245-168/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. 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.
* Small patch (rtems-rc-19991117-5.diff) from Ralf CorsepiusJoel Sherrill1999-11-221-1/+1
| | | | | <corsepiu@faw.uni-ulm.de> to correct the constraints on the inline assembly language macro for sh_disable_interrupt.
* Minor cleanup to reduce the code space.Joel Sherrill1999-11-181-14/+9
|
* Patch from "John M. Mills" <jmills@tga.com> with subsequent cleanup fromJoel Sherrill1999-11-1810-651/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> that adds initial Hitachi SH-2 support to RTEMS. Ralf's comments are: Changes: ------ 1. SH-Port: * Many files renamed. * CONSOLE_DEVNAME and MHZ defines removed from libcpu. * console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console applying VPATH. * CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h * MHZ define replaced with HZ (extendent resolution) in custom/*.cfg * -DHZ=HZ used in bspstart.c, only * Makefile variable HZ used in bsp-dependent directories only. 2. SH1-Port * clock-driver rewritten to provide better resolution for odd CPU frequencies. This driver is only partially tested on hardware, ie. sightly experimental, but I don't expect severe problems with it. * Polling SCI-driver added. This driver is experimental and completly untested yet. Therefore it is not yet used for the console (/dev/console is still pointing to /dev/null, cf. gensh1/bsp.h). * minor changes to the timer driver * SH1 specific delay()/CPU_delay() now is implemented as a function 3. SH2-Port * Merged * IMO, the code is still in its infancy. Therefore I have interspersed comments (FIXME) it for items which I think John should look after. * sci and console drivers partially rewritten and extended (John, I hope you don't mind). * Copyright notices are not yet adapted
* Added EINVAL for passing a NULL pointer in.Jennifer Averett1999-11-181-0/+4
|
* Added routine to remove an object from the namespace. It just clearsJennifer Averett1999-11-181-0/+17
| | | | | | | | | its name in the name_table. This was required by the POSIX semaphore and message queue managers which support a concept of open, close, and unlink. The object becomes "invisible" to further opens following an unlink but all open sessions remain active until they are closed. This requires that the removal of an object ID be separate from the removal of its name.
* + Debuged to the point that you could open, unlink and close a semaphore.Jennifer Averett1999-11-184-30/+29
| | | | but all paths have not been checked, yet.
* Added a routine to remove a semaphore name from its namespace.Jennifer Averett1999-11-181-0/+15
|
* Comment added.Jennifer Averett1999-11-171-1/+2
|
* Updated copyright notice.Joel Sherrill1999-11-17618-1230/+620
|
* + Updated copyright information.Jennifer Averett1999-11-1799-2/+295
|
* Updated Mailbox Manager submitted and split into multiple files.Joel Sherrill1999-11-1711-344/+470
|
* Update from Andrew D. McDowell <amcdowel@cs.uah.edu> with modificationsJoel Sherrill1999-11-171-7/+257
| | | | | by Joel and Jennifer based on experience merging the other managers and cleaning them up. No test code is available at this point.
* Moved task_variable pointer to basic shared part of TCB instead ofJoel Sherrill1999-11-165-38/+26
| | | | | | | 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.
* Added check to return passed if task is not suspended.Jennifer Averett1999-11-162-1/+7
|
* Added code to catch the error of suspend count exceding the counter value.Jennifer Averett1999-11-161-0/+4
|
* Fixed bug.Jennifer Averett1999-11-161-3/+3
|
* Added handler for fsync. For the memfile it is the same as the data sync.Jennifer Averett1999-11-161-1/+1
|
* Web server uses the POSIX API. Therefor, it must be disabled when theJoel Sherrill1999-11-161-1/+5
| | | | POSIX API is disabled.
* Removed start subdirectory and distributed contents to the appropriateJoel Sherrill1999-11-161-1/+1
| | | | places under the libbsp tree.
* Added comments.Joel Sherrill1999-11-163-3/+10
|
* Now use _Thread_Reset().Joel Sherrill1999-11-161-19/+4
|
* Added threadreset.c.Joel Sherrill1999-11-161-1/+1
|
* Added prototype for _Thread_Reset() and numerous comments.Joel Sherrill1999-11-161-4/+28
|
* Only check for System V IPC if multiprocessing is enabled. The unixJoel Sherrill1999-11-163-2/+15
| | | | | | | | port only uses System V IPC for shared memory and semaphores to communicate between nodes in a multiprocessor configuration. If you disable multiprocessing, then this code should be unused. Thus systems like Cygwin which are POSIX but do not support System V IPC should not work.
* Fixed so can be included multiple times in the executive source.Joel Sherrill1999-11-161-0/+9
|
* Works now.Joel Sherrill1999-11-162-38/+24
| | | | | Removed times() since the version in the C Library support code is fine.
* Return a reasonable error other than ENOSYS.Joel Sherrill1999-11-161-1/+1
|
* Added call to _Watchdog_Remove to remove the sporadic timer. It wasJoel Sherrill1999-11-161-0/+1
| | | | being reinserted onto the ticks chain.
* Moved utsname from "build for now" (unimplemented files) to the mainJoel Sherrill1999-11-161-4/+5
| | | | list of C_PIECES since it is now implemented.
* Comment fixed when adding prototype forJoel Sherrill1999-11-161-2/+11
| | | | _ITRON_Message_buffer_Translate_core_message_buffer_return_code.
* New file.Joel Sherrill1999-11-161-0/+66
|
* New file.Joel Sherrill1999-11-161-0/+113
|
* Added.Joel Sherrill1999-11-165-0/+205
|
* Source and destination arguments to strncpy were swapped. This mistakeJoel Sherrill1999-11-161-1/+1
| | | | was made in the conversion of bcopy() to strncpy().
* Removed nanosleep() since it is now in its own file.Joel Sherrill1999-11-151-21/+0
|
* Returned third parameter for a NULL name to the objects open call.Jennifer Averett1999-11-151-1/+1
|
* + Fixed files to consistantly use a case of the location after callsJennifer Averett1999-11-1511-81/+97
| | | | | | to ITRON_Task_Get. + Modified to consistantly call _ITRON_return_errorno with E_OK. + Optimized the code to not disable dispatch prior to checking input values.
* + Modified to use new Thread_Reset routine instead of the restart method.Jennifer Averett1999-11-151-1/+1
|
* Split ITRON Message Buffer Manager into multiple files.Joel Sherrill1999-11-1512-355/+524
|
* Split ITRON semaphore manager into multiple files.Joel Sherrill1999-11-159-285/+378
|
* + Changed validation of the_thread to validation of location.Joel Sherrill1999-11-124-37/+27
| | | | | + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead of enabling dispatching and returning E_OK.
* + Changed validation of the_thread to validation of location.Joel Sherrill1999-11-121-11/+11
| | | | + Removed error path that should never happen.
* + Changed validation of the_thread to validation of location.Joel Sherrill1999-11-122-17/+8
|
* + Moved error checks to before the disable dispatch where possible.Joel Sherrill1999-11-121-5/+5
|
* Added comment about the E_CTX error condition (Implementation dependent).Joel Sherrill1999-11-121-0/+7
|
* + Moved error checks to before the dispatch disable where possible.Joel Sherrill1999-11-121-13/+12
| | | | | + Modified correct return path to call _ITRON_return_errorno( E_OK ) instead of enabling dispatching and returning E_OK.
* + Modified correct return path to call _ITRON_return_errorno( E_OK ) insteadJoel Sherrill1999-11-121-15/+10
| | | | | | | of enabling dispatching and returning E_OK. + Changed validation of the_thread to validation of location. + Set correct error code when dormant state. + Fixed comment.
* + Modified correct return path to call _ITRON_return_errorno( E_OK ) insteadJoel Sherrill1999-11-121-5/+2
| | | | | of enabling dispatching and returning E_OK. + Changed validation of the_thread to validation of location.
* Corrected so now actually indexes into the allocation block.Joel Sherrill1999-11-121-10/+6
|