summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* bsp/leon3: Add up counter timecounterSebastian Huber2016-06-211-1/+2
|
* bsps: Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSORSebastian Huber2016-06-141-5/+24
| | | | | | | | | Add CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR clock driver option. If defined, then do the clock tick processing on the boot processor on behalf of all other processors. Currently, this is intended as a workaround for a Qemu shortcoming on ARM. Update #2737.
* bsp/irq-server: Fix install/removeSebastian Huber2016-06-131-135/+173
| | | | | | | | Do not wait for the interrupt server while owning the allocator lock. This could lead to deadlock in case one of interrupt service routines or user extensions want to obtain the allocator mutex as well. Instead let the interrupt server do the install/remove job entirely on behalf of the requesting task.
* bsp/shared: Fix printk warnings.Chris Johns2016-05-251-2/+4
|
* cpukit, testsuite: Add rtems_printf and rtems_printer support.Chris Johns2016-05-253-18/+20
| | | | | | | | | | | | | | | | | | | This change adds rtems_printf and related functions and wraps the RTEMS print plugin support into a user API. All references to the plugin are removed and replaced with the rtems_printer interface. Printk and related functions are made to return a valid number of characters formatted and output. The function attribute to check printf functions has been added to rtems_printf and printk. No changes to remove warrnings are part of this patch set. The testsuite has been moved over to the rtems_printer. The testsuite has a mix of rtems_printer access and direct print control via the tmacros.h header file. The support for begink/endk has been removed as it served no purpose and only confused the code base. The testsuite has not been refactored to use rtems_printf. This is future work.
* bsp/shared: Print the exception stack frame before the shut down message.Chris Johns2016-05-111-7/+7
| | | | | | | This lets you see the exception otherwise the key press clears the screen on the reboot on a PC BSP. Also state there has been a fatal error.
* bsp/shared: Add bsp_interrupt_handler_is_empty.Chris Johns2016-05-112-1/+33
|
* i386/pc386: Add support for the gdb stub to use available console drivers.Chris Johns2016-05-112-3/+53
| | | | | | | | | | | Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1.
* bsp/qoriq: Add bsp_restart()Sebastian Huber2016-04-221-1/+4
|
* bsps: Copy FDT only if source != destinationSebastian Huber2016-04-221-7/+10
|
* shared/console-polled.c: Add include of <rtems/console.h> to fix warningJoel Sherrill2016-03-291-0/+1
|
* bspgetworkarea.c: File header now uses DoxygenJoel Sherrill2016-03-171-10/+14
|
* pc386: Add --disable-com1-com4 boot argumentJoel Sherrill2016-03-101-2/+2
|
* libbsp/shared/console.c: Clean up memory allocation for per device dataJoel Sherrill2016-03-101-13/+36
|