summaryrefslogtreecommitdiffstats
path: root/cpukit/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Use object information to get config maxSebastian Huber2018-12-142-7/+18
| | | | | | | Use functions instead of macros. Add missing rtems_configuration_get_maximum_*() functions. Update #3621.
* score: Remove Objects_Information::auto_extendSebastian Huber2018-12-141-4/+23
| | | | | | | 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-071-4/+0
| | | | | | | Remove Objects_Information::the_class. This information is already contained in Objects_Information::maximum_id. Update #3621.
* score: Remove Objects_Information::maximumSebastian Huber2018-12-071-3/+15
| | | | | | | 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-071-3/+23
| | | | | | | | | | | | | | | | 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-071-2/+2
| | | | | | | | 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-071-8/+8
| | | | | | | | 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-071-11/+22
| | | | | | Use Objects_Information::name_length to store this information. Update #3621.
* rtems: Add rtems_scheduler_get_maximum_priority()Sebastian Huber2018-12-071-0/+15
| | | | Update #3636.
* score: Avoid sbintime_t in API headersSebastian Huber2018-12-075-267/+306
| | | | | | | | | | The sbintime_t is a non-POSIX type and not visible if strict standard options are selected. Move implementation details from <rtems/score/timestamp.h> to <rtems/score/timestampimpl.h>. Update #3598.
* score: Use __typeof__ for strict ISO C compatSebastian Huber2018-12-061-3/+3
| | | | | Enable the use of RTEMS_DEVOLATILE() and RTEMS_DECONST() in strict ISO C environments.
* rtems: Fix rtems_task_restart() argument typeSebastian Huber2018-12-061-3/+3
| | | | Close #3637.
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-043-6/+6
|
* Convert CPU counter ticks to/from sbintime_tSebastian Huber2018-12-031-8/+28
| | | | | The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
* Remove rtems_cache_*_processor_set() functionsSebastian Huber2018-11-261-79/+0
| | | | | | | | The following rtems_cache_*_processor_set() cache manager API functions are exotic, complex, very hard to use correctly, not used in the RTEMS code base, and apparently unused by applications. Close #3622.
* score: <rtems/score/smplockstats.h>Sebastian Huber2018-11-261-17/+17
| | | | | | | Remove <rtems/score/chainimpl.h> include from <rtems/score/smplockstats.h>. Close #3598.
* score: Introduce <rtems/score/heapinfo.h>Sebastian Huber2018-11-263-119/+160
| | | | | | | Move Heap_Information_block to separate header file to hide heap implementation details from <rtems.h>. Update #3598.
* libdl: Add object file dependencies to track referencesChris Johns2018-11-224-16/+128
| | | | | | | | | | Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605
* libdl: Reindex unresolved names after removing used records.Chris Johns2018-11-221-1/+6
| | | | Updates #3194
* libdl: Manage the allocation of common uninitialised variables.Chris Johns2018-11-221-0/+33
| | | | | | | | | | | | | The use of separate text and data results in uninitialised variables being placed in the common section. There is no section in ELF for the common variables so the loader needs to create the section and allocate the variables in that section. This patch does that. The patch adds a second pass over the symbols. The issue can also be seen as a section 65522 error. Updates #3604
* score: Remove support for RTEMS_USE_16_BIT_OBJECTSebastian Huber2018-11-212-53/+2
| | | | | | | | | The RTEMS_USE_16_BIT_OBJECT define is not set by an RTEMS port. Remove support for 16-bit object identifiers. If someone really wants to use RTEMS on a 16-bit target, then it is better to use self-contained objects instead of playing around with object identifier optimizations. Update #3603.
* Include missing <sys/cpuset.h>Sebastian Huber2018-11-141-2/+6
| | | | Update #3598.
* Add rtems_malloc() and rtems_calloc()Sebastian Huber2018-11-121-0/+33
| | | | Close #3583.
* score: Add and use malloc() family attributesSebastian Huber2018-11-122-1/+52
| | | | Update #3583.
* score: Deprecate proc_ptrSebastian Huber2018-11-121-1/+1
| | | | Update #3585.
* score: Move internal structures to userextdata.hSebastian Huber2018-11-124-24/+65
| | | | Update #3598.
* score: Includes in <rtems/score/smplockstats.h>Sebastian Huber2018-11-121-0/+2
| | | | | | Include implementation header files only if necessary. Update #3598.
* rtems: Simplify includes in <rtems/rtems/cache.h>Sebastian Huber2018-11-121-2/+1
| | | | Update #3598.
* score: Move internal structures to objectdata.hSebastian Huber2018-11-1215-71/+111
| | | | Update #3598.
* rtems: Avoid include of <rtems/score/scheduler.h>Sebastian Huber2018-11-123-5/+8
| | | | Update #3598.
* rtems: Avoid include of <rtems/score/thread.h>Sebastian Huber2018-11-121-3/+4
| | | | Update #3598.
* score: Avoid complex include in heap.hSebastian Huber2018-11-121-2/+3
| | | | Update #3598.
* rtems: Remove superfluous includeSebastian Huber2018-11-121-1/+0
| | | | Update #3598.
* score: Introduce <rtems/score/watchdogticks.h>Sebastian Huber2018-11-129-42/+83
| | | | | | | Separate the definitions related to watchdog ticks from the watchdog structures. Update #3598.
* rtems: Avoid <rtems/score/timecounter.h> in APISebastian Huber2018-11-123-7/+3
| | | | | | Use a real function for rtems_clock_get_uptime_seconds(). Update #3598.
* score: Avoid include of <rtems/score/thread.h>Sebastian Huber2018-11-122-15/+17
| | | | Update #3598.
* score: Remove empty <rtems/score/tod.h>Sebastian Huber2018-11-123-34/+0
| | | | Update #3598.
* rtems: Move internal structures to extensiondata.hSebastian Huber2018-11-124-11/+64
| | | | Update #3598.
* rtems: Move internal structures to timerdata.hSebastian Huber2018-11-124-50/+74
| | | | Update #3598.
* rtems: Move internal structures to tasksdata.hSebastian Huber2018-11-124-60/+81
| | | | Update #3598.
* rtems: Move internal structures to semdata.hSebastian Huber2018-11-124-84/+119
| | | | Update #3598.
* rtems: Move internal structures to regiondata.hSebastian Huber2018-11-124-33/+61
| | | | Update #3598.
* rtems: Move internal structures to partdata.hSebastian Huber2018-11-124-41/+68
| | | | Update #3598.
* rtems: Move internal structures to messagedata.hSebastian Huber2018-11-124-43/+66
| | | | Update #3598.
* rtems: Move internal structures to eventdata.hSebastian Huber2018-11-124-23/+51
| | | | Update #3598.
* rtems: Move internal structures to dpmemdata.hSebastian Huber2018-11-124-35/+61
| | | | Update #3598.
* rtems: Move internal structures to barrierdata.hSebastian Huber2018-11-124-39/+64
| | | | Update #3598.
* rtems: Remove Modes_ControlSebastian Huber2018-11-124-21/+16
| | | | | | | Use rtems_mode directly. This is in line with rtems_attribute and rtems_option. Update #3598.
* rtems: Move internal structures to asrdata.hSebastian Huber2018-11-124-21/+60
| | | | Update #3598.
* rtems: Move internal structures to ratemondata.hSebastian Huber2018-11-125-111/+143
| | | | Update #3598.