summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Now use _Thread_Reset().Joel Sherrill1999-11-161-19/+4
|
* New file.Joel Sherrill1999-11-161-0/+66
|
* Corrected so now actually indexes into the allocation block.Joel Sherrill1999-11-121-10/+6
|
* Corrected to account for the way memory is divided up inJoel Sherrill1999-11-101-7/+9
| | | | | _Object_Extend_information. This change is a side-effect of the change made to that file to fix an alignment problem.
* Committed modifications from ITRON Task and Task Dependendent SynchronizationJoel Sherrill1999-11-105-1/+274
| | | | Working Group. Included are tests.
* Split core mutex and semaphore handlers into separate files.Joel Sherrill1999-11-026-0/+561
|
* Split core message queue and watchdog handler objects into separate files.Joel Sherrill1999-11-0214-991/+861
|
* Split Heap and Time of Day Handlers.Joel Sherrill1999-11-0212-1535/+800
|
* Split threadq.c into multiple files.Joel Sherrill1999-11-0216-0/+1272
|
* Split object.c into multiple files.Joel Sherrill1999-11-0216-982/+1368
|
* Fixed bug which resulted in misaligned object control structuresJoel Sherrill1999-11-021-3/+5
| | | | | being allocated. This bug manifested itself on the SPARC since it uses ldd/std in its context save/restore routines.
* Added a comment to indicate that if a task blocked on a priorityJoel Sherrill1999-11-021-0/+5
| | | | | based thread queue were to be reinserted based on its new priority, this is where the logic would go.
* Added code to allocate by index. This is the object ID style usedJoel Sherrill1999-11-021-27/+134
| | | | | | by ITRON. Corrected spacing.
* Added maximum count detection logic.Joel Sherrill1999-11-021-3/+13
|
* Added support for message priority as required by POSIX.Joel Sherrill1999-11-021-1/+33
|
* Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to addJoel Sherrill1999-08-301-13/+24
| | | | | support for return codes from POSIX threads that do an implicit exit by returning from the bottom of the main function.
* Fix after this report from Peter Pointner <pr@schenk.isar.de>:Joel Sherrill1999-07-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: a posix thread which is created by pthread_attr_init(&tattr); pthread_attr_setinheritsched(&tattr, PTHREAD_EXPLICIT_SCHED); pthread_attr_setschedpolicy(&tattr, SCHED_RR); pthread_create(&th, &tattr, func, arg); has a first timeslice of 2^32 ticks (changing a running thread to SCHED_RR id ok). I use RTEMS-4.0.0. I am not sure if the problem exists in the current CVS head revision. If it's not fixed, the patch at the end should do it. Peter --- pthreadcreate.c.orig Wed Jul 28 14:45:58 1999 +++ pthreadcreate.c Wed Jul 28 15:06:09 1999 @@ -199,6 +199,10 @@ api->schedpolicy = schedpolicy; api->schedparam = schedparam; + if ( schedpolicy == SCHED_RR ) { + the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice; + } + /* * This insures we evaluate the process-wide signals pending when we * first run.
* Thread Handler split into multiple files. Eventually, as RTEMS isJoel Sherrill1999-05-1725-1304/+1978
| | | | split into one function per file, this will decrease the size of executables.
* Unlimited objects patch design document. Submitted by Chris JohnsJoel Sherrill1999-04-191-0/+387
| | | | <ccj@acm.org> of Objective Design Systems.
* Patch from Chris Johns <ccj@acm.org>:Joel Sherrill1999-03-311-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | joel@OARcorp.com wrote: > > Chris, > > sp09 fails on the rtems_port_delete(0) call. This is supposed to give an > invalid id error. I can't find any changes other than the unlimited > objects patch which would have tripped this so would appreciate it if you > could look into it. I suspect that this is a side-effect of the unlimited > objects patch. > It is me. > > Basically, there are 0 ports configured in sp09. The test ends up > dereferecing NULL in local_table[0] and comes up with a non-NULL invalid > pointer. > The issue is not actually allocating a local_table for an object type which has a maximum value of 0. I cannot remember the exact workings of the id values and the local_table. I might have changed the nature from the pre-unlimited change. As you know the id's are an interesting game where performance is most important. > > I know the problem could be solved by adding a check for index == 0. But > I hate to slow this path down. I think you may have changed the way the > object information structure gets initialized. > ---- CVS log ---- This change lets the unlimited and sp09 tests run on the posix Linux BSP. A static local variable `null_local_table' has been added. This variable is always set to NULL. The `**local_table' element of the information structure is set to point to this variable earily in the initialisation. If the object type has more than 0 elements the `local_table' element is updated. All object types which have 0 elements reference `null_local_table'. This change fixes the problem sp09 found yet does not add any extra processing to the critical `_Objects_Get_local_object' function. ---- CVS log ----
* Unlimited objects patch from Chris Johns <ccj@acm.org>. Email follows:Joel Sherrill1999-03-171-81/+483
| | | | | | | | | | | | | | | | | | | | | | | | | First, the unlimited patch. I have compiled the unlmited patch for the Linux posix BSP only and it seems to work cleanly. I would like a really major application run on this change before commiting as the changes are very core and significant. I am currently building all the tests to run. I have no targets suitable to test on at the moment. I have tested the patch for inline functions and macros. Turning macros on has found some core bugs. I have fixed these but have not run all the tests. Please review the patch for these changes. They are: 1) The conditional compilation for MP support broke the core messages code. You cannot embed a conditional macro in another macro. The Send and Urgent Send calls are macros. 2) User extensions handler initialisation now has two parameters. I have updated the macros to support the extra parameter. The patch also contains the gcc-target-default.cfg fix required to build the kernel. More of a by product than a fix for you.
* Corrected spacing.Joel Sherrill1998-12-031-1/+1
|
* Added --disable-multiprocessing flag and modified a lot of files to makeJoel Sherrill1998-11-237-4/+47
| | | | it work.
* Patch from Eric Norum <eric@skatter.usask.ca>:Joel Sherrill1998-11-191-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.
* IDLE task stack size now specified as a field in the CPU Table for allJoel Sherrill1998-09-231-2/+7
| | | | ports.
* Modified to make it possible for an ISR to return a mutex which didJoel Sherrill1998-02-201-2/+20
| | | | not use priority ceiling or priority inheritance protocols.
* Ralf Corsepius noted that there was a dead path in _Thread_Initialize.Joel Sherrill1998-02-181-6/+2
|
* updated copyright to 1998Joel Sherrill1998-02-1718-18/+18
|
* Fixed spacing.Joel Sherrill1998-01-061-2/+2
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-0818-36/+36
|
* Added support for context switching the data used by the gcc m68kJoel Sherrill1997-05-281-1/+1
| | | | | | software floating point emulation code. Code implemented by Karen Sara Looney <Karen.Looney@colorado.edu> with much email assistance from Joel.
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-2218-90/+90
| | | | of switching to the modified GNU GPL.
* added support for tracking thread cpu usage.Joel Sherrill1997-04-091-0/+2
|
* enhanced printf statementsJoel Sherrill1997-04-091-4/+4
|
* Modified calls to _Thread_Change_priority to take a third argument. The newJoel Sherrill1997-03-082-10/+39
| | | | | | | | | 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.
* added some casts to reduce warnings reported by users with Microtec C++Joel Sherrill1997-01-084-28/+35
| | | | compiler.
* added support for cpu time used field in tcbJoel Sherrill1996-10-151-0/+16
|
* 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
|
* Reversed logic in conditional to correctly distinguish betweenJoel Sherrill1996-09-171-2/+2
| | | | FIFO and priority disciplines.
* changed _TOD_Is_set from a function to a boolean variableJoel Sherrill1996-09-061-0/+4
|
* _Thread_Start_multitasking: added code to initialize the floating pointJoel Sherrill1996-08-151-1/+25
| | | | context of the first thread to execute.
* fixed spacingJoel Sherrill1996-08-131-2/+2
|
* _MPCI_Register_packet_processor: changes first parameter type to ↵Mark Johannes1996-08-081-1/+1
| | | | MP_packet_Classes
* _CORE_Mutex_seize: added checks for priority ceiling violation, also addedMark Johannes1996-08-071-6/+24
| | | | checks to ensure priority was not lowered.
* _CORE_mutex_Seize: added change priority case if the mutex was obtained.Mark Johannes1996-08-061-0/+12
|
* Added code so post context switch extensions can be run on every contextJoel Sherrill1996-06-131-2/+5
| | | | switch. This was needed to support process wide signals.
* added code to _Thread_Clear_state to check if the state was not currently set.Joel Sherrill1996-06-101-13/+19
|
* Added Sporadic Server support to posix threads which required changesJoel Sherrill1996-06-062-27/+51
| | | | | in the core to support multiple algorithms to handle cpu time budgetting which resulted in a change to the calling sequence of _Thread_Initialize.