| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
* score/Makefile.am: Reflect changes above.
* score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
Heap_Block_visitor.
* score/include/rtems/score/protectedheap.h: Declare
_Protected_heap_Iterate().
* score/src/heapgetinfo.c: Use _Heap_Iterate().
|
|
|
|
| |
* rtems/powerpc/registers.h: More register defines.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* score/src/schedulercbsattachthread.c,
score/src/schedulercbsdestroyserver.c,
score/src/schedulercbsdetachthread.c,
score/src/schedulercbsgetapprovedbudget.c,
score/src/schedulercbsgetexecutiontime.c,
score/src/schedulercbsgetparameters.c,
score/src/schedulercbsgetremainingbudget.c,
score/src/schedulercbssetparameters.c:
Remove checks for server_id < 0 (server_id is unsigned).
|
|
|
|
|
| |
* score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send,
_CORE_message_queue_Urgent):
|
|
|
|
|
|
|
| |
* score/src/rbtreeextract.c:
Make _RBTree_Extract_validate_unprotected static.
* score/src/rbtreeinsert.c:
Make _RBTree_Validate_insert_unprotected static.
|
|
|
|
|
|
|
|
|
| |
* rtems/src/tasks.c: Make _RTEMS_tasks_Create_extension,
_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension,
_RTEMS_tasks_Switch_extension, _RTEMS_tasks_Post_switch_extension
static.
* score/src/scheduleredf.c: Make _Scheduler_EDF_RBTree_compare_function
static.
|
|
|
|
|
| |
* score/src/objectinitializeinformation.c
(_Objects_Initialize_information): Remove unused var "name_length".
|
|
|
|
|
|
|
| |
PR 1967/cpukit
* score/include/rtems/score/object.h,
score/src/objectinitializeinformation.c: Remove
OBJECTS_NAME_ALIGNMENT and uses.
|
|
|
|
|
|
|
|
| |
PR 1941/cpukit
* libmisc/monitor/mon-server.c, score/include/rtems/system.h: Remove
use of RTEMS_offset() in favor of standard offsetof(). This was
undocumented and there was only one internal use. Change noted in
4.11 release notes.
|
|
|
|
|
|
| |
PR 1956/cpukit
* rtems/score/cpu.h: Correct multiple alignment constants. Improve
comments.
|
|
|
|
|
|
| |
PR 1961/cpukit
* score/src/coremsgsubmit.c: Close window caused by using message
pending count rather than directly obtaining unused buffer.
|
|
|
|
|
|
| |
PR 1963
* score/include/rtems/score/rbtree.h: Fix _RBTree_Container_of macro to
use correct arithmetic.
|
|
|
|
|
| |
PR 1964
* score/inline/rtems/score/chain.inl: Fix chain is first and last.
|
| |
|
|
|
|
|
|
| |
PR 1965/cpukit
* rtems/score/arm.h: Select ARMv4 multilib implementation for
__ARM_ARCH_7A__.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1924/cpukit
* sapi/include/rtems/config.h: New fields stack_space_size,
unified_work_area, and stack_allocator_avoids_work_space in
rtems_configuration_table.
* sapi/include/confdefs.h: Removed rtems_unified_work_area (this is
now part of the Configuration). Separate work space and stack space
estimate. Added CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
configuration option.
* libmisc/shell/main_wkspaceinfo.c, score/src/wkspace.c,
libcsupport/src/malloc_initialize.c: Update due to API changes.
|
| |
|
|
|
|
|
| |
PR 1954/cpukit
* score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
|
|
|
|
|
|
|
| |
PR 1957/cpukit
* score/include/rtems/score/coremutex.h,
score/inline/rtems/score/threadmp.inl: Add parentheses to protect
macro arguments.
|
|
|
|
|
| |
PR 1955/cpukit
* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
|
|
|
|
| |
* rtems/score/cpu.h: Removed unused register_pc from Context_Control.
|
|
|
|
|
|
|
| |
PR 1949/cpukit
PR 1950/cpukit
* rtems/score/arm.h: Select ARMv4 multilib implementation for
__ARM_ARCH_6J__.
|
|
|
|
|
|
| |
PR 1942/cpukit:
* score/src/schedulercbsdetachthread.c: Move initialization of var
"sched_info" down (Avoid it being used uninitialized).
|
|
|
|
|
|
|
|
| |
* nios2-mpu-configuration.c, nios2-mpu-descriptor.c,
nios2-mpu-disable-protected.c, nios2-mpu-reset.c: New files.
* Makefile.am: Reflect changes above.
* rtems/score/nios2-utility.h, nios2-context-initialize.c: Added
support for the memory protection unit (MPU).
|
|
|
|
|
| |
* score/include/rtems/score/rbtree.h (_RBTree_Container_of):
Use offsetof. Don't cast to size_t. Include <stddef.h>.
|
|
|
|
|
|
|
| |
PR 1935/cpukit
* score/include/rtems/score/smplock.h, score/src/smplock.c: SMP nested
count variable was being overritten when nested lock was taken more
than once.
|
|
|
|
|
|
| |
PR 1938/cpukit
* score/include/rtems/score/thread.h: Removed obsolete suspend_count
field from Thread_Control.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1932/cpukit
* cpu_asm.S: At some point the interrupt trap handler causes a
window-overflow and the window overflow trap handler crashes when
writing to 0. I found that this is because the WIM was bad, to the
window overflow handler uses a uninitialized stack pointer in a
window never used.
* g3=CWP, not WIM
* CWP is incremented by done_flushing no need doing that here also
* I see no reason to create an additional stack frame (save)
* Must turn off traps when updating WIM (maybe already done by caller?)
|
|
|
|
|
|
| |
PR 1931/cpukit
* score/src/percpu.c: The stack must be aligned to CPU alignment
requirement.
|
|
|
|
|
| |
* score/src/threadhandler.c: Don't undefine __USE_INIT_FINI__ for
the avr.
|
|
|
|
|
| |
PR 1918/cpukit
* cpu.c: Initialize context with cleared g4 register.
|
|
|
|
|
|
| |
PR 1922
* score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c:
EDF and CBS scheduler: extern declarations fix.
|
|
|
|
| |
* score/src/scheduleredfupdate.c: Remove unused var "the_node".
|
|
|
|
|
| |
* nios2-context-switch.S: Use small-data area access for
_Per_CPU_Information fields.
|
|
|
|
|
|
|
|
|
|
|
| |
* score/include/rtems/score/tod.h: Declare _TOD_Set_with_timestamp()
and _TOD_Get_as_timestamp().
* score/src/coretodset.c: Define _TOD_Set_with_timestamp().
* score/src/coretodget.c: Define _TOD_Get_as_timestamp().
* rtems/src/clockset.c: Use _TOD_Set_with_timestamp().
* score/include/rtems/score/timestamp64.h, score/src/ts64set.c:
Changed parameter types of _Timestamp64_Set().
* rtems/src/clocktodtoseconds.c: Year 2100 is not a leap year.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1914/cpukit
* score/src/timespecgreaterthan.c, score/src/ts64greaterthan.c:
Removed files.
* score/Makefile.am: Reflect changes above.
* score/include/rtems/score/timespec.h,
score/include/rtems/score/timestamp.h,
score/include/rtems/score/timestamp64.h, score/src/ts64addto.c,
score/src/ts64divide.c, score/src/ts64dividebyinteger.c,
score/src/ts64equalto.c, score/src/ts64getnanoseconds.c,
score/src/ts64getseconds.c, score/src/ts64lessthan.c,
score/src/ts64set.c, score/src/ts64settozero.c,
score/src/ts64subtract.c, score/src/ts64toticks.c,
score/src/ts64totimespec.c: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE. Removed
copy and paste.
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Select timestamp implementation.
|
| |
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Select timestamp implementation.
|
|
|
|
|
| |
PR 1923/testing
* score/src/schedulercbsgetexecutiontime.c: Improve coverage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* rtems/score/armv7m.h, armv7m-context-initialize.c,
armv7m-context-restore.c, armv7m-context-switch.c,
armv7m-exception-handler-get.c, armv7m-exception-handler-set.c,
armv7m-exception-priority-get.c, armv7m-exception-priority-set.c,
armv7m-initialize.c, armv7m-isr-dispatch.c, armv7m-isr-enter-leave.c,
armv7m-isr-level-get.c, armv7m-isr-level-set.c,
armv7m-isr-vector-install.c, armv7m-multitasking-start-stop.c: New
files.
* Makefile.am, preinstall.am: Reflect changes above.
* rtems/score/arm.h: Define ARM_MULTILIB_ARCH_V4 and
ARM_MULTILIB_ARCH_V7M.
* rtems/score/cpu.h, cpu_asm.S, cpu.c, arm_exc_abort.S,
arm_exc_handler_high.c, arm_exc_handler_low.S, arm_exc_interrupt.S:
Define CPU_HAS_HARDWARE_INTERRUPT_STACK to FALSE. Use
ARM_MULTILIB_ARCH_V4 and ARM_MULTILIB_ARCH_V7M.
|
|
|
|
|
|
|
| |
PR 1921/cpukit
* score/inline/rtems/score/thread.inl,
score/src/threadstartmultitasking.c: Allow CPU port to provide
optional multitasking start and stop.
|
|
|
|
|
|
| |
PR 1914/cpukit
* rtems/score/cpu.h: Document CPU_TIMESTAMP_USE_STRUCT_TIMESPEC,
CPU_TIMESTAMP_USE_INT64, and CPU_TIMESTAMP_USE_INT64_INLINE.
|
|
|
|
|
|
|
| |
PR 1916/testing
* rtems/src/ratemondelete.c, score/src/schedulercbsreleasejob.c,
score/src/scheduleredfupdate.c, score/src/scheduleredfyield.c: Rework
to improve coverage.
|
|
|
|
|
|
|
|
| |
* nios2-eic-il-low-level.S, nios2-eic-rsie-low-level.S: New files.
* Makefile.am: Reflect changes above.
* rtems/score/cpu.h, rtems/score/nios2-utility.h,
nios2-thread-dispatch-disabled.c, nios2-context-switch.S: Added
support for thread stack protection via the MPU.
|
|
|
|
| |
* rtems/score/arm.h: More CPU_MODEL_NAME variants.
|
|
|
|
|
| |
* score/include/rtems/score/thread.h: Ensure CBS builds with POSIX
disabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1906/cpukit
* sapi/Makefile.am, sapi/preinstall.am, sapi/include/confdefs.h,
score/Makefile.am, score/preinstall.am: Add the CBS (Constant
Bandwidth Server) scheduler. This is a complex scheduling policy
built atop of the EDF scheduler. Unlike other schedulers, this one
provides a user API and handles not only deadlines of tasks but also
claimed budget per period. The main aim of the scheduler is isolation
of tasks so that each task is guaranteed to meet all deadlines
regardless of how other tasks behave.
* sapi/include/rtems/cbs.h, sapi/inline/rtems/cbs.inl,
score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c,
score/src/schedulercbsattachthread.c,
score/src/schedulercbscleanup.c,
score/src/schedulercbscreateserver.c,
score/src/schedulercbsdestroyserver.c,
score/src/schedulercbsdetachthread.c,
score/src/schedulercbsgetapprovedbudget.c,
score/src/schedulercbsgetexecutiontime.c,
score/src/schedulercbsgetparameters.c,
score/src/schedulercbsgetremainingbudget.c,
score/src/schedulercbsgetserverid.c,
score/src/schedulercbsreleasejob.c,
score/src/schedulercbssetparameters.c,
score/src/schedulercbsunblock.c: New files.
|
|
|
|
|
| |
* rtems/score/cpu.h: Request cache alignment and small data area in
CPU_STRUCTURE_ALIGNMENT.
|
|
|
|
|
|
| |
PR 1898/cpukit
* score/include/rtems/score/percpu.h: Use CPU_STRUCTURE_ALIGNMENT for
_Per_CPU_Information.
|