summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/src/thread.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2000-07-26Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill1-0/+2
a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
1999-11-17Updated copyright notice.Joel Sherrill1-2/+1
1999-05-17Thread Handler split into multiple files. Eventually, as RTEMS isJoel Sherrill1-1304/+0
split into one function per file, this will decrease the size of executables.
1998-11-23Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1-0/+2
it work.
1998-11-19Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1-0/+8
1) Socket timeout field changed from `short' to `long'. This makes longer timeouts possible. With a 1 kHz system clock the old system allowed timeouts only up to a little over 30 seconds! This change is a slightly cleaned-up version of the patch proposed by Ian Lance Taylor. 2) Major changes to BOOTP/DHCP reply handling. Now supports much of RFC2132. These changes were done at the request of, and with the assistance of, Erik Ivanenko. If you're making changes, you might want to change the network supplement Essentially just do a global search and replace of BOOTP with BOOTP/DHCP.
1998-09-23IDLE task stack size now specified as a field in the CPU Table for allJoel Sherrill1-2/+7
ports.
1998-02-18Ralf Corsepius noted that there was a dead path in _Thread_Initialize.Joel Sherrill1-6/+2
1998-02-17updated copyright to 1998Joel Sherrill1-1/+1
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill1-2/+2
1997-05-28Added support for context switching the data used by the gcc m68kJoel Sherrill1-1/+1
software floating point emulation code. Code implemented by Karen Sara Looney <Karen.Looney@colorado.edu> with much email assistance from Joel.
1997-04-22headers updated to reflect new style copyright notice as partJoel Sherrill1-5/+5
of switching to the modified GNU GPL.
1997-04-09added support for tracking thread cpu usage.Joel Sherrill1-0/+2
1997-03-08Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1-3/+30
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-01-08added some casts to reduce warnings reported by users with Microtec C++Joel Sherrill1-10/+14
compiler.
1996-10-15added support for cpu time used field in tcbJoel Sherrill1-0/+16
1996-08-15_Thread_Start_multitasking: added code to initialize the floating pointJoel Sherrill1-1/+25
context of the first thread to execute.
1996-06-13Added code so post context switch extensions can be run on every contextJoel Sherrill1-2/+5
switch. This was needed to support process wide signals.
1996-06-10added code to _Thread_Clear_state to check if the state was not currently set.Joel Sherrill1-13/+19
1996-06-06Added Sporadic Server support to posix threads which required changesJoel Sherrill1-26/+49
in the core to support multiple algorithms to handle cpu time budgetting which resulted in a change to the calling sequence of _Thread_Initialize.
1996-06-05added cpu_time_budget field to Thread_Control and removed the global variableJoel Sherrill1-4/+3
_Thread_Ticks_remaining_in_timeslice.
1996-06-05fixed spacingJoel Sherrill1-1/+1
1996-06-05added support for the api providing the thread stack areaJoel Sherrill1-23/+33
1996-05-28changed call to _ISR_Enable() to _ISR_Set_level() in _Thread_Handler.Joel Sherrill1-1/+1
_ISR_Enable() takes the magic cookie expected by the cpu's status register instead of a simple isr level.
1996-05-23invoke thread stack free routine instead of Workspace free.Joel Sherrill1-2/+26
1996-04-24added comment regarding stack alignment issues to thread stack allocationJoel Sherrill1-0/+14
routine.
1996-04-22thread.c: added support for optional user provided stack allocatorJoel Sherrill1-8/+80
wkspace.c: made initialization routine a regular subroutine
1996-03-21*** empty log message ***Joel Sherrill1-4/+4
1996-02-21Removed the internal thread objects and dispersed its contents toJoel Sherrill1-5/+105
the thread handler (IDLE), MPCI object (SYSI now MP Receive) and initialize_executive_early (IO initialization). The SYSI task no longer exists in a single processor configuration. This reduces single processor Workspace requirements by a TCB and a stack which is often larger than the minimum stack size. Moving the IO initialization plus accompanying BSP hooks eliminated an initialization ordering problem in which a global task could be created before the MPCI was initialized.
1996-02-14removed arguments from _Thread_Start_multitaskingJoel Sherrill1-12/+10
1996-02-14white space problemJoel Sherrill1-1/+0
1996-02-13changed post task extension from user set to api set and added flagJoel Sherrill1-1/+6
in each thread which must be set when the post switch extension is to be run.
1995-10-30SPARC port passes all testsJoel Sherrill1-1/+5
1995-09-26posix support initially addedJoel Sherrill1-10/+10
1995-09-21More file movementJoel Sherrill1-1/+0
1995-09-19Modifications from Tony Bennett accepted to return aligned block.Joel Sherrill1-0/+1
Thread_Close fixed to avoid returning FP context area when one was not allocated at initialization time.
1995-09-12Initial attempt at building HP PA-RISC using Solaris hosted tools.Joel Sherrill1-0/+3
Changed back to Newlib for Solaris UNIX simulator.
1995-09-11The word "RTEMS" almost completely removed from the core.Joel Sherrill1-131/+106
Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
1995-08-28Added unused priority ceiling parameter to rtems_semaphore_create.Joel Sherrill1-23/+293
Rearranged code to created thread handler routines to initialize, start, restart, and "close/delete" a thread. Made internal threads their own object class. This now uses the thread support routines for starting and initializing a thread. Insured deleted tasks are freed to the Inactive pool associated with the correct Information block. Added an RTEMS API specific data area to the thread control block. Beginnings of removing the word "rtems" from the core.
1995-08-23Moved _Thread_Information -> _RTEMS_tasks_Information.Joel Sherrill1-20/+27
Added a table of object information control blocks. Modified _Thread_Get so it looks up a thread regardless of which thread management "entity" (manager, internal, etc) actually "owns" it.
1995-08-23Support for variable length names added to Object Handler. This supportsJoel Sherrill1-5/+7
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
1995-08-22Fixed missing RCS IdsJoel Sherrill1-1/+1
1995-08-18+ Added object type field to object id.Joel Sherrill1-0/+1
+ Added name pointer to Object_Control. + Modified Object Open and Close to address name field. + Removed name as separate element from Thread and Proxy Control. + Added parameter "object class" to calls to Initialize Information
1995-08-16bug fixes to make macro implementations workJoel Sherrill1-5/+5
1995-07-31Switched to events for mp receive server and eliminated the specialJoel Sherrill1-1/+2
blocking mechanism for it.
1995-06-04changed release number to 3.2.0Joel Sherrill1-9/+10