summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* m68k: Avoid _Addresses_Add_offset()Sebastian Huber2019-01-291-4/+2
| | | | | This prevents a cyclic dependency between <rtems/score/cpu.h> and <rtems/score/address.h>.
* riscv: add griscv bspJiri Gaisler2019-01-221-4/+1
| | | | Update #3678.
* grlib: use cpu-independent routines for uncached accessJiri Gaisler2019-01-223-0/+83
| | | | Update #3678.
* score: Avoid internal API and use ISR lockSebastian Huber2019-01-181-9/+9
|
* m68k/include/rtems/score/cpu.h: Add include of address.hJoel Sherrill2019-01-141-0/+2
|
* riscv: Enable robust thread dispatchSebastian Huber2019-01-091-0/+3
| | | | | | | It must be enabled, since the context switch code does not save/restore the interrupt status. Update #3433.
* Adjust interrupt mode tests for some CPU portsSebastian Huber2019-01-092-2/+4
| | | | | | | In case the robust thread dispatch is enabled by the CPU port, then the interrupt level must not be changed through the task mode. Update #3000.
* Separate task mode checksSebastian Huber2019-01-091-8/+11
| | | | Update #3000.
* score: Remove superfluous include from chainimpl.hSebastian Huber2019-01-071-0/+1
|
* score: Fix per-CPU data allocationSebastian Huber2018-12-181-26/+44
| | | | | | | | | | | 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.
* score: Static Objects_Information initializationSebastian Huber2018-12-1413-190/+98
| | | | | | | | | | | 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.
* score: Remove Objects_Information::auto_extendSebastian Huber2018-12-144-25/+29
| | | | | | | 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-072-14/+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-079-50/+50
| | | | | | | 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-0711-65/+44
| | | | | | | | | | | | | | | | 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-075-33/+45
| | | | | | | | 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-074-6/+6
| | | | | | | | 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-077-31/+29
| | | | | | Use Objects_Information::name_length to store this information. Update #3621.
* score: Remove dead codeSebastian Huber2018-12-071-16/+0
| | | | Update #3621.
* Simplify _CPU_Counter_difference()Sebastian Huber2018-12-076-101/+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.
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-041-1/+1
|
* score: <rtems/score/smplockstats.h>Sebastian Huber2018-11-261-7/+16
| | | | | | | Remove <rtems/score/chainimpl.h> include from <rtems/score/smplockstats.h>. Close #3598.
* score: Simplify _Workspace_String_duplicate()Sebastian Huber2018-11-211-6/+7
|
* or1k: Support GCC 9Sebastian Huber2018-11-141-1/+2
| | | | Close #3602.
* 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-122-47/+0
| | | | Update #3585.
* or1k: Remove use of proc_ptrSebastian Huber2018-11-122-39/+24
| | | | Update #3585.
* nios2: Remove use of proc_ptrSebastian Huber2018-11-123-86/+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.
* m68k: Remove use of proc_ptrSebastian Huber2018-11-122-34/+25
| | | | Update #3585.
* lm32: Remove use of proc_ptrSebastian Huber2018-11-122-62/+18
| | | | Update #3585.
* i386: Remove use of proc_ptrSebastian Huber2018-11-122-23/+6
| | | | Update #3585.
* epiphany: Remove use of proc_ptrSebastian Huber2018-11-122-48/+0
| | | | Update #3585.
* bfin: Remove use of proc_ptrSebastian Huber2018-11-122-67/+20
| | | | Update #3585.
* arm: Remove use of proc_ptrSebastian Huber2018-11-123-14/+16
| | | | Update #3585.
* no_cpu: Remove use of proc_ptrSebastian Huber2018-11-122-24/+35
| | | | Update #3585.
* score: Introduce <rtems/score/watchdogticks.h>Sebastian Huber2018-11-121-1/+1
| | | | | | | Separate the definitions related to watchdog ticks from the watchdog structures. Update #3598.
* x86_64: Remove duplicate _CPU_Thread_Idle_body()Sebastian Huber2018-11-121-5/+0
|
* m32c: Remove this targetSebastian Huber2018-11-1213-1605/+0
| | | | Update #3599.
* h8300: Remove left over filesSebastian Huber2018-11-082-61/+0
| | | | Update #2452.
* score: Remove _ISR_Dispatch()Sebastian Huber2018-11-089-136/+14
| | | | | | | | This function was only used on some m68k variants. On these m68k variants there is no need to use a global symbol. Use a local label instead. Remove _ISR_Dispatch() from the architecture-independent layer.
* score: Rename interrupt stack symbolsSebastian Huber2018-11-082-2/+2
| | | | | | | | | | | | | Rename * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin, * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and * _Configuration_Interrupt_stack_size in _ISR_Stack_size. Move definitions to <rtems/score/isr.h>. The new names are considerable shorter and in the right namespace. Update #3459.
* score: Optimize Objects_InformationSebastian Huber2018-11-061-64/+52
| | | | | | | Reduce structure internal padding. Group members used by _Objects_Get() together. Reduce size of some members. Format and simplify _Objects_Extend_information().
* posix: Provide threads by defaultSebastian Huber2018-10-293-20/+0
| | | | Update #2514.
* posix: Split posix_api_configuration_tableSebastian Huber2018-10-291-1/+2
| | | | | | Use separate configuration variables to avoid false dependencies. Update #2514.
* Remove RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMESSebastian Huber2018-10-297-49/+32
| | | | | | | | | Enable support for string objects names unconditionally. Add const qualifier throughout. Split _Objects_Namespace_remove() into _Objects_Namespace_remove_u32() and _Objects_Namespace_remove_string() to avoid an unnecessary dependency on _Workspace_Free(). Update #2514.