summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add _Per_CPU_Add_job()Sebastian Huber2019-05-201-16/+21
|
* score: Move per-processor job data structuresSebastian Huber2019-05-201-69/+18
| | | | | This enables re-use for other purposes, e.g. replacement for SMP_MESSAGE_TEST.
* score: Simplify _SMP_Multicast_action()Sebastian Huber2019-05-201-20/+5
| | | | | | Move resposibility to disable thread dispatching to the caller of _SMP_Multicast_action(). Using an interrupt disable for this purpose is questionable.
* score: Add _SMP_Othercast_action()Sebastian Huber2019-05-201-0/+12
|
* score: Add _SMP_Broadcast_action()Sebastian Huber2019-05-201-4/+8
|
* score: Use dedicated lock for per-CPU jobsSebastian Huber2019-05-201-12/+12
|
* score: Fix per-CPU job done handlingSebastian Huber2019-05-151-4/+14
|
* score: More robust _SMP_Multicast_action()Sebastian Huber2019-04-121-2/+12
| | | | | | If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
* score: Remove _SMP_Before_multitasking_action()Sebastian Huber2019-04-122-96/+0
| | | | Use _SMP_Multicast_action() instead.
* score: Improve _SMP_Multicast_action()Sebastian Huber2019-04-122-7/+22
| | | | Let it work during system initialization.
* score: Rework SMP multicast actionSebastian Huber2019-04-122-76/+174
| | | | | Use a FIFO list of jobs per processor to carry out the SMP multicast action. Use a done indicator per job to reduce the bus traffic a bit.
* score: Use processor mask in _SMP_Multicast_actionSebastian Huber2019-04-121-17/+7
| | | | Processor_mask is the internal data type to deal with processor sets.
* score: Use an ISR lock for Per_CPU_Control::LockSebastian Huber2019-04-125-22/+23
| | | | | | The use of a hand crafted lock for Per_CPU_Control::Lock was necessary at some point in the SMP support development, but it is no longer justified.
* score: Add _ISR_lock_Set_name()Sebastian Huber2019-04-121-2/+3
| | | | | Add _ISR_lock_Set_name() to optimize the initialization of zero-initialized locks.
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-115-29/+39
| | | | | | | Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
* score: Rename _SMP_Processor_countSebastian Huber2019-04-111-2/+2
| | | | | | | Rename _SMP_Processor_count in _SMP_Processor_maximum to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
* Remove superfluous run-time checkSebastian Huber2019-04-091-4/+1
| | | | | The _Objects_Information_table[ the_api ] is never NULL for a valid API index.
* doxygen: Rename Score* groups in RTEMSScore*Sebastian Huber2019-04-04156-156/+156
| | | | Update #3706
* score: Rename ScoreCPU Doxygen groupSebastian Huber2019-03-261-1/+0
| | | | Update #3706.
* Remove superfluous <rtems/system.h> includesSebastian Huber2019-03-1421-21/+0
|
* coremsgseize.c: Fix spelling errorJoel Sherrill2019-03-121-1/+1
|
* score: Fix _Scheduler_EDF_Cancel_job()Sebastian Huber2019-03-011-2/+4
| | | | Remove the priority node only in case it is active.
* Remove explicit file names from @fileSebastian Huber2019-02-284-4/+4
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* score: Avoid some deadlocks in _Once()Sebastian Huber2019-02-181-43/+74
| | | | | | | | Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
* score: Fix plain priority thread queues (SMP)Sebastian Huber2019-02-071-0/+8
| | | | We must add/remove the priority queue to the FIFO of priority queues.
* score: Avoid internal API and use ISR lockSebastian Huber2019-01-181-9/+9
|
* Adjust interrupt mode tests for some CPU portsSebastian Huber2019-01-092-2/+4
| | | | | | | In case the robust thread dispatch is enabled by the CPU port, then the interrupt level must not be changed through the task mode. Update #3000.
* Separate task mode checksSebastian Huber2019-01-091-8/+11
| | | | Update #3000.
* score: Remove superfluous include from chainimpl.hSebastian Huber2019-01-071-0/+1
|
* score: Fix per-CPU data allocationSebastian Huber2018-12-181-26/+44
| | | | | | | | | | | Allocate the per-CPU data for secondary processors directly from the heap areas before heap initialization and not via _Workspace_Allocate_aligned(). This avoids dependency on the workspace allocator. It fixes also a problem on some platforms (e.g. QorIQ) where at this early point in the system initialization the top of the RAM is used by low-level startup code on secondary processors (boot pages). Update #3507.
* score: Static Objects_Information initializationSebastian Huber2018-12-1413-190/+98
| | | | | | | | | | | Statically allocate the objects information together with the initial set of objects either via <rtems/confdefs.h>. Provide default object informations with zero objects via librtemscpu.a. This greatly simplifies the workspace size estimate. RTEMS applications which do not use the unlimited objects option are easier to debug since all objects reside now in statically allocated objects of the right types. Close #3621.
* score: Remove Objects_Information::auto_extendSebastian Huber2018-12-144-25/+29
| | | | | | | Use Objects_Information::objects_per_block to provide this information. Add and use _Objects_Is_auto_extend(). Update #3621.
* score: Remove Objects_Information::the_apiSebastian Huber2018-12-072-14/+12
| | | | | | | Remove Objects_Information::the_class. This information is already contained in Objects_Information::maximum_id. Update #3621.
* score: Remove Objects_Information::maximumSebastian Huber2018-12-079-50/+50
| | | | | | | This information is already present in Objects_Information::maximum_id. Add and use _Objects_Get_maximum_index(). Update #3621.
* score: Optimize object lookupSebastian Huber2018-12-0711-65/+44
| | | | | | | | | | | | | | | | Use the maximum ID for the ID to object translation. Using the maximum ID gets rid of an additional load from the object information in _Objects_Get(). In addition, object lookups fail for every ID in case the object information is cleared to zero. This makes it a bit more robust during system startup (see new tests in spconfig02). The local table no longer needs a NULL pointer entry at array index zero. Adjust all the object iteration loops accordingly. Remove Objects_Information::minimum_id since it contains only redundant information. Add _Objects_Get_minimum_id() to get the minimum ID. Update #3621.
* score: Rename Objects_Information::allocation_sizeSebastian Huber2018-12-075-33/+45
| | | | | | | | Rename Objects_Information::allocation_size in Objects_Information::objects_per_block. Adjust integer types in _Objects_Shrink_information() and _Objects_Free(). Update #3621.
* score: Rename Objects_Information::sizeSebastian Huber2018-12-074-6/+6
| | | | | | | | Rename Objects_Information::size to Objects_Information::object_size. Change its type from size_t to uint16_t and move it to reduce the size of Objects_Information. Update #3621.
* score: Remove Objects_Information::is_stringSebastian Huber2018-12-077-31/+29
| | | | | | Use Objects_Information::name_length to store this information. Update #3621.
* score: Remove dead codeSebastian Huber2018-12-071-16/+0
| | | | Update #3621.
* score: <rtems/score/smplockstats.h>Sebastian Huber2018-11-261-7/+16
| | | | | | | Remove <rtems/score/chainimpl.h> include from <rtems/score/smplockstats.h>. Close #3598.
* score: Simplify _Workspace_String_duplicate()Sebastian Huber2018-11-211-6/+7
|
* or1k: Support GCC 9Sebastian Huber2018-11-141-1/+2
| | | | Close #3602.
* score: Introduce <rtems/score/watchdogticks.h>Sebastian Huber2018-11-121-1/+1
| | | | | | | Separate the definitions related to watchdog ticks from the watchdog structures. Update #3598.
* score: Rename interrupt stack symbolsSebastian Huber2018-11-081-1/+1
| | | | | | | | | | | | | Rename * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin, * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and * _Configuration_Interrupt_stack_size in _ISR_Stack_size. Move definitions to <rtems/score/isr.h>. The new names are considerable shorter and in the right namespace. Update #3459.
* score: Optimize Objects_InformationSebastian Huber2018-11-061-64/+52
| | | | | | | Reduce structure internal padding. Group members used by _Objects_Get() together. Reduce size of some members. Format and simplify _Objects_Extend_information().
* posix: Provide threads by defaultSebastian Huber2018-10-293-20/+0
| | | | Update #2514.
* posix: Split posix_api_configuration_tableSebastian Huber2018-10-291-1/+2
| | | | | | Use separate configuration variables to avoid false dependencies. Update #2514.
* Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMESSebastian Huber2018-10-297-49/+32
| | | | | | | | | Enable support for string objects names unconditionally. Add const qualifier throughout. Split _Objects_Namespace_remove() into _Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string() to avoid an unnecessary dependency on _Workspace_Free(). Update #2514.
* score: Remove bogus thread object name supportSebastian Huber2018-10-291-8/+4
| | | | Update #2514.
* Remove INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALLSebastian Huber2018-09-211-4/+0
| | | | | | | | | | | | The configured interrupt stack size (CONFIGURE_INTERRUPT_STACK_SIZE) is checked against the minimum task stack size. The minium tasks task stack size is also a configuration option (CONFIGURE_MINIMUM_TASK_STACK_SIZE). So, this check does not really help in case of configuration errors. In addition, the interrupt stack is also re-used as the initialization stack in most BSPs. It is probably better to use a stack checker to detect problems. Update #3459.