summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libchip/ata: Use rtems_blkdev_create()Sebastian Huber2018-08-072-48/+13
| | | | Update #3358.
* libblock: Use rtems_blkdev_create_partition()Sebastian Huber2018-08-072-16/+2
| | | | Update #3358.
* libtests/block15: Use rtems_blkdev_create()Sebastian Huber2018-08-071-18/+24
| | | | Update #3358.
* libtests/block14: Use rtems_blkdev_create()Sebastian Huber2018-08-071-19/+25
| | | | Update #3358.
* libtests/block13: Use rtems_blkdev_create()Sebastian Huber2018-08-071-19/+25
| | | | Update #3358.
* libtests/block12: Use rtems_blkdev_create()Sebastian Huber2018-08-071-18/+25
| | | | Update #3358.
* libtests/block10: Use rtems_blkdev_create()Sebastian Huber2018-08-071-41/+28
| | | | Update #3358.
* libtests/block09: Use rtems_blkdev_create()Sebastian Huber2018-08-071-40/+25
| | | | Update #3358.
* libtests/block08: Use rtems_blkdev_create()Sebastian Huber2018-08-074-77/+27
| | | | Update #3358.
* libtests/block06: Use rtems_blkdev_create()Sebastian Huber2018-08-072-555/+499
| | | | Update #3358.
* libtests/block05: Avoid uninitialized variableSebastian Huber2018-08-071-1/+1
| | | | Update #3358.
* bsp/smdk2410: Use rtems_blkdev_create()Sebastian Huber2018-08-071-11/+3
| | | | Update #3358.
* bsps/lm32: Use rtems_blkdev_create()Sebastian Huber2018-08-071-33/+3
| | | | Update #3358.
* flashdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-072-55/+23
| | | | Update #3358.
* nvdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-073-110/+22
| | | | Update #3358.
* ramdisk: Use rtems_blkdev_create()Sebastian Huber2018-08-0713-236/+181
| | | | Update #3358.
* rfs: Remove erroneous call of rtems_disk_release()Sebastian Huber2018-08-071-1/+0
| | | | | | | The function rtems_rfs_buffer_sync() erroneously calls rtems_disk_release(). This screws up the reference counting of the disk. Close #3484.
* bsps: Fix the generic IRQ supportSebastian Huber2018-08-034-17/+48
| | | | | | | | | The genmcf548x partly uses is own implementation of the interrupt extension API for libbsd support. This patch is a part of the BSP source reorganization. Update #3285.
* score: Remove superfluous semicolonSebastian Huber2018-08-031-1/+1
| | | | | | | | | | This avoids warnings like this: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] RTEMS_DECLARE_GLOBAL_SYMBOL( abc ); ^ Update #3459.
* rtems: Relax partition buffer area alignmentSebastian Huber2018-08-021-2/+2
| | | | | | | | | | | | | | | The partition buffer area alignment required by rtems_partition_create() was too strict since it was checked via _Addresses_Is_aligned() which uses CPU_ALIGNMENT. The CPU_ALIGNMENT must take long double and vector data type alignment requirements into account. For the partition maintenance only pointer alignment is required (Chain_Node, which consists of two pointers). The user should ensure that its partition buffer area is suitable for the items it wants to manage. The user should not be burdened to provide buffers with the maximum architecture alignment, e.g. why need a 16 byte aligned buffer if you want to manage items with 4 byte integers only? Update #3482.
* score: Remove CPU_PARTITION_ALIGNMENTSebastian Huber2018-08-0221-228/+23
| | | | | | | | | | | | | | Use the CPU_SIZEOF_POINTER alignment instead. The internal alignment requirement is defined by the use of Chain_Node (consisting of two pointers) to manage the free chain of partitions. It seems that previously the condition CPU_PARTITION_ALIGNMENT >= sizeof(Chain_Node) was true on all CPU ports. Now, we need an additional check. Update #3482.
* bsp/riscv: Add missing BSP variantSebastian Huber2018-08-021-0/+9
| | | | Update #3433.
* bsp/riscv: Fix build with RTEMS_SMP undefinedSebastian Huber2018-08-023-12/+10
| | | | Update #3433.
* riscv: Fix CPU_ALIGNMENTSebastian Huber2018-08-021-1/+3
| | | | Update #3433.
* bsp/riscv: Fix a synchronization issue for PLICSebastian Huber2018-08-021-0/+8
| | | | Update #3433.
* bsp/riscv: Remove unused variableSebastian Huber2018-08-011-4/+0
| | | | Update #3433.
* bsp/riscv: Add NS16750 support to console driverSebastian Huber2018-08-011-36/+74
| | | | Update #3433.
* serial/ns16550: Precision clock synthesizerSebastian Huber2018-08-012-13/+68
| | | | | | Set the FIFO control register while DLAB == 1 in the line control register. At least on the QorIQ T4240 the driver still works with the re-ordered FIFO control register access.
* serial/ns16550: Use standard register namesSebastian Huber2018-08-011-4/+4
| | | | | Use the standard register names for the divisor latches. This makes it easier to compare the code with other driver implementations.
* bsp/riscv: Initialize FPU depending on ISASebastian Huber2018-08-011-1/+4
| | | | | | Initialize fcsr to zero for a defined rounding mode. Update #3433.
* bsp/riscv: Fix clock driverSebastian Huber2018-08-011-17/+49
| | | | | | Do not assume that mtime is zero at boot time. Update #3433.
* bsps/sparc: Fix typo in start.SSebastian Huber2018-08-011-1/+1
| | | | | Fix typo in start.S introduced by 4678d1a8b0e74a12809122ef071324c99e78d7ff.
* libtests: Use CONFIGURE_INIT_TASK_TABLE_SIZESebastian Huber2018-07-307-28/+17
| | | | | | | | Using CONFIGURE_MINIMUM_TASK_STACK_SIZE increases also the interrupt stack size. This is an issue on some BSPs. Use CONFIGURE_INIT_TASK_TABLE_SIZE instead. Update #3433.
* confdefs: Fix uniprocessor configurationSebastian Huber2018-07-302-43/+44
| | | | | | | | | | Introduce a new internal define _CONFIGURE_MAXIMUM_PROCESSORS and ensure that it is _CONFIGURE_MAXIMUM_PROCESSORS > 1 only in SMP configurations. This avoids to allocate data structures for non-existing additional processors in uniprocessor configuration. Update #3459.
* bsp/riscv: Fix inter-processor interruptsSebastian Huber2018-07-271-1/+7
| | | | | | | | The previous version worked only on a patched Qemu. Writes to mip are illegal according to the The RISC-V Instruction Set Manual, Volume II: Privileged Architecture, Privileged Architecture Version 1.10. Update #3433.
* riscv: Rework CPU counter supportSebastian Huber2018-07-275-9/+109
| | | | Update #3433.
* samples/minimum: Use default interrupt stack sizeSebastian Huber2018-07-251-0/+10
| | | | Update #3433.
* bsp/riscv: Use interrupt driven NS16550 driverSebastian Huber2018-07-252-2/+11
| | | | Update #3433.
* bsp/riscv: Add PLIC supportSebastian Huber2018-07-255-3/+263
| | | | Update #3433.
* bsp/riscv: Add simple SMP support to clock driverSebastian Huber2018-07-251-0/+2
| | | | | | This is a hack. The clock interrupt should be handled by each hart. Update #3433.
* bsp/riscv: Use CPU counter btimerSebastian Huber2018-07-252-69/+1
| | | | Update #3433.
* bsp/riscv: Add basic SMP startupSebastian Huber2018-07-258-28/+299
| | | | Update #3433.
* riscv: Add CLINT and PLIC supportSebastian Huber2018-07-254-67/+49
| | | | | | The CLINT and PLIC need some per-processor state. Update #3433.
* riscv: Use wfi instruction for idle taskSebastian Huber2018-07-252-12/+3
| | | | Update #3433.
* bsps/riscv: Update linker-symbols.hSebastian Huber2018-07-252-16/+16
| | | | Update #3433.
* bsp/riscv: Add reset via for SiFive Test FinisherSebastian Huber2018-07-251-5/+18
| | | | Update #3433.
* bsp/riscv: Add and use riscv_fdt_get_address()Sebastian Huber2018-07-255-25/+81
| | | | Update #3433.
* bsp/riscv: Disable HTIF support by defaultSebastian Huber2018-07-251-2/+2
| | | | | | The HTIF is a legacy machinery. Update #3433.
* bsp/riscv: Fix HTIF warningsSebastian Huber2018-07-255-5/+62
| | | | Update #3433.
* riscv: Rework exception handlingSebastian Huber2018-07-2515-170/+120
| | | | | | | | | | | Remove _CPU_ISR_install_raw_handler() and _CPU_ISR_install_vector() functions. Applications can install an exception handler via the fatal error handler to handle synchronous exceptions. Handle interrupt exceptions via _RISCV_Interrupt_dispatch() which must be provided by the BSP. Update #3433.