summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sapi: Fix workspace size estimateSebastian Huber2015-05-271-2/+1
| | | | | Reserve a full minimum block to account for the heap protection enabled via RTEMS_DEBUG.
* sapi: Fix workspace size estimateSebastian Huber2015-05-271-4/+15
|
* sapi: Simplify confdefs.hSebastian Huber2015-05-271-1/+0
| | | | | The _Configure_From_workspace() already takes care that zero size allocations contribute nothing to the workspace size estimate.
* timecounter: Use in RTEMSAlexander Krutwig2015-05-201-0/+1
| | | | | | | | Replace timestamp implementation with FreeBSD bintime and timecounters. New test sptests/sptimecounter02. Update #2271.
* timecounter: Port to RTEMSAlexander Krutwig2015-05-205-0/+508
| | | | | | New test sptests/timecounter01. Update #2271.
* sapi: Avoid declaration in source, fix typeSebastian Huber2015-04-173-5/+5
|
* DRVMGR: added driver manager to cpukit/libdrvmgrDaniel Hellstrom2015-04-172-1/+73
|
* LIBPCI: added PCI layer to cpukit/libpciDaniel Hellstrom2015-04-171-0/+46
|
* IO_MANAGER: early dynamic driver registrationDaniel Hellstrom2015-04-172-1/+17
| | | | | | Adds the possibility to register drivers before the IO Manager has completed the initialization. Sometimes the BSP may want to register a driver dynamically early in the boot process.
* score: Simplify debug code and use _Assert()Sebastian Huber2015-03-221-1/+1
|
* confdefs.h: Improve the DoxygenJoel Sherrill2015-03-111-121/+780
|
* cpukit: deprecate task variables. closes #2293.Gedare Bloom2015-03-101-0/+3
|
* cpukit: deprecate notepadsGedare Bloom2015-03-101-3/+7
| | | | | | | | | | | | | | | Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
* Fix even more Doxygen issuesJoel Sherrill2015-03-061-1/+1
|
* Move test support from sapi to libmisc/testsupportSebastian Huber2015-03-055-247/+0
|
* IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber2015-02-141-1/+5
|
* IMFS: Rename CONFIGURE_IMFS_DISABLE_FCHMODSebastian Huber2015-02-131-2/+2
| | | | Rename CONFIGURE_IMFS_DISABLE_FCHMOD to CONFIGURE_IMFS_DISABLE_CHMOD.
* IMFS: Add CONFIGURE_IMFS_DISABLE_MKNOD_FILESebastian Huber2015-02-131-1/+5
|
* IMFS: CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEMSebastian Huber2015-02-131-0/+11
| | | | Resurrect CONFIGURE_USE_MINIIMFS_AS_BASE_FILESYSTEM.
* sapi/Makefile.am: Do not install libsapi.aJoel Sherrill2015-02-132-15/+0
| | | | sapi/preinstall.am: Regenerated
* IMFS: Add fine grained configurationSebastian Huber2015-02-121-67/+117
| | | | | | | | | | | | | | | | | | Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
* Filesystem: Simplify FIFO and pipe configurationSebastian Huber2015-02-091-30/+23
|
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-041-2/+4
|
* Filesystem: Make rtems_libio_number_iops constSebastian Huber2015-02-041-1/+1
|
* confdefs.h: Fix workspace size if idle task is FPSebastian Huber2014-12-121-2/+8
|
* libcsupport: Delete malloc statisticsSebastian Huber2014-11-281-13/+0
| | | | | | | Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
* _Scheduler_FIXME_thread_priority_queues_are_brokenSebastian Huber2014-11-241-6/+0
| | | | | Delete this variable since it is no longer necessary due to the thread priority queue implementation change to use RB trees.
* sapi/src/testextension.c: Fix warningsJoel Sherrill2014-11-041-0/+2
|
* sapi: Use an interrupt lock for test extensionSebastian Huber2014-10-241-23/+20
| | | | | Ensure to report only once on SMP machines and ensure that the report is output completely.
* sapi: Report only if not an SMP shutdown responseSebastian Huber2014-10-231-3/+23
|
* Use correct prototype of benchmark_timer_read()Joel Sherrill2014-09-161-1/+1
| | | | | | | | | | | | | | This change starts with removing the effectively empty file timerdrv.h. The prototypes for benchmark_timer_XXX() were in btimer.h which was not universally used. Thus every use of timerdrv.h had to be changed to btimer.h. Then the prototypes for benchmark_timer_read() had to be adjusted to return benchmark_timer_t rather than int or uint32_t. I took this opportunity to also correct the file headers to separate the copyright from the file description comments which is needed to ensure the copyright isn't propagated into Doxygen output.
* sapi: Add profiling report begin/end messageSebastian Huber2014-09-021-3/+7
|
* Regenerate all preinstall.am files.Chris Johns2014-08-291-6/+6
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* rbtree: Simplify insert and extractSebastian Huber2014-08-071-9/+3
| | | | | | | Simplify _RBTree_Insert() and _RBTree_Extract(). Remove more superfluous NULL pointer checks. Change _RBTree_Is_root() to use only the node. Add parent parameter to _RBTree_Sibling(). Delete _RBTree_Grandparent() and _RBTree_Parent_sibling().
* rbtree: Add and use RBTree_Compare_resultSebastian Huber2014-08-053-35/+45
|
* Add and use RTEMS_CONTAINER_OF()Sebastian Huber2014-08-052-11/+1
|
* rbtree: Rename find header in find controlSebastian Huber2014-07-291-4/+4
| | | | Simplify _RBTree_Find_control(). Avoid superfluous NULL pointer checks.
* rbtree: Simplify off-tree handlingSebastian Huber2014-07-291-4/+4
| | | | | | | Only use the parent pointer, since this pointer is never NULL for nodes which are part of a tree. Rename functions from *_off_rbtree() to *_off_tree().
* Delete unused *_Is_null() functionsSebastian Huber2014-07-261-7/+0
|
* rbtree: Reduce RBTree_Control sizeSebastian Huber2014-07-152-32/+22
| | | | | | | | | | | | Remove compare function and is unique indicator from the control structure. Rename RBTree_Compare_function to RBTree_Compare. Rename rtems_rbtree_compare_function to rtems_rbtree_compare. Provide C++ compatible initializers. Add compare function and is unique indicator to _RBTree_Find(), _RBTree_Insert(), rtems_rbtree_find() and rtems_rbtree_insert(). Remove _RBTree_Is_unique() and rtems_rbtree_is_unique(). Remove compare function and is unique indicator from _RBTree_Initialize_empty() and rtems_rbtree_initialize_empty().
* rbtree: Delete unused functionsSebastian Huber2014-07-151-40/+0
|
* score: Collect scheduler related fields in TCBSebastian Huber2014-06-231-1/+1
| | | | | Add Thread_Scheduler_control to collect scheduler related fields of the TCB.
* score: Fix scheduler context initializerSebastian Huber2014-06-121-3/+3
|
* libblock: Add RTEMS_BDBUF_USE_PTHREADRalf Kirchner2014-06-021-10/+40
| | | | | | Use the PTHREAD mutexes and condition variables if available. This helps on SMP configurations to avoid the home grown condition variables via disabled preemption.
* rtems: Avoid copy and paste in confdefs.hRalf Kirchner2014-06-021-32/+48
| | | | | Add and use CONFIGURE_POSIX_MUTEXES. Add and use CONFIGURE_POSIX_CONDITION_VARIABLES.
* score: Multiprocessor Resource Sharing ProtocolSebastian Huber2014-05-281-1/+13
| | | | | | | | | | | | | | | | | | | | | | Add basic support for the Multiprocessor Resource Sharing Protocol (MrsP). The Multiprocessor Resource Sharing Protocol (MrsP) is defined in A. Burns and A.J. Wellings, A Schedulability Compatible Multiprocessor Resource Sharing Protocol - MrsP, Proceedings of the 25th Euromicro Conference on Real-Time Systems (ECRTS 2013), July 2013. It is a generalization of the Priority Ceiling Protocol to SMP systems. Each MrsP semaphore uses a ceiling priority per scheduler instance. These ceiling priorities can be specified with rtems_semaphore_set_priority(). A task obtaining or owning a MrsP semaphore will execute with the ceiling priority for its scheduler instance as specified by the MrsP semaphore object. Tasks waiting to get ownership of a MrsP semaphore will not relinquish the processor voluntarily. In case the owner of a MrsP semaphore gets preempted it can ask all tasks waiting for this semaphore to help out and temporarily borrow the right to execute on one of their assigned processors. The help out feature is not implemented with this patch.
* score: Introduce scheduler nodesSebastian Huber2014-05-141-7/+13
| | | | | | | | | | | | Rename scheduler per-thread information into scheduler nodes using Scheduler_Node as the base type. Use inheritance for specialized schedulers. Move the scheduler specific states from the thread control block into the scheduler node structure. Validate the SMP scheduler node state transitions in case RTEMS_DEBUG is defined.
* score: Statically initialize _ISR_Vector_tableSebastian Huber2014-04-291-28/+0
|
* sapi: Report profiling only if enabled for testsSebastian Huber2014-04-291-0/+2
|
* sapi: Add profiling done messageSebastian Huber2014-04-281-0/+6
|