summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* m68k: replace m68k_isr with rtems_isrGedare Bloom2012-04-1636-65/+57
|
* libblock: PR2040: Fix recycle destination updateSebastian Huber2012-04-161-8/+7
| | | | | Check the availablity of a recycle destination segment only when it is necessary to avoid missing resycle source segment erasures.
* libblock: PR2040: Add starvation thresholdSebastian Huber2012-04-161-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.
* PR1908: QoS library for CBS schedulerPetr Benes2012-04-159-0/+814
| | | | Add the lipqos and sptest.
* PR1908: QoS library for CBS schedulerPetr Benes2012-04-154-1/+4
| | | | | | | Since the CBS scheduler is inspired by AQuoSA project for Linux, additional API (qreslib) compliant with Linux has been created. Sptest for qreslib included.
* bsp/stm32f4: API changesSebastian Huber2012-04-159-83/+174
|
* PR 1912: Add Scheduler DocumentationPetr Benes2012-04-151-0/+646
| | | | Add new file for CBS documentation.
* PR 1912: Add Scheduler DocumentationPetr Benes2012-04-155-4/+13
| | | | | | 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.
* rbtree: PR2046: Replace rtems_rbtree_uniqueSebastian Huber2012-04-133-22/+6
|
* bsp/stm32f4: Add IO and RCCSebastian Huber2012-04-129-55/+487
|
* 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.
* doc: Document new macrosSebastian Huber2012-04-111-0/+7
|
* 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-1110-1/+1018
| | | | | | | 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-116-41/+190
| | | | | | | | | | | | | | | | 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().
* PR2052: LEON3: fix open_eth interrupt initialization bugDaniel Hellstrom2012-04-101-4/+4
| | | | | | | 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>
* bsp/stm32f4: New BSPSebastian Huber2012-04-0717-0/+1085
|
* bsps/arm: Add BSP_ARMV7M_SYSTICK_PRIORITYSebastian Huber2012-04-073-5/+6
|
* bsps/arm: Add BSP_ARMV7M_IRQ_PRIORITY_DEFAULTSebastian Huber2012-04-073-2/+6
|
* bsps: Update due to API changesSebastian Huber2012-04-072-7/+7
|
* arm: New functionSebastian Huber2012-04-074-4/+46
| | | | | Add and use function _ARMV7M_Set_exception_priority_and_handler(). Use ARMV7M_EXCEPTION_PRIORITY_LOWEST define.
* GRETH: use shared-irq service instead of BSP specific set_vec()Daniel Hellstrom2012-04-063-28/+17
| | | | | | | | | | 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>
* SMC91111: updated to use shared IRQ serviceDaniel Hellstrom2012-04-064-20/+15
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3 - Fix spacingJoel Sherrill2012-04-062-2/+2
|
* LEON3: added IRQAMP supportDaniel Hellstrom2012-04-062-3/+18
|
* LEON3: halt boot if IRQ controller not foundDaniel Hellstrom2012-04-061-4/+9
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* SPARC BSPs: implemented shared-irq using libbsp/shared layerDaniel Hellstrom2012-04-0623-4/+634
| | | | | | | | | | | | | | | 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
* LEON3: console use register pointers instead of UART indexesDaniel Hellstrom2012-04-052-33/+33
| | | | Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
* LEON3: cleanup console UART indexing handlingDaniel Hellstrom2012-04-052-61/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Add MIPS/Malta BSP.Jennifer Averett2012-04-0425-0/+3270
|
* PR 1993 - Convert MIPS to PIC IRQ modelJennifer Averett2012-04-0480-809/+2901
|
* bsp/mpc55xx: Add and use chip featuresSebastian Huber2012-04-032-6/+11
| | | | Add defines MPC55XX_HAS_SIU and MPC55XX_HAS_SIU_LITE.
* networking: socket to/from file descriptorSebastian Huber2012-04-0310-85/+207
| | | | | | | | | | 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.
* 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.
* bsp/tqm8xx: Install header file <bsp/irq-info.h>Sebastian Huber2012-04-022-0/+5
|
* bsp/qemuppc: Install header file <bsp/irq-info.h>Sebastian Huber2012-04-022-1/+6
|
* bsps: Fix for clock driverSebastian Huber2012-04-021-27/+0
| | | | | | 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.
* bsp/gen83xx: Fix console driver configurationSebastian Huber2012-04-021-1/+1
|
* bsp/gen83xx: Removed fileSebastian Huber2012-04-021-57/+0
|
* bsp/gen83xx: RegenerateSebastian Huber2012-04-021-36/+40
|
* bsps: More accurate PowerPC clock driverSebastian Huber2012-04-027-20/+47
| | | | | | The clock driver used previously the bsp_clicks_per_usec value. For a 33333333Hz time base frequency this leads to a relative error of one per cent for example due to integer truncation.
* bsp/gen83xx: Support cache BSP optionsSebastian Huber2012-04-022-3/+6
|
* bsp/gen83xx: Support for MPC830XSebastian Huber2012-04-021-1/+5
|
* bsp/gen83xx: Add sections for BSD supportSebastian Huber2012-04-021-0/+10
|