summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem: Add select() support for pipesSebastian Huber2012-04-122-12/+86
|
* Merge branch 'upstream'Sebastian Huber2012-04-122-7/+54
|\ | | | | | | | | | | Conflicts: cpukit/libblock/include/rtems/bdbuf.h cpukit/libblock/src/bdbuf.c
| * libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber2012-04-126-85/+165
| | | | | | | | | | | | | | | | The new function rtems_bdbuf_set_block_size() must be used to set the block size of a disk device. It will check if the block size is valid and set the new fields block_to_media_block_shift and bds_per_group of the rtems_disk_device structure. This helps to avoid complex arithmetic operations in the block device buffer get and read path.
| * libblock: Change error status to fatal errorSebastian Huber2012-04-122-24/+47
| | | | | | | | | | Calling the bdbuf API functions in the not configured state is now a fatal error.
| * libblock: Use unprotected chain operationsSebastian Huber2012-04-121-4/+4
| | | | | | | | The transfer chain is accessed by at most one thread at a time.
| * libblock: Use unprotected chain operationsSebastian Huber2012-04-121-17/+17
| | | | | | | | The chains are protected by the bdbuf cache lock.
* | Merge branch 'upstream'Sebastian Huber2012-04-114-5/+30
|\|
| * score: New macros and functionsSebastian Huber2012-04-114-5/+30
| | | | | | | | | | | | | | | | | | | | 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().
| * nios2: New functionsSebastian Huber2012-04-112-0/+49
| | | | | | | | | | | | Add o _Nios2_MPU_Get_region_descriptor(), and o _Nios2_MPU_Set_region_registers().
| * nios2: API changeSebastian Huber2012-04-113-4/+4
| |
| * rbheap: New filesSebastian Huber2012-04-114-1/+413
| | | | | | | | | | | | | | In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.
| * rbtree: New function _RBTree_Iterate_unprotected()Sebastian Huber2012-04-113-1/+80
| |
| * rbtree: PR1995: API changeSebastian Huber2012-04-115-39/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
| * arm: New functionSebastian Huber2012-04-074-4/+46
| | | | | | | | | | Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
| * PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett2012-04-043-77/+34
| |
* | nios2: New functionsSebastian Huber2012-04-112-0/+49
| | | | | | | | | | | | Add o _Nios2_MPU_Get_region_descriptor(), and o _Nios2_MPU_Set_region_registers().
* | nios2: API changeSebastian Huber2012-04-113-4/+4
| |
* | rbheap: Use unprotected tree operationSebastian Huber2012-04-111-1/+1
| |
* | rbheap: New filesSebastian Huber2012-04-104-1/+413
| | | | | | | | | | | | | | In the Red-Black Tree Heap the administration data structures are not contained in the managed memory area. This can be used for example in a task stack allocator which protects the task stacks from access by other tasks.
* | rbtree: New function _RBTree_Iterate_unprotected()Sebastian Huber2012-04-103-1/+80
| |
* | rbtree: PR1995: API changeSebastian Huber2012-04-105-39/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | arm: New functionSebastian Huber2012-04-104-4/+46
| | | | | | | | | | Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
* | PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett2012-04-103-77/+34
| |
* | Filesystem: IO control based select() supportSebastian Huber2012-04-033-4/+124
| | | | | | | | | | This is a hack. The Termios write facility has a severe issue with the lacking support of non-blocking writes.
* | Merge branch 'upstream'Sebastian Huber2012-04-034-85/+58
|\|
| * networking: socket to/from file descriptorSebastian Huber2012-04-034-85/+58
| | | | | | | | | | | | | | | | | | | | o Move rtems_bsdnet_fdToSocket() and rtems_bsdnet_makeFdForSocket() to "cpukit/libnetworking/rtems/rtems_syscall.c". o The rtems_bsdnet_makeFdForSocket() function is now static. o Check in rtems_bsdnet_fdToSocket() function that the file descriptor uses the socket handlers, otherwise an error status will be returned and errno set to ENOTSOCK. o New test libtests/syscall01.
* | Merge branch 'upstream'Sebastian Huber2012-04-033-6/+4
|\|
| * Filesystem: Change type of ioctl_returnSebastian Huber2012-04-033-6/+4
| | | | | | | | | | Change the ioctl_return type of rtems_libio_ioctl_args_t to match the ioctl() return value type.
* | PR2040: libblock: Fix recycle destination updateSebastian Huber2012-04-021-8/+7
| | | | | | | | | | Check the availablity of a recycle destination segment only when it is necessary to avoid missing resycle source segment erasures.
* | PR2040: libblock: Add starvation thresholdSebastian Huber2012-04-021-1/+15
| | | | | | | | | | | | Do not use the unavailable block count as the erased blocks starvation threshold. Use instead the block count of the largest segment. This improves the starvation resolution gain of available blocks.
* | libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber2012-04-026-83/+159
| | | | | | | | | | | | | | | | The new function rtems_bdbuf_set_block_size() must be used to set the block size of a disk device. It will check if the block size is valid and set the new fields block_to_media_block_shift and bds_per_group of the rtems_disk_device structure. This helps to avoid complex arithmetic operations in the block device buffer get and read path.
* | libblock: Change error status to fatal errorSebastian Huber2012-04-022-20/+0
| | | | | | | | | | Calling the bdbuf API functions in the not configured state is now a fatal error.
* | libblock: Use unprotected chain operationsSebastian Huber2012-04-021-4/+4
| | | | | | | | The transfer chain is accessed by at most one thread at a time.
* | libblock: Use unprotected chain operationsSebastian Huber2012-04-021-17/+17
| | | | | | | | The chains are protected by the bdbuf cache lock.
* | Google C++ Testing Framework 1.6.0.Sebastian Huber2012-04-0236-0/+29047
|/
* PR 2021 - mdump address problem with volatileRic Claus2012-03-301-9/+16
|
* Add Virtex4 and Virtex5 BSPsRic Claus2012-03-301-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.
* NIOS2: Add MPU support functionsSebastian Huber2012-03-304-21/+165
|
* NIOS2: Fix outermost interrupt checkSebastian Huber2012-03-301-1/+4
| | | | | This fix is critical. The previous implementation leads to system corruption.
* score/rbtree: Add const qualifierSebastian Huber2012-03-304-45/+45
|
* score/rbtree: C++ compatibilitySebastian Huber2012-03-301-2/+3
|
* score/scheduleredf: Simplify and fix warningSebastian Huber2012-03-301-3/+3
|
* PR1994: RBTree Compare Result ChangeGedare Bloom2012-03-293-6/+25
| | | | | Change the meaning of the compare result to simplify comparison of integer keys.
* confdefs: Add declaration for unlimited objects.Gedare Bloom2012-03-271-1/+107
| | | | | | | | | Adds to confdefs a way to specify rtems_resource_unlimited for classic and posix objects using a new macro CONFIGURE_OBJECTS_UNLIMITED. Use CONFIGURE_OBJECTS_ALLOCATION_SIZE to declare the allocation size for extending the set of objects at runtime. Updates the unlimited sample to demonstrate how to use the new macros. Also adds new documentation in the C User's Manual regarding configuring with unlimited objects.
* ARM: PR2042: Provide stub for ARMv6-MSebastian Huber2012-03-272-8/+9
|
* ARM: New define ARMV7M_EXCEPTION_PRIORITY_LOWESTSebastian Huber2012-03-241-0/+2
|
* PR2041: sparc64: vector number not included in CPU_Interrupt_frameGedare Bloom2012-03-141-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.
* PR2040: libblock: Flash disk starvations statisticSebastian Huber2012-03-141-2/+10
|
* PR2040: libblock: Flash disk documentationSebastian Huber2012-03-142-106/+122
|
* PR2040: libblock: Fix return statusSebastian Huber2012-03-141-3/+3
|