summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Move _RBTree_Find()Sebastian Huber2016-06-224-21/+119
| | | | | | The _RBTree_Find() is no longer used in the score. Move it to sapi and make it rtems_rbtree_find(). Move corresponding types and support functions to sapi.
* score: Move _RBTree_Insert()Sebastian Huber2016-06-223-11/+79
| | | | | The _RBTree_Insert() is no longer used in the score. Move it to sapi and make it rtems_rbtree_insert().
* confdefs.h: Do not hide network file systemsSebastian Huber2016-06-091-34/+30
| | | | | Do not hide network file systems if RTEMS_NETWORKING is not defined, since they may be provided by the LibBSD.
* score: _CORE_mutex_Check_dispatch_for_seize()Sebastian Huber2016-05-301-1/+1
| | | | | | | | | | | Move the safety check performed by _CORE_mutex_Check_dispatch_for_seize() out of the performance critical path and generalize it. Blocking on a thread queue with an unexpected thread dispatch disabled level is illegal in all system states. Add the expected thread dispatch disable level (which may be 1 or 2 depending on the operation) to Thread_queue_Context and use it in _Thread_queue_Enqueue_critical().
* confdefs.h: Fix heap alloc size estimateSebastian Huber2016-05-251-4/+8
| | | | Account for the heap minimum block size.
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-252-74/+53
| | | | | | | | | | | | | | | | | | | 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.
* score: Add per scheduler instance maximum prioritySebastian Huber2016-05-202-13/+18
| | | | | | | | | | | 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.
* score: Make _Objects_Information_table constSebastian Huber2016-05-041-1/+2
| | | | | The _Objects_Information_table is statically initialized. So, we can make it read-only.
* rtems: Remove task variablesSebastian Huber2016-05-041-48/+1
| | | | | Update #2494. Update #2555.
* confdefs.h: Fix message queue size estimateSebastian Huber2016-05-041-1/+2
| | | | | Account for maximum message size alignment. Simplify _CORE_message_queue_Initialize().
* confdefs.h: Fix named object size estimateSebastian Huber2016-05-041-2/+3
| | | | | | Account for the terminating null character. Use _POSIX_PATH_MAX instead of NAME_MAX according to _POSIX_Semaphore_Manager_initialization() and _POSIX_Message_queue_Manager_initialization().
* score: Add dummy Strong APA schedulerSebastian Huber2016-05-022-0/+49
| | | | | | Start with a copy of the Priority SMP scheduler implementation. Update #2510.
* posix: Simplify message queuesSebastian Huber2016-05-021-37/+2
| | | | | | | | | | | | The mq_open() function returns a descriptor to a POSIX message queue object identified by a name. This is similar to sem_open(). In contrast to the POSIX semaphore the POSIX message queues use a separate object for the descriptor. This extra object is superfluous, since the object identifier can be used directly for this purpose, just like for the semaphores. Update #2702. Update #2555.
* score: Optimize _Objects_Get_no_protection()Sebastian Huber2016-04-211-1/+1
| | | | | Make the id the first parameter since usual callers get the object identifier as the first parameter themself.
* score: Simplify _Objects_Initialize_information()Sebastian Huber2016-04-211-5/+1
| | | | | | Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller.
* sapi: Avoid Giant lock for extensionsSebastian Huber2016-04-182-25/+15
| | | | | | Extension create and delete is protected by the object allocator lock. Update #2555.
* score: Delete _Chain_Append()Sebastian Huber2016-04-062-14/+0
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Get()Sebastian Huber2016-04-062-13/+0
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Extract()Sebastian Huber2016-04-062-11/+2
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Insert()Sebastian Huber2016-04-062-10/+4
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Get_with_empty_check()Sebastian Huber2016-04-062-14/+0
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Prepend_with_empty_check()Sebastian Huber2016-04-062-12/+2
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Append_with_empty_check()Sebastian Huber2016-04-062-12/+2
| | | | | | This function is not used in the score. Update #2555.
* score: Delete _Chain_Prepend()Sebastian Huber2016-04-063-29/+22
| | | | | | This function is not used in the score. Update #2555.
* score: Use red-black tree for active global objectsSebastian Huber2016-04-061-9/+0
| | | | | | | Use a red-black tree to lookup active global objects by identifier or name. Update #2555.
* score: Fix MPCI workspace size estimateSebastian Huber2016-03-291-0/+9
| | | | Account for the global objects table.
* score: Fix MPCI workspace size estimateSebastian Huber2016-03-291-1/+3
| | | | | Global objects are no real objects with an objects information structure.
* score: Fix MPCI receive server workspace sizeSebastian Huber2016-03-291-13/+33
|
* score: Fix multiprocessing thread proxiesSebastian Huber2016-03-291-1/+3
| | | | | | | We must provide thread queue heads for the thread wait information for each thread proxy (thread queue heads were introduced by d7665823b208daefb6855591d808e1f3075cedcb). The thread proxy must be allocated before the enqueue operation.
* sapi: Include missing header fileSebastian Huber2016-03-172-0/+2
|
* sapi: Do not disable thread dispatchingSebastian Huber2016-03-161-2/+0
| | | | | | | Do not disable thread dispatching to add a user extension. After startup, the object allocator lock is enough. Update #2555.
* score: Use ISR lock for IO driver registrationSebastian Huber2016-03-1415-39/+92
| | | | | | Create implementation header file. Update #2555.
* score: Delete unused SAPI_IO_EXTERNSebastian Huber2016-03-143-31/+1
| | | | Update #2559.
* score: Replace watchdog handler implementationSebastian Huber2016-03-041-3/+0
| | | | | | | | | Use a red-black tree instead of delta chains. Close #2344. Update #2554. Update #2555. Close #2606.
* score: Avoid SCORE_EXTERNSebastian Huber2016-02-171-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Delete SCORE_INIT. This finally removes the some.h: #ifndef SOME_XYZ_EXTERN #define SOME_XYZ_EXTERN extern #endif SOME_XYZ_EXTERN type xyz; some_xyz.c: #define SOME_XYZ_EXTERN #include <some.h> pattern in favour of some.h: extern type xyz; some_xyz.c #include <some.h> type xyz; Update #2559.
* Delete unused API extensionsSebastian Huber2016-02-031-26/+8
|
* Use linker set for POSIX User Threads initSebastian Huber2016-02-031-4/+5
| | | | Update #2408.
* Use linker set for Classic User Tasks initSebastian Huber2016-02-031-4/+5
| | | | Update #2408.
* Use linker set for MPCI initializationSebastian Huber2016-02-036-138/+11
| | | | Update #2408.
* Use linker set for driver manager initializationSebastian Huber2016-02-031-58/+0
| | | | Update #2408.
* Use linker set for libio initializationSebastian Huber2016-02-031-14/+0
| | | | Update #2408.
* Use atexit() handler to close std file descriptorsSebastian Huber2016-02-031-7/+0
|
* Use linker set for root file system initializationSebastian Huber2016-02-031-5/+6
| | | | Update #2408.
* posix: Delete empty _POSIX_API_Initialize()Sebastian Huber2016-02-032-31/+0
|
* Optional POSIX Keys initializationSebastian Huber2016-02-031-3/+0
| | | | Update #2408.
* Optional CPU Set Handler initializationSebastian Huber2016-02-031-3/+0
| | | | Update #2408.
* Optional POSIX Spinlock initializationSebastian Huber2016-02-031-5/+0
| | | | Update #2408.
* Optional POSIX RWLock initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* Optional POSIX Barrier initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.
* Optional POSIX Timer initializationSebastian Huber2016-02-031-2/+0
| | | | Update #2408.