summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove coverhd.hSebastian Huber2017-11-241-107/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* bsps: Add BSP_VERBOSE_FATAL_EXTENSIONSebastian Huber2017-11-221-1/+19
| | | | | | | | Add BSP_VERBOSE_FATAL_EXTENSION to RTEMS_BSP_CLEANUP_OPTIONS to optionally print the RTEMS version, the fatal source and the fatal code in the shared bsp_fatal_extension(). Close #3248.
* powerpc: Replace BSP_panic() with rtems_panic()Sebastian Huber2017-11-222-7/+7
| | | | | | | | Due to a new rtems_panic() implementation, it is possible to replace the PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic() implementations. Close #3245.
* bsps: Use a state in default getentropy()Sebastian Huber2017-11-201-25/+40
| | | | | | | | | Use the boot time to initialize the state. Use the state, the current CPU counter and a very simple pseudo random number generator for getentropy(). At least, this enables to pass the test "GETENTROPY 1" on ERC32. Update #3239.
* getentropy: Add cpu counter based implementation.Christian Mauderer2017-11-171-0/+54
| | | | Update #3239.
* bsp/imx: Add imx_get_irq_of_node()Sebastian Huber2017-10-021-2/+1
| | | | Update #3090.
* bsps: Generalize bsp_fdt_map_intr()Sebastian Huber2017-09-221-2/+3
| | | | | | | Pass all interrupt cells to bsp_fdt_map_intr() since some platforms use an array to describe an interrupt. Update #3090.
* bsps: Clock_driver_support_install_isr()Sebastian Huber2017-09-182-7/+8
| | | | | | | Remove old ISR parameter since is not used by the clock driver shell. Make an implementation optional. Update #3139.
* libio: Add rtems_libio_iop_is_readable()Sebastian Huber2017-09-151-2/+2
| | | | Update #3132.
* Simplify and unify BSP_output_charSebastian Huber2017-09-122-8/+0
| | | | | | | | The BSP_output_char should output a char and not mingle with high level processing, e.g. '\n' to '\r\n' translation. Move this translation to rtems_putc(). Remove it from all the BSP_output_char implementations. Close #3122.
* Include missing <string.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2133.
* bsps: Fix integer types in bsp_fdt_copy()Sebastian Huber2017-08-221-3/+3
| | | | Update #3082.
* bsps: Add BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREASebastian Huber2017-08-221-2/+2
|
* bsps: Fix integer to/from pointerSebastian Huber2017-08-221-2/+2
| | | | Update #3082.
* bsp/imx: New BSPSebastian Huber2017-08-041-1/+5
| | | | Update #3090.
* bsps/arm: Add ARMv7-AR Generic Timer clock driverSebastian Huber2017-08-041-0/+1
| | | | Update #3090.
* Optional Clock_driver_support_shutdown_hardware()Sebastian Huber2017-08-041-0/+6
| | | | | Make Clock_driver_support_shutdown_hardware() optional. This avoids the atexit() support on memory constrained targets.
* bsps: Fix warningSebastian Huber2017-07-191-0/+3
| | | | Update #3071.
* bsps: Include missing header fileSebastian Huber2017-07-121-0/+1
| | | | Update #3071.
* Add interrupt vector set/get affinitySebastian Huber2017-07-121-1/+52
| | | | Close #3071.
* Add interrupt server moveSebastian Huber2017-07-121-0/+75
| | | | Update #3071.
* Add interrupt server set affinitySebastian Huber2017-07-121-0/+33
| | | | Update #3071.
* Add interrupt server suspend/resumeSebastian Huber2017-07-121-2/+59
| | | | | | | This mechanism can be used to safely move the interrupt server from one scheduler instance to another for example. Update #3071.
* Create one interrupt server per processorSebastian Huber2017-07-121-79/+184
| | | | | | | This allows load balancing of interrupt processing in SMP configurations. Update #3071.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-071-2/+4
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-061-2/+2
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* Add rtems_interrupt_server_handler_iterate()Sebastian Huber2017-06-261-0/+70
|
* bsps: Improve interrupt vector enable/disable APISebastian Huber2017-06-203-29/+25
| | | | | | Change bsp_interrupt_vector_enable() and bsp_interrupt_vector_disable() to not return a status code. Add bsp_interrupt_assert() and use it to validate the vector number in the vector enable/disable implementations.
* interrupt vector indexing is assuming BSP_INTERRUPT_VECTOR_MIN = 0Phong Pham2017-05-131-1/+1
| | | | Closes #3014.
* libbsp/shared/pci/pci_bus_count.c: Add include <rtems/bspIo.h>Joel Sherrill2017-04-241-0/+1
|
* bsps: Add simple CPU counter benchmark timerSebastian Huber2017-03-271-0/+35
|
* termios: Synchronize with latest FreeBSD headersKevin Kirspel2017-03-221-2/+2
| | | | | | | | | | | Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
* bsps/umon: Fix format warningsSebastian Huber2017-03-081-3/+3
|
* bsps: Provide <bsp/fdt.h> for every BSPSebastian Huber2017-03-082-3/+42
| | | | Add bsp_fdt_map_intr() intended for the libbsd FDT support.
* Add rtems_interrupt_server_request_submit()Sebastian Huber2017-02-231-32/+116
| | | | | | This function may be used to do a two-step interrupt processing. The first step is done in interrupt context which calls this function. The second step is then done in the context of the interrupt server.
* bsps/powerpc: Fix warningsSebastian Huber2017-02-151-2/+2
|
* bsps/powerpc: Fix warningsSebastian Huber2017-02-151-1/+1
|
* bsp/atsam: System initialization for PIO IRQsSebastian Huber2016-12-161-1/+7
|
* bsp/atsam: Move XDMA IRQ handler to XDMA moduleSebastian Huber2016-12-151-1/+4
| | | | | The XDMA is shared by all DMA capable modules. Placing the XDMA interrupt handler into the SPI module is wrong.
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-122-2/+2
| | | | Update #2825.
* bsps/arm: Add Cortex-M DWT CPU counterSebastian Huber2016-11-241-0/+1
|
* score: Add and use Thread_Control::is_idleSebastian Huber2016-11-091-3/+1
| | | | Update #2797.
* termios: Use IMFS nodes for new Termios devicesSebastian Huber2016-09-193-63/+17
| | | | | | | | This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the future.
* bsps: Fix shared polled console fatal errorSebastian Huber2016-07-252-1/+3
| | | | Fatal errors must uniquely identify the source location.
* shared/console-polled.c: Use standard fatal error codesJoel Sherrill2016-07-051-3/+3
|
* libchip: Simplify RTC driverSebastian Huber2016-07-041-14/+13
|
* bsps: Do not use fast idle clock for SMPSebastian Huber2016-06-301-13/+15
| | | | | We may have more than one idle thread. Thus, the clock driver fast idle logic would be a bit more complicated.
* bsps: Include missing <rtems/bspIo.h>Sebastian Huber2016-06-241-0/+2
|
* Move printer initialization to separate headerSebastian Huber2016-06-222-1/+2
| | | | | | The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
* Make rtems/print.h independent of rtems/bspIo.hSebastian Huber2016-06-221-1/+1
|