summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add aligned_alloc() and memalign()Sebastian Huber2018-12-212-0/+42
| | | | | | Ensure that the C++17 aligned new operator works. Close #3666.
* tftpfs: Some bug fixesThomas Dörfler2018-12-211-10/+20
| | | | | | | | | | | Fix for: - tftpfs did not mount, when device field in mount entry is empty - tftpfs needs to allocate fs structure before it fills it (avoid use of uninitialized pointer) - tftpfs needs to skip initial slash before hostname
* score: Fix per-CPU data allocationSebastian Huber2018-12-183-29/+49
| | | | | | | | | | | 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.
* config: Remove CONFIGURE_CONFDEFS_DEBUGSebastian Huber2018-12-171-59/+0
| | | | | | | This configuration option was undocumented and not really helpful. To debug issues in <rtems/confdefs.h> it is better to save the preprocessesd file (GCC "-save-temps" option) and use the GCC "-Wp,-dD" pre-processor option.
* build: Remove ampolish3Sebastian Huber2018-12-142-12/+0
| | | | Update #3254.
* score: Static Objects_Information initializationSebastian Huber2018-12-1494-1978/+2018
| | | | | | | | | | | 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.
* rtems: Use object information to get config maxSebastian Huber2018-12-146-17/+131
| | | | | | | Use functions instead of macros. Add missing rtems_configuration_get_maximum_*() functions. Update #3621.
* score: Remove Objects_Information::auto_extendSebastian Huber2018-12-146-30/+53
| | | | | | | Use Objects_Information::objects_per_block to provide this information. Add and use _Objects_Is_auto_extend(). Update #3621.
* posix: Fix shm_unlink()Sebastian Huber2018-12-111-1/+10
| | | | This function is untested.
* score: Remove Objects_Information::the_apiSebastian Huber2018-12-073-18/+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-0712-55/+67
| | | | | | | 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-0716-77/+84
| | | | | | | | | | | | | | | | 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-076-35/+47
| | | | | | | | 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-075-14/+14
| | | | | | | | 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-0722-67/+62
| | | | | | Use Objects_Information::name_length to store this information. Update #3621.
* score: Remove dead codeSebastian Huber2018-12-071-16/+0
| | | | Update #3621.
* rtems: Add rtems_scheduler_get_maximum_priority()Sebastian Huber2018-12-073-0/+69
| | | | Update #3636.
* Simplify _CPU_Counter_difference()Sebastian Huber2018-12-077-102/+150
| | | | | | | | | | | | | | In order to simplify the use of CPU counter values it is beneficial to have monotonic increasing values within the range of the CPU counter ticks data type, e.g. 32-bit unsigned integer. This eases the use of CPU counter timestamps in external tools which do not know the details of the CPU counter hardware. The CPU counter is the fastest way to get a time on an RTEMS system. Such a CPU counter may be also used as the timecounter. Use it on SPARC for this purpose to simplify the clock drivers. Update #3456.
* score: Avoid sbintime_t in API headersSebastian Huber2018-12-078-267/+309
| | | | | | | | | | 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-062-5/+5
| | | | Close #3637.
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-047-10/+10
|
* testsupport: Include missing <rtems/bspIo.h>Sebastian Huber2018-12-031-0/+1
|
* Convert CPU counter ticks to/from sbintime_tSebastian Huber2018-12-032-10/+48
| | | | | The sbintime_t is an efficient time format. Add the ability to convert CPU counter ticks to/from sbintime_t.
* 5 spelling errors for a Google Code-In task.Jacob Shin2018-12-023-4/+4
| | | | Username: deuteriumoxide Email: jacobshin313@gmail.com
* dosfs: Fix device identifierSebastian Huber2018-11-271-1/+1
| | | | Update #3358.
* 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.
* rtems: Fix semaphore MPCI supportSebastian Huber2018-11-261-0/+4
|
* score: <rtems/score/smplockstats.h>Sebastian Huber2018-11-262-24/+33
| | | | | | | Remove <rtems/score/chainimpl.h> include from <rtems/score/smplockstats.h>. Close #3598.
* score: Introduce <rtems/score/heapinfo.h>Sebastian Huber2018-11-264-119/+161
| | | | | | | Move Heap_Information_block to separate header file to hide heap implementation details from <rtems.h>. Update #3598.
* pipe/fifo.c: Remove dead code (CID 1437649)Joel Sherrill2018-11-221-1/+0
| | | | Closes #3581.
* libdl: Add object file dependencies to track referencesChris Johns2018-11-2210-140/+619
| | | | | | | | | | 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-222-21/+126
| | | | Updates #3194
* libdl: Manage the allocation of common uninitialised variables.Chris Johns2018-11-223-26/+220
| | | | | | | | | | | | | 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: Simplify _Workspace_String_duplicate()Sebastian Huber2018-11-211-6/+7
|
* score: Remove support for RTEMS_USE_16_BIT_OBJECTSebastian Huber2018-11-214-61/+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.
* Misc: Minor English fixes (GCI 2018)kuaLeYi2018-11-202-18/+18
|
* Include missing <sys/cpuset.h>Sebastian Huber2018-11-141-2/+6
| | | | Update #3598.
* or1k: Support GCC 9Sebastian Huber2018-11-142-2/+4
| | | | Close #3602.
* Add rtems_malloc() and rtems_calloc()Sebastian Huber2018-11-122-0/+58
| | | | Close #3583.
* score: Add and use malloc() family attributesSebastian Huber2018-11-122-1/+52
| | | | Update #3583.
* x86_64: Remove use of proc_ptrSebastian Huber2018-11-123-34/+1
| | | | Update #3585.
* sparc64: Remove use of proc_ptrSebastian Huber2018-11-122-26/+17
| | | | Update #3585.
* sparc: Remove use of proc_ptrSebastian Huber2018-11-122-15/+19
| | | | Update #3585.
* sh: Remove use of proc_ptrSebastian Huber2018-11-122-50/+20
| | | | Update #3585.
* powerpc: Remove use of proc_ptrSebastian Huber2018-11-123-48/+0
| | | | Update #3585.
* or1k: Remove use of proc_ptrSebastian Huber2018-11-122-39/+24
| | | | Update #3585.
* nios2: Remove use of proc_ptrSebastian Huber2018-11-124-87/+7
| | | | Update #3585.
* moxie: Remove use of proc_ptrSebastian Huber2018-11-122-78/+10
| | | | Update #3585.
* mips: Remove use of proc_ptrSebastian Huber2018-11-121-25/+0
| | | | Update #3585.