summaryrefslogtreecommitdiffstats
path: root/cpukit/score (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Support Thumb 2.Sebastian Huber2012-02-111-1/+4
|
* ARMv7-M NVIC and MPU API changes.Sebastian Huber2012-02-113-12/+248
|
* ARMv7-M Systick API changeSebastian Huber2012-02-111-1/+1
|
* Added support functions for greedy heap allocationSebastian Huber2012-02-103-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.
* Merge remote branch 'remotes/origin/gitignore'Joel Sherrill2012-02-0219-37/+0
|\
| * Remove all .cvsignore files.Joel Sherrill2012-02-0119-37/+0
| |
* | Extended API to support iteration of const chains.Sebastian Huber2012-02-021-6/+36
|/
* 2011-12-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-143-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-13 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-132-10/+6
| | | | | * score/include/rtems/score/wkspace.h, score/src/wkstringduplicate.c: Changed parameter of _Workspace_String_duplicate() to avoid strnlen().
* 2011-12-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-123-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-09 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-092-1/+5
| | | | * cpu.c: Make _defaultExcHandler static.
* 2011-12-09 Jennifer AverettJennifer Averett2011-12-092-1/+5
| | | | * cpu.c: Correct typo.
* 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-066-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-06 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-12-062-0/+39
| | | | * rtems/powerpc/registers.h: More register defines.
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-068-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-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-031-8/+0
| | | | | * score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send, _CORE_message_queue_Urgent):
* 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-022-2/+2
| | | | | | | * score/src/rbtreeextract.c: Make _RBTree_Extract_validate_unprotected static. * score/src/rbtreeinsert.c: Make _RBTree_Validate_insert_unprotected static.
* 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-021-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-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-301-1/+0
| | | | | * score/src/objectinitializeinformation.c (_Objects_Initialize_information): Remove unused var "name_length".
* 2011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-11-292-21/+8
| | | | | | | PR 1967/cpukit * score/include/rtems/score/object.h, score/src/objectinitializeinformation.c: Remove OBJECTS_NAME_ALIGNMENT and uses.
* 2011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-11-281-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-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-282-24/+17
| | | | | | PR 1956/cpukit * rtems/score/cpu.h: Correct multiple alignment constants. Improve comments.
* 2011-11-28 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-281-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-26 Gedare Bloom <gedare@rtems.org>Gedare Bloom2011-11-261-2/+5
| | | | | | PR 1963 * score/include/rtems/score/rbtree.h: Fix _RBTree_Container_of macro to use correct arithmetic.
* 2011-11-26 Gedare Bloom <gedare@rtems.org>Gedare Bloom2011-11-261-2/+2
| | | | | PR 1964 * score/inline/rtems/score/chain.inl: Fix chain is first and last.
* Typo.Sebastian Huber2011-11-201-1/+1
|
* 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-192-0/+7
| | | | | | PR 1965/cpukit * rtems/score/arm.h: Select ARMv4 multilib implementation for __ARM_ARCH_7A__.
* 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-101-4/+4
| | | | | | | | | | | | | 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.
* Move entries to correct file.Joel Sherrill2011-11-091-0/+12
|
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-091-3/+3
| | | | | PR 1954/cpukit * score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-092-3/+3
| | | | | | | PR 1957/cpukit * score/include/rtems/score/coremutex.h, score/inline/rtems/score/threadmp.inl: Add parentheses to protect macro arguments.
* 2011-11-09 Werner Almesberger <werner@almesberger.net>Joel Sherrill2011-11-092-2/+9
| | | | | PR 1955/cpukit * rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
* 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-072-1/+4
| | | | * rtems/score/cpu.h: Removed unused register_pc from Context_Control.
* 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-072-0/+8
| | | | | | | PR 1949/cpukit PR 1950/cpukit * rtems/score/arm.h: Select ARMv4 multilib implementation for __ARM_ARCH_6J__.
* 2011-10-24 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-241-1/+1
| | | | | | PR 1942/cpukit: * score/src/schedulercbsdetachthread.c: Move initialization of var "sched_info" down (Avoid it being used uninitialized).
* 2011-10-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-218-2/+409
| | | | | | | | * 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).
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-2/+3
| | | | | * score/include/rtems/score/rbtree.h (_RBTree_Container_of): Use offsetof. Don't cast to size_t. Include <stddef.h>.
* 2011-10-17 Daniel Hellstrom <daniel@gaisler.com>Jennifer Averett2011-10-172-2/+6
| | | | | | | 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.
* 2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-171-2/+0
| | | | | | PR 1938/cpukit * score/include/rtems/score/thread.h: Removed obsolete suspend_count field from Thread_Control.
* 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2011-10-072-11/+23
| | | | | | | | | | | | | 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?)
* 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>Joel Sherrill2011-10-071-1/+1
| | | | | | PR 1931/cpukit * score/src/percpu.c: The stack must be aligned to CPU alignment requirement.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-5/+0
| | | | | * score/src/threadhandler.c: Don't undefine __USE_INIT_FINI__ for the avr.
* 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>Joel Sherrill2011-10-062-0/+8
| | | | | PR 1918/cpukit * cpu.c: Initialize context with cleared g4 register.
* 2011-10-04 Sebastian Huber <sebastian.huber@embedded-brains.de>Jennifer Averett2011-10-042-1/+3
| | | | | | PR 1922 * score/include/rtems/score/schedulercbs.h, score/src/schedulercbs.c: EDF and CBS scheduler: extern declarations fix.
* 2011-10-03 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-031-1/+0
| | | | * score/src/scheduleredfupdate.c: Remove unused var "the_node".
* 2011-09-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-302-4/+7
| | | | | * nios2-context-switch.S: Use small-data area access for _Per_CPU_Information fields.
* 2011-09-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-295-60/+55
| | | | | | | | | | | * 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.
* 2011-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-2818-346/+205
| | | | | | | | | | | | | | | | | | 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.
* 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-2728-0/+97
| | | | | PR 1914/cpukit * rtems/score/cpu.h: Select timestamp implementation.
* Typo.Sebastian Huber2011-09-271-1/+1
|