summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1997-03-084-14/+48
| | | | | | | | | argument indicates whether the task is to be placed at the head or tail of its priority fifo when it is lowering its own priority. POSIX normally follows the RTEMS API conventions but GNAT expects that all lowering of a task's priority by the task itself will result in being placed at the head of the priority FIFO. Normally, this would only occur as the result of lose of inherited priority.
* Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1997-03-081-1/+1
| | | | | | | | | | | | argument indicates whether the task is to be placed at the head or tail of its priority fifo when it is lowering its own priority. POSIX normally follows the RTEMS API conventions but GNAT expects that all lowering of a task's priority by the task itself will result in being placed at the head of the priority FIFO. Normally, this would only occur as the result of lose of inherited priority. The RTEMS API always puts tasks at the end of their priority group except upon loss of inherited priority.
* Removed getpid from this file and made it its own file. This lets itJoel Sherrill1997-03-081-10/+0
| | | | get replaced as required.
* Added commit to indicate exepcted _Thread_Dispatch_disable_level. HopefullyJoel Sherrill1997-03-081-0/+4
| | | | no one will ever get confused here again and try to enable dispatching. :(
* Modifications to make go32 build using new i386-go32-rtems toolsetJoel Sherrill1997-01-292-4/+7
| | | | and gcc 2.8.x -specs options.
* Merged newlib's libgloss support for rtems into this directory. ThisJoel Sherrill1997-01-294-32/+41
| | | | should simplify the build process.
* Removed definitions which are now in targopts.h. This eliminates theJoel Sherrill1997-01-291-8/+4
| | | | | need for the "sed'ing" of this file. This should be a significant win when addressing non-unix host and non-gnu toolsets.
* added type to macro to eliminate warning for untyped use of a register.Joel Sherrill1997-01-291-1/+1
|
* Added include of targopts.h.Joel Sherrill1997-01-2913-7/+20
|
* With the transition from command line macro definitions to targopts.h,Joel Sherrill1997-01-281-3/+2
| | | | | it was necessary to include system.h before checking if anything was defined.
* Switch to using newlib's implementation of time().Joel Sherrill1997-01-281-0/+3
|
* fixed comments on vanilla 68000 SW interrupt stack (or the lack thereof)Joel Sherrill1997-01-151-1/+2
|
* added some casts to reduce warnings reported by users with Microtec C++Joel Sherrill1997-01-084-28/+35
| | | | compiler.
* added type definitions for all supported task entry formatsJoel Sherrill1997-01-081-1/+6
|
* Suggested changes from Mark Jordan which eliminate warnings and errorsJoel Sherrill1996-12-027-14/+19
| | | | | | | | 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.
* Changes to reflect new revision of erc32 per Jiri Gaisler's suggestions.Joel Sherrill1996-12-023-0/+25
| | | | This is current as of sis 2.6.
* Updates from Derrick Ostertag <ostertag@transition.com> to fix bug inJoel Sherrill1996-12-021-8/+15
| | | | interrupt handling.
* Update from Chris Johns <cjohns@awa.com.au> to add better support forJoel Sherrill1996-12-021-3/+19
| | | | 68000 class CPUs.
* Added asserts for unhandled conditions which need to result in errorJoel Sherrill1996-11-081-1/+8
| | | | | | statuses being returned to gnat runtime in order for it to raise use_errors. This was needed to identify the places in gnat's runtime which needed to be addressed.
* added ENOSYS supportJoel Sherrill1996-10-151-0/+1
|
* added support for cpu time used field in tcbJoel Sherrill1996-10-151-0/+16
|
* added cpu time used field to tcbJoel Sherrill1996-10-151-0/+1
|
* fixed incorrect placement of CPU_STRUCTURE_ALIGNMENT macro.Joel Sherrill1996-09-301-2/+2
|
* changed stack size of posix initialization threads to double the minimumJoel Sherrill1996-09-301-0/+3
| | | | stack size so more of acvc would pass.
* pointer arithmetic reworked to be more portableJoel Sherrill1996-09-181-8/+8
|
* casts added to numerous arguments, prototypes corrected, andJoel Sherrill1996-09-1810-22/+27
| | | | proper include files added.
* dummy function added to satisfy ANSIJoel Sherrill1996-09-182-0/+20
|
* modified to support non-GNU compilers and to use calloc rather thanJoel Sherrill1996-09-181-3/+20
| | | | malloc for per-thread reentrancy structure allocation.
* added malloc_walkJoel Sherrill1996-09-181-4/+35
| | | | miscellaneous corrections in casting.
* added prototype for malloc_walkJoel Sherrill1996-09-181-0/+1
|
* loop to clear workspace memory changed to use sizeof rather thanJoel Sherrill1996-09-181-1/+1
| | | | hardcoded 4 to be compatible with CPUs with 64-bit ints
* corrected prototype of _Objects_Get_nextJoel Sherrill1996-09-181-1/+1
|
* uses address object rather than direct pointer arithmeticJoel Sherrill1996-09-181-2/+3
|
* OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather thanJoel Sherrill1996-09-181-2/+2
| | | | hardcoded 4 to be compatible with CPUs with 64-bit ints
* MP_PACKET_MINIMUN_HETERO_CONVERSION definition changed to use sizeofJoel Sherrill1996-09-181-1/+2
| | | | rather than hardcoded 4 to be compatible with CPUs with 64-bit ints
* modified declaration of CORE_message_queue_Buffer_control to avoid useJoel Sherrill1996-09-181-11/+4
| | | | of GNU C extension
* corrected white space problemsJoel Sherrill1996-09-181-60/+62
| | | | added CPU_STRUCTURE_ALIGNMENT to default context structures
* new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick OstertagJoel Sherrill1996-09-184-0/+1327
| | | | (ostertag@transition.com).
* Reversed logic in conditional to correctly distinguish betweenJoel Sherrill1996-09-171-2/+2
| | | | FIFO and priority disciplines.
* added routine _POSIX_Timespec_subtractJoel Sherrill1996-09-171-0/+31
|
* Added code to insure that the post switch extension was executed andJoel Sherrill1996-09-171-0/+5
| | | | | | to made signals sent to a particular thread from an ISR operated correctly. This behavior was required by the exception detection/reporting code in the gnat runtime.
* Corrected implementation of timed wait on condition variables. FirstJoel Sherrill1996-09-171-29/+52
| | | | | | | | the timeout is given as a wall-time not an interval as was previously implemented. Second, the interpretation of ETIMEDOUT behavior was incorrect as all possible error cases needed to be checked before this error was returned. This caused problems when the wall-time specified was in the past.
* added prototype for _POSIX_Timespec_subtractJoel Sherrill1996-09-171-0/+11
|
* added $Id$ to file headersJoel Sherrill1996-09-1115-8/+15
| | | | cpu.h: added prototype for _CPU_ISR_Get_level()
* moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to pthread.h so it would beJoel Sherrill1996-09-081-1/+0
| | | | visible to other files.
* Ada task stack size minimize is twice that for regular pthreads.Joel Sherrill1996-09-081-2/+2
|
* moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to here so it would beJoel Sherrill1996-09-081-0/+2
| | | | visible to other files.
* new file for MIPS port by Craig Lebakken (lebakken@minn.net) andJoel Sherrill1996-09-0615-0/+5247
| | | | Derrick Ostertag (ostertag@transition.com).
* changed _TOD_Is_set from a function to a boolean variableJoel Sherrill1996-09-067-29/+16
|
* default thread attributes: default value for inheritsched changed fromJoel Sherrill1996-09-051-5/+25
| | | | | | | | | | | | explicit to inherit scheduler to be consistent with FSU pthreads for gnat. _POSIX_Threads_Create_extension: now inherit signal blocked mask from creator if the new thread is a posix thread. _POSIX_Threads_Initialize_user_threads: make sure posix initialization threads start with a useful priority. If they inherit the priority of the creating thread, they will end up at the same priority as the idle thread. Since the idle thread does not yield, they will not run.