| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The increase of the stack size by CPU_STACK_ALIGNMENT in
_Thread_Stack_Allocate() is disadvantageous. This may lead to a huge
over allocation for specialized stack allocators. The
CPU_STACK_ALIGNMENT is at most 16 on all current RTEMS CPU ports. The
mimimum stack size ensured by _Stack_Ensure_minimum() must be
considerable larger than this value, otherwise stack overflows will
likely occur. Thus the _Stack_Adjust_size() is also superfluous.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
New macros
o _Objects_Maximum_per_allocation(),
o rtems_resource_is_unlimited(), and
o rtems_resource_maximum_per_allocation().
New function
o _Objects_Is_unlimited().
|
|
|
|
|
|
| |
Add
o _Nios2_MPU_Get_region_descriptor(), and
o _Nios2_MPU_Set_region_registers().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New functions
o _RBTree_Next_unprotected(),
o _RBTree_Next(),
o _RBTree_Successor_unprotected(),
o _RBTree_Predecessor_unprotected(),
o rtems_rbtree_successor_unprotected(), and
o rtems_rbtree_predecessor_unprotected().
Change prototype of
o _RBTree_Successor(),
o _RBTree_Predecessor(),
o rtems_rbtree_successor(), and
o rtems_rbtree_predecessor().
|
|
|
|
|
| |
Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use
ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.
These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART. Thus the current console
driver just prints to a RAM buffer.
The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.
|
| |
|
|
|
|
|
| |
This fix is critical. The previous implementation leads to system
corruption.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Change the meaning of the compare result to simplify comparison of
integer keys.
|
| |
|
| |
|
|
|
|
|
| |
Add the trap vector to the interrupt frame. Also rename the assembly
macro that accesses the field to be consistent with similar macros.
|
|
|
|
|
| |
Add a red-black tree helper method to ease obtaining the direction opposite
to the current direction. Useful for manipulating and traversing an rbtree.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Various tests must check program paths that result due to failed memory
allocations from the heap. To avoid tinkering with internal heap
structures throughout the test code these functions should be used.
|
|\ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1924/cpukit
* sapi/include/rtems/config.h: Added stack_allocate_init_hook to
rtems_configuration_table.
* sapi/include/confdefs.h: Added CONFIGURE_TASK_STACK_FROM_ALLOCATOR
and CONFIGURE_TASK_STACK_ALLOCATOR_INIT defines. Set default stack
allocator and free hook to _Workspace_Allocate() and _Workspace_Free()
respectively.
* score/src/thread.c, score/src/threadstackallocate.c,
score/src/threadstackfree.c: Update due to API changes.
|
|
|
|
|
| |
* score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c:
Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
|
|
|
|
|
|
|
| |
* score/src/wkstringduplicate.c: New file.
* score/Makefile.am: Reflect change above.
* score/include/rtems/score/wkspace.h: Declare
_Workspace_String_duplicate().
|
|
|
|
| |
* cpu.c: Make _defaultExcHandler static.
|
|
|
|
| |
* cpu.c: Correct typo.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|