summaryrefslogtreecommitdiffstats
path: root/cpukit/score (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-05-04Remove CVS-Ids.Ralf Corsépius18-71/+0
2012-04-24Simple SMP Scheduler - Fix typo which likely broke schedulingJoel Sherrill1-8/+31
2012-04-24score: Remove _Stack_Adjust_size()Sebastian Huber2-30/+0
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.
2012-04-20score: DocumentationSebastian Huber1-0/+3
2012-04-16no_cpu: replace no_cpu_isr with rtems_isrGedare Bloom1-6/+0
2012-04-16lm32: replace lm32_isr with rtems_isrGedare Bloom1-6/+0
2012-04-16m68k: replace m68k_isr with rtems_isrGedare Bloom1-2/+0
2012-04-11score: New macros and functionsSebastian Huber2-4/+23
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().
2012-04-11nios2: New functionsSebastian Huber2-0/+49
Add o _Nios2_MPU_Get_region_descriptor(), and o _Nios2_MPU_Set_region_registers().
2012-04-11nios2: API changeSebastian Huber3-4/+4
2012-04-11rbtree: New function _RBTree_Iterate_unprotected()Sebastian Huber3-1/+80
2012-04-11rbtree: PR1995: API changeSebastian Huber4-27/+156
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().
2012-04-07arm: New functionSebastian Huber4-4/+46
Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
2012-04-04PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett3-77/+34
2012-03-30Add Virtex4 and Virtex5 BSPsRic Claus1-1/+78
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.
2012-03-30NIOS2: Add MPU support functionsSebastian Huber4-21/+165
2012-03-30NIOS2: Fix outermost interrupt checkSebastian Huber1-1/+4
This fix is critical. The previous implementation leads to system corruption.
2012-03-30score/rbtree: Add const qualifierSebastian Huber3-32/+32
2012-03-30score/rbtree: C++ compatibilitySebastian Huber1-2/+3
2012-03-30score/scheduleredf: Simplify and fix warningSebastian Huber1-3/+3
2012-03-29PR1994: RBTree Compare Result ChangeGedare Bloom3-6/+25
Change the meaning of the compare result to simplify comparison of integer keys.
2012-03-27ARM: PR2042: Provide stub for ARMv6-MSebastian Huber2-8/+9
2012-03-24ARM: New define ARMV7M_EXCEPTION_PRIORITY_LOWESTSebastian Huber1-0/+2
2012-03-14PR2041: sparc64: vector number not included in CPU_Interrupt_frameGedare Bloom1-1/+2
Add the trap vector to the interrupt frame. Also rename the assembly macro that accesses the field to be consistent with similar macros.
2012-03-04score: Add _RBTree_Opposite_direction.Gedare Bloom2-8/+18
Add a red-black tree helper method to ease obtaining the direction opposite to the current direction. Useful for manipulating and traversing an rbtree.
2012-02-11Support Thumb 2.Sebastian Huber1-1/+4
2012-02-11ARMv7-M NVIC and MPU API changes.Sebastian Huber3-12/+248
2012-02-11ARMv7-M Systick API changeSebastian Huber1-1/+1
2012-02-10Added support functions for greedy heap allocationSebastian Huber3-1/+87
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.
2012-02-02Extended API to support iteration of const chains.Sebastian Huber1-6/+36
2012-02-01Remove all .cvsignore files.Joel Sherrill19-37/+0
2011-12-142011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-39/+29
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.
2011-12-132011-12-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-10/+6
* score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c: Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
2011-12-122011-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber3-1/+57
* score/src/wkstringduplicate.c: New file. * score/Makefile.am: Reflect change above. * score/include/rtems/score/wkspace.h: Declare _Workspace_String_duplicate().
2011-12-092011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-1/+5
* cpu.c: Make _defaultExcHandler static.
2011-12-092011-12-09 Jennifer AverettJennifer Averett2-1/+5
* cpu.c: Correct typo.
2011-12-062011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber6-26/+149
* 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().
2011-12-062011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2-0/+39
* rtems/powerpc/registers.h: More register defines.
2011-12-062011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius8-8/+8
* 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).
2011-12-032011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-8/+0
* score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send, _CORE_message_queue_Urgent):
2011-12-022011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+2
* score/src/rbtreeextract.c: Make _RBTree_Extract_validate_unprotected static. * score/src/rbtreeinsert.c: Make _RBTree_Validate_insert_unprotected static.
2011-12-022011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+1
* 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.
2011-11-302011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-1/+0
* score/src/objectinitializeinformation.c (_Objects_Initialize_information): Remove unused var "name_length".
2011-11-292011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2-21/+8
PR 1967/cpukit * score/include/rtems/score/object.h, score/src/objectinitializeinformation.c: Remove OBJECTS_NAME_ALIGNMENT and uses.
2011-11-282011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-6/+0
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.
2011-11-282011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2-24/+17
PR 1956/cpukit * rtems/score/cpu.h: Correct multiple alignment constants. Improve comments.
2011-11-282011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill1-15/+3
PR 1961/cpukit * score/src/coremsgsubmit.c: Close window caused by using message pending count rather than directly obtaining unused buffer.
2011-11-262011-11-26 Gedare Bloom <gedare@rtems.org>Gedare Bloom1-2/+5
PR 1963 * score/include/rtems/score/rbtree.h: Fix _RBTree_Container_of macro to use correct arithmetic.
2011-11-262011-11-26 Gedare Bloom <gedare@rtems.org>Gedare Bloom1-2/+2
PR 1964 * score/inline/rtems/score/chain.inl: Fix chain is first and last.
2011-11-20Typo.Sebastian Huber1-1/+1