summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* posix: Fix sem_init() with too large initial valueSebastian Huber2016-05-262-1/+18
| | | | Close #2721.
* Fix semaphore post overflow statusSebastian Huber2016-05-269-11/+86
| | | | Close #2720.
* testsuites: Fix locked_printf() test printerSebastian Huber2016-05-261-11/+3
|
* testsuite: Fix networking samples to use the RTEMS printer.Chris Johns2016-05-262-0/+6
|
* posix: Fix pthread_spin_unlock() error statusSebastian Huber2016-05-255-22/+18
| | | | Close #2719.
* score: Move thread queue MP callout to contextSebastian Huber2016-05-2598-1306/+1048
| | | | | | | | Drop the multiprocessing (MP) dependent callout parameter from the thread queue extract, dequeue, flush and unblock methods. Merge this parameter with the lock context into new structure Thread_queue_Context. This helps to gets rid of the conditionally compiled method call helpers.
* score: Get rid of mp_id parameterSebastian Huber2016-05-2543-156/+23
| | | | | Get rid of the mp_id parameter used for some thread queue methods. Use THREAD_QUEUE_QUEUE_TO_OBJECT() instead.
* score: Move thread queue object supportSebastian Huber2016-05-2512-53/+40
|
* mpci: Fix thread queue flush methodSebastian Huber2016-05-256-97/+56
| | | | | | | We must call the MP callout for proxies if we unblock them after a thread queue extraction. This was missing in _Thread_queue_Flush_critical(). Move thread remove timer and unblock code to new function _Thread_Remove_timer_and_unblock().
* confdefs.h: Fix heap alloc size estimateSebastian Huber2016-05-251-4/+8
| | | | Account for the heap minimum block size.
* testsuite: Fix printk format warnings.Chris Johns2016-05-2517-114/+94
|
* testsuite: Fix printk formating warning.Chris Johns2016-05-251-3/+3
|
* libmisc: Fix printk format warnings.Chris Johns2016-05-252-3/+3
|
* score/i386: Fix printk format warnings.Chris Johns2016-05-251-5/+7
|
* libcsupport: Fix printk warnings.Chris Johns2016-05-251-2/+2
|
* bsp/shared: Fix printk warnings.Chris Johns2016-05-251-2/+4
|
* libfs/jff2: Avoid printk format warnings.Chris Johns2016-05-253-15/+30
| | | | | This change does not fix the printk format warnings rather it ignores them.
* i386/pc386: Fix printk formatting warnings.Chris Johns2016-05-258-18/+27
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-2590-557/+802
| | | | | | | | | | | | | | | | | | | This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
* psxtests/psxmsgq01: Fix typoSebastian Huber2016-05-241-1/+1
|
* score: Fix blocking _CORE_message_queue_Submit()Sebastian Huber2016-05-246-17/+82
| | | | Close #2718.
* psxtests/psxmsgq01: Enable test caseSebastian Huber2016-05-242-5/+4
|
* score: _CORE_message_queue_Seize()Sebastian Huber2016-05-244-6/+0
| | | | Delete unused parameter.
* mpci: Add missing return statementsSebastian Huber2016-05-248-8/+8
|
* score: _CORE_semaphore_Seize()Sebastian Huber2016-05-204-5/+0
| | | | Delete unused parameter.
* Replace *_Get_interrupt_disable() with *_Get()Sebastian Huber2016-05-2057-88/+63
| | | | | Uniformly use *_Get() to get an object by identifier with a lock context.
* score: Rename _Objects_Get_local()Sebastian Huber2016-05-2019-20/+20
| | | | | | Rename _Objects_Get_local() into _Objects_Get(). Confusions with the previous _Objects_Get() function are avoided since the Objects_Locations parameter is gone.
* score: Delete unused _Objects_Get_isr_disable()Sebastian Huber2016-05-203-98/+1
| | | | Delete now unused Objects_Locations.
* rtems: _Semaphore_Get_interrupt_disable()Sebastian Huber2016-05-2010-362/+287
| | | | | | Use _Objects_Get_local() for _Semaphore_Get_interrupt_disable() to get rid of the location parameter. Move remote object handling to semaphore MPCI support.
* rtems: _Message_queue_Get_interrupt_disable()Sebastian Huber2016-05-2010-365/+348
| | | | | | Use _Objects_Get_local() for _Message_queue_Get_interrupt_disable() to get rid of the location parameter. Move remote object handling to message queue MPCI support.
* rtems: Remove location from _Partition_Get()Sebastian Huber2016-05-206-124/+138
| | | | | Use _Objects_Get_local() for _Partition_Get() to get rid of the location parameter. Move remote object handling to partition MPCI support.
* mpci: Delete unused region supportSebastian Huber2016-05-201-12/+0
|
* mpci: Simplify _Objects_MP_Is_remote()Sebastian Huber2016-05-204-22/+20
|
* posix: Add const to _POSIX_Keys_Key_value_find()Sebastian Huber2016-05-201-2/+2
|
* score: Add const to _RBTree_Find_inline()Sebastian Huber2016-05-201-8/+18
|
* score: Delete unused _Objects_Get_local_object()Sebastian Huber2016-05-201-27/+0
|
* posix: Remove dead code and shrink commentSebastian Huber2016-05-201-35/+3
|
* posix: Add and use _POSIX_Get_object_body()Sebastian Huber2016-05-204-111/+53
|
* score: Use _RBTree_Insert_inline()Sebastian Huber2016-05-203-42/+22
| | | | | | Use _RBTree_Insert_inline() for priority thread queues. Update #2556.
* score: Add per scheduler instance maximum prioritySebastian Huber2016-05-2010-22/+42
| | | | | | | | | | | The priority values are only valid within a scheduler instance. Thus, the maximum priority value must be defined per scheduler instance. The first scheduler instance defines PRIORITY_MAXIMUM. This implies that RTEMS_MAXIMUM_PRIORITY and POSIX_SCHEDULER_MAXIMUM_PRIORITY are only valid for threads of the first scheduler instance. Further API/implementation changes are necessary to fix this. Update #2556.
* fat: Fix for invalid cluster sizesSebastian Huber2016-05-201-1/+3
| | | | | | | A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Close #2717.
* score: Remove the Giant lockSebastian Huber2016-05-2013-613/+0
| | | | Update #2555.
* score: Rename _ISR_Flash() into _ISR_Local_flash()Sebastian Huber2016-05-205-6/+6
| | | | | | This is a preparation to remove the Giant lock. Update #2555.
* score: Rename _ISR_Disable() and _ISR_Enable()Sebastian Huber2016-05-2025-175/+139
| | | | | | | | | Rename _ISR_Disable() into _ISR_Local_disable(). Rename _ISR_Enable() into _ISR_Local_enable(). Remove _Debug_Is_owner_of_giant(). This is a preparation to remove the Giant lock. Update #2555.
* score: Rename _ISR_Disable_without_giant()Sebastian Huber2016-05-2023-74/+74
| | | | | | | | | Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
* score: _Thread_Dispatch_increment_disable_level()Sebastian Huber2016-05-207-12/+24
| | | | | | | | | | Avoid _Thread_Dispatch_increment_disable_level() and _Thread_Dispatch_decrement_disable_level() and thus the Giant lock. This is a preparation to remove the Giant lock. Update #2555.
* testsuites: Avoid Giant lockSebastian Huber2016-05-2015-130/+65
| | | | | | | | | Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.
* score: Avoid Giant _Objects_Extend_information()Sebastian Huber2016-05-201-5/+4
| | | | | | | Avoid Giant lock for _Objects_Extend_information(). Update #2280. Update #2555.
* score: Delete unused _Objects_Get()Sebastian Huber2016-05-204-182/+18
| | | | Update #2555.
* score: Delete unused _Thread_Get()Sebastian Huber2016-05-202-48/+0
| | | | Update #2555.