summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-16libblock: PR2040: Fix recycle destination updatesetvecSebastian Huber
Check the availablity of a recycle destination segment only when it is necessary to avoid missing resycle source segment erasures.
2012-04-16libblock: PR2040: Add starvation thresholdSebastian Huber
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.
2012-04-16PR1908: QoS library for CBS schedulerPetr Benes
Add the lipqos and sptest.
2012-04-16PR1908: QoS library for CBS schedulerPetr Benes
Since the CBS scheduler is inspired by AQuoSA project for Linux, additional API (qreslib) compliant with Linux has been created. Sptest for qreslib included.
2012-04-16bsp/stm32f4: API changesSebastian Huber
2012-04-15bsps: rename set_vector to bsp_set_vectorGedare Bloom
2012-04-15bsps: add macros for set_vector RAW and RTEMS typesGedare Bloom
2012-04-15bsps: create shared setvec.h for set_vector prototypesGedare Bloom
2012-04-15lm32: use shared setvec.cGedare Bloom
2012-04-15m68k: use shared setvec.cGedare Bloom
2012-04-15lm32: replace lm32_isr with rtems_isrGedare Bloom
2012-04-15m68k: replace m68k_isr with rtems_isrGedare Bloom
2012-04-15PR 1912: Add Scheduler DocumentationPetr Benes
Add new file for CBS documentation.
2012-04-15PR 1912: Add Scheduler DocumentationPetr Benes
Adds documentation on the scheduler options and scheduler selection to the User's Manual to reflect changes made in the development of pluggable scheduling with EDF and CBS schedulers.
2012-04-13rbtree: PR2046: Replace rtems_rbtree_uniqueSebastian Huber
2012-04-12bsp/stm32f4: Add IO and RCCSebastian Huber
2012-04-12libblock: Add rtems_bdbuf_set_block_size()Sebastian Huber
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.
2012-04-12libblock: Change error status to fatal errorSebastian Huber
Calling the bdbuf API functions in the not configured state is now a fatal error.
2012-04-12libblock: Use unprotected chain operationsSebastian Huber
The transfer chain is accessed by at most one thread at a time.
2012-04-12libblock: Use unprotected chain operationsSebastian Huber
The chains are protected by the bdbuf cache lock.
2012-04-11doc: Document new macrosSebastian Huber
2012-04-11score: New macros and functionsSebastian Huber
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 Huber
Add o _Nios2_MPU_Get_region_descriptor(), and o _Nios2_MPU_Set_region_registers().
2012-04-11nios2: API changeSebastian Huber
2012-04-11rbheap: New filesSebastian Huber
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.
2012-04-11rbtree: New function _RBTree_Iterate_unprotected()Sebastian Huber
2012-04-11rbtree: PR1995: API changeSebastian Huber
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-10PR2052: LEON3: fix open_eth interrupt initialization bugDaniel Hellstrom
Fixed a bug where the vector number is used to clean and unmask the IRQ at the IRQ controller, the irq number must be used. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-07bsp/stm32f4: New BSPSebastian Huber
2012-04-07bsps/arm: Add BSP_ARMV7M_SYSTICK_PRIORITYSebastian Huber
2012-04-07bsps/arm: Add BSP_ARMV7M_IRQ_PRIORITY_DEFAULTSebastian Huber
2012-04-07bsps: Update due to API changesSebastian Huber
2012-04-07arm: New functionSebastian Huber
Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
2012-04-06GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom
The ISR code is updated to use argument instead of global greth structure, now that the greth private is available in the ISR. The shared-irq routines will unmask the IRQ, so the forced LEON3 BSP unmask/clear IRQ is removed. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-06SMC91111: updated to use shared IRQ serviceDaniel Hellstrom
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-06LEON3 - Fix spacingJoel Sherrill
2012-04-06LEON3: added IRQAMP supportDaniel Hellstrom
2012-04-06LEON3: halt boot if IRQ controller not foundDaniel Hellstrom
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-06SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom
The implementation use IRQ number instead of vector number since some IRQs does not have a unique vector, for example the extended interrupts all enter the same trap vector entry. Added support for the LEON3 extended interrupt controller when using the shared IRQ layer. ERC32 patches untested. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> Regenerate
2012-04-05LEON3: console use register pointers instead of UART indexesDaniel Hellstrom
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-05LEON3: cleanup console UART indexing handlingDaniel Hellstrom
The UART indexing was rather a mess when MP was enabled. The changes introduces two weak variables syscon_uart_index and debug_uart_index so that the user can override the default system debug console (printk) and system console UART (/dev/console). The two weak variables is updated on boot to reflect the "real" UART index. MINOR DEVICE-FS-NAME UART 0 /dev/console Default /dev/console_a, user selectable 1 /dev/console_a APBUART[0] (missing by default) 2 /dev/console_b APBUART[1] ... /dev/console_a is by default renamed /dev/console and assigned minor=0, but user can select /dev/console_['a'+N] to be renamed to /dev/console by setting syscon_uart_index=N. On a MP system the console renamed to /dev/console is selected by CPU index (LEON3_Cpu_Index). /dev/console_['a' + LEON3_Cpu_Index] is renamed unless overrided. Resource sharing is performed by the user, one should not open/access a console that another OS instance uses. This patch also moves the initialization of the UART to the open() call, note that before APBUART[0] was always enabled as debug uart even on MP systems. The debug UART is initialized at boot time. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
2012-04-04Add MIPS/Malta BSP.Jennifer Averett
2012-04-04PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett
2012-04-03bsp/mpc55xx: Add and use chip featuresSebastian Huber
Add defines MPC55XX_HAS_SIU and MPC55XX_HAS_SIU_LITE.
2012-04-03networking: socket to/from file descriptorSebastian Huber
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.
2012-04-03Filesystem: Change type of ioctl_returnSebastian Huber
Change the ioctl_return type of rtems_libio_ioctl_args_t to match the ioctl() return value type.
2012-04-02bsp/tqm8xx: Install header file <bsp/irq-info.h>Sebastian Huber
2012-04-02bsp/qemuppc: Install header file <bsp/irq-info.h>Sebastian Huber
2012-04-02bsps: Fix for clock driverSebastian Huber
Do not use the e300 core decrementer auto-reload feature. We have to use the normal decrementer handler since otherwise it is impossible to pass test sptests/spnsext01.
2012-04-02bsp/gen83xx: Fix console driver configurationSebastian Huber