summaryrefslogtreecommitdiffstats
path: root/cpukit (unfollow)
Commit message (Collapse)AuthorFilesLines
1997-03-08Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill4-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.
1997-03-08Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1-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.
1997-03-08Removed getpid from this file and made it its own file. This lets itJoel Sherrill1-10/+0
get replaced as required.
1997-03-08Added commit to indicate exepcted _Thread_Dispatch_disable_level. HopefullyJoel Sherrill1-0/+4
no one will ever get confused here again and try to enable dispatching. :(
1997-01-29Modifications to make go32 build using new i386-go32-rtems toolsetJoel Sherrill2-4/+7
and gcc 2.8.x -specs options.
1997-01-29Merged newlib's libgloss support for rtems into this directory. ThisJoel Sherrill4-32/+41
should simplify the build process.
1997-01-29Removed definitions which are now in targopts.h. This eliminates theJoel Sherrill1-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.
1997-01-29added type to macro to eliminate warning for untyped use of a register.Joel Sherrill1-1/+1
1997-01-29Added include of targopts.h.Joel Sherrill13-7/+20
1997-01-28With the transition from command line macro definitions to targopts.h,Joel Sherrill1-3/+2
it was necessary to include system.h before checking if anything was defined.
1997-01-28Switch to using newlib's implementation of time().Joel Sherrill1-0/+3
1997-01-15fixed comments on vanilla 68000 SW interrupt stack (or the lack thereof)Joel Sherrill1-1/+2
1997-01-08added some casts to reduce warnings reported by users with Microtec C++Joel Sherrill4-28/+35
compiler.
1997-01-08added type definitions for all supported task entry formatsJoel Sherrill1-1/+6
1996-12-02Suggested changes from Mark Jordan which eliminate warnings and errorsJoel Sherrill7-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.
1996-12-02Changes to reflect new revision of erc32 per Jiri Gaisler's suggestions.Joel Sherrill3-0/+25
This is current as of sis 2.6.
1996-12-02Updates from Derrick Ostertag <ostertag@transition.com> to fix bug inJoel Sherrill1-8/+15
interrupt handling.
1996-12-02Update from Chris Johns <cjohns@awa.com.au> to add better support forJoel Sherrill1-3/+19
68000 class CPUs.
1996-11-08Added asserts for unhandled conditions which need to result in errorJoel Sherrill1-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.
1996-10-15added ENOSYS supportJoel Sherrill1-0/+1
1996-10-15added support for cpu time used field in tcbJoel Sherrill1-0/+16
1996-10-15added cpu time used field to tcbJoel Sherrill1-0/+1
1996-09-30fixed incorrect placement of CPU_STRUCTURE_ALIGNMENT macro.Joel Sherrill1-2/+2
1996-09-30changed stack size of posix initialization threads to double the minimumJoel Sherrill1-0/+3
stack size so more of acvc would pass.
1996-09-18pointer arithmetic reworked to be more portableJoel Sherrill1-8/+8
1996-09-18casts added to numerous arguments, prototypes corrected, andJoel Sherrill10-22/+27
proper include files added.
1996-09-18dummy function added to satisfy ANSIJoel Sherrill2-0/+20
1996-09-18modified to support non-GNU compilers and to use calloc rather thanJoel Sherrill1-3/+20
malloc for per-thread reentrancy structure allocation.
1996-09-18added malloc_walkJoel Sherrill1-4/+35
miscellaneous corrections in casting.
1996-09-18added prototype for malloc_walkJoel Sherrill1-0/+1
1996-09-18loop to clear workspace memory changed to use sizeof rather thanJoel Sherrill1-1/+1
hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18corrected prototype of _Objects_Get_nextJoel Sherrill1-1/+1
1996-09-18uses address object rather than direct pointer arithmeticJoel Sherrill1-2/+3
1996-09-18OBJECTS_NAME_ALIGNMENT definition changed to use sizeof rather thanJoel Sherrill1-2/+2
hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18MP_PACKET_MINIMUN_HETERO_CONVERSION definition changed to use sizeofJoel Sherrill1-1/+2
rather than hardcoded 4 to be compatible with CPUs with 64-bit ints
1996-09-18modified declaration of CORE_message_queue_Buffer_control to avoid useJoel Sherrill1-11/+4
of GNU C extension
1996-09-18corrected white space problemsJoel Sherrill1-60/+62
added CPU_STRUCTURE_ALIGNMENT to default context structures
1996-09-18new files submitted by Craig Lebakken (lebakken@minn.net) and Derrick OstertagJoel Sherrill4-0/+1327
(ostertag@transition.com).
1996-09-17Reversed logic in conditional to correctly distinguish betweenJoel Sherrill1-2/+2
FIFO and priority disciplines.
1996-09-17added routine _POSIX_Timespec_subtractJoel Sherrill1-0/+31
1996-09-17Added code to insure that the post switch extension was executed andJoel Sherrill1-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.
1996-09-17Corrected implementation of timed wait on condition variables. FirstJoel Sherrill1-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.
1996-09-17added prototype for _POSIX_Timespec_subtractJoel Sherrill1-0/+11
1996-09-11added $Id$ to file headersJoel Sherrill15-8/+15
cpu.h: added prototype for _CPU_ISR_Get_level()
1996-09-08moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to pthread.h so it would beJoel Sherrill1-1/+0
visible to other files.
1996-09-08Ada task stack size minimize is twice that for regular pthreads.Joel Sherrill1-2/+2
1996-09-08moved PTHREAD_MINIMUM_STACK_SIZE from pthread.c to here so it would beJoel Sherrill1-0/+2
visible to other files.
1996-09-06new file for MIPS port by Craig Lebakken (lebakken@minn.net) andJoel Sherrill15-0/+5247
Derrick Ostertag (ostertag@transition.com).
1996-09-06changed _TOD_Is_set from a function to a boolean variableJoel Sherrill7-29/+16
1996-09-05default thread attributes: default value for inheritsched changed fromJoel Sherrill1-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.