summaryrefslogtreecommitdiffstats
path: root/bsps/shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Rename _SMP_Get_processor_count()Sebastian Huber2019-04-111-2/+4
| | | | | | | Rename _SMP_Get_processor_count() in _SMP_Get_processor_maximum() to be in line with the API level rtems_scheduler_get_processor_maximum(). Update #3732.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-091-2/+2
| | | | | | | | | | | Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
* z85c30.c: Do not process 0 baud and return an error (CID 1399713)Joel Sherrill2019-03-141-0/+9
|
* Add rtems_board_support_package()Sebastian Huber2019-03-141-0/+6
|
* bsps: Adjust shared Doxygen groupsSebastian Huber2019-03-081-0/+8
| | | | Update #3706.
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-044-24/+10
| | | | | | | | | | - Use CamelCase as it is not used in our C code. Enables simple search and replace. - Prefix with "RTEMS" to aid deployment and integration. It aids searching and sorting. Update #3706.
* Remove explicit file names from @fileSebastian Huber2019-02-281-1/+1
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* bsps/irq: Fix interrupt server init (SMP)Sebastian Huber2019-02-071-4/+7
|
* grlib: make memory coherency cpu-independentJiri Gaisler2019-01-221-1/+1
| | | | Update #3678.
* grlib: use cpu-independent routines for uncached accessJiri Gaisler2019-01-226-71/+10
| | | | Update #3678.
* grlib: use rtems_interrupt_handler_install()Jiri Gaisler2019-01-224-8/+15
| | | | Update #3678.
* grlib: make apbuart driver independent of bspJiri Gaisler2019-01-221-16/+16
| | | | Update #3678.
* grlib: Move source filesSebastian Huber2019-01-2267-0/+49286
| | | | Update #3678.
* bsps: Add CPU_CACHE_SUPPORT_PROVIDES_DISABLE_DATASebastian Huber2018-12-211-0/+9
| | | | Update #3667.
* bsps: Update cache manager documentationSebastian Huber2018-12-211-22/+57
| | | | Update #3667.
* bsps: Remove superfluous comments in cacheimpl.hSebastian Huber2018-12-211-31/+4
| | | | | | Remove superfluous blank lines. Update #3667.
* Simplify _CPU_Counter_difference()Sebastian Huber2018-12-071-23/+0
| | | | | | | | | | | | | | In order to simplify the use of CPU counter values it is beneficial to have monotonic increasing values within the range of the CPU counter ticks data type, e.g. 32-bit unsigned integer. This eases the use of CPU counter timestamps in external tools which do not know the details of the CPU counter hardware. The CPU counter is the fastest way to get a time on an RTEMS system. Such a CPU counter may be also used as the timecounter. Use it on SPARC for this purpose to simplify the clock drivers. Update #3456.
* bsps/sparc: Fix SMP buildSebastian Huber2018-11-281-0/+9
| | | | Update #3622.
* Remove rtems_cache_*_processor_set() functionsSebastian Huber2018-11-261-91/+0
| | | | | | | | The following rtems_cache_*_processor_set() cache manager API functions are exotic, complex, very hard to use correctly, not used in the RTEMS code base, and apparently unused by applications. Close #3622.
* bsps/irq: Use rtems_malloc()Sebastian Huber2018-11-121-3/+8
|
* bsps: Include missing header filesSebastian Huber2018-11-091-0/+2
| | | | Update #3598.
* bsp/beatnik: Fix warningsSebastian Huber2018-11-091-6/+1
|
* serial/ns16550: Fix precision clock synthesizerSebastian Huber2018-10-171-15/+16
| | | | | | | The precision clock synthesizer support broke the driver on the QorIQ P1020. On this device the Alternate Function Register is accessed with DLAB == 1 instead of the FIFO Control Register (FCR). Restructure the code to account for this.
* Use rtems_task_exit()Sebastian Huber2018-10-021-1/+1
| | | | | Update #3530. Update #3533.
* network: Use kernel/user space header filesSebastian Huber2018-09-1010-10/+10
| | | | | | | | | | Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
* bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGINSebastian Huber2018-09-031-7/+0
| | | | | | | Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack. The interrupt stacks are now allocated by the linker. Update #3459.
* libchip/ata: Use rtems_blkdev_create()Sebastian Huber2018-08-071-46/+13
| | | | Update #3358.
* bsps: Fix the generic IRQ supportSebastian Huber2018-08-033-16/+43
| | | | | | | | | 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.
* serial/ns16550: Precision clock synthesizerSebastian Huber2018-08-011-13/+67
| | | | | | 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.
* Remove Clock_driver_support_shutdown_hardware()Sebastian Huber2018-06-272-38/+8
| | | | | | | | | | | | | | | | | The aim of this clock driver hook was to stop clock tick interrupts at some late point in the exit() procedure. The use of atexit() pulls in malloc() which pulls in errno. It is incompatible with the intention of the CONFIGURE_DISABLE_NEWLIB_REENTRANCY configuration option. The exit() function must be called from thread context, so accompanied clock tick interrupts should cause no harm. On the contrary, someone may assume a normal operating system operation, e.g. working timeouts. Remove the Clock_driver_support_shutdown_hardware() clock driver hook. Close #3436.
* Add _CPU_Counter_frequency()Sebastian Huber2018-06-151-0/+20
| | | | | | | | | | Add rtems_counter_frequency() API function. Use it to initialize the counter value converter via the new system initialization step (RTEMS_SYSINIT_CPU_COUNTER). This decouples the counter implementation and the counter converter. It avoids an unnecessary pull in of the 64-bit integer division from libgcc. Update #3456.
* bsps: Avoid malloc() in generic IRQ supportSebastian Huber2018-06-051-2/+3
| | | | | Use rtems_heap_allocate_aligned_with_boundary() instead of malloc() to avoid a dependency on errno.
* libchip: Use rtems_blkdev_create()Sebastian Huber2018-05-181-43/+15
| | | | Update #3358.
* bsps: Move console drivers to bspsSebastian Huber2018-04-206-0/+390
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move clock drivers to bspsSebastian Huber2018-04-202-0/+319
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspsmpgetcurrentprocessor.c to bspsSebastian Huber2018-04-201-0/+15
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspsmp.c to bspsSebastian Huber2018-04-201-0/+35
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move setvec.c to bspsSebastian Huber2018-04-201-0/+43
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move sbrk.c to bspsSebastian Huber2018-04-201-0/+28
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move shared CPU counter support to bspsSebastian Huber2018-04-202-0/+50
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move getentropy-cpucounter.c to bspsSebastian Huber2018-04-201-0/+69
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move gpio.c to bspsSebastian Huber2018-04-201-0/+1980
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move shared btimer support to bspsSebastian Huber2018-04-202-0/+65
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move pci_find_device.c to bspsSebastian Huber2018-04-201-0/+274
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move pci_bus_count.c to bspsSebastian Huber2018-04-201-0/+68
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move doxygen.h files to bspsSebastian Huber2018-04-201-0/+15
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Convert all bsp_predriver_hook()Sebastian Huber2018-04-201-6/+0
| | | | | | Use RTEMS_SYSINIT_ITEM() instead. Update #2408.
* bsps: Move bspgetworkarea.c to bspsSebastian Huber2018-04-201-0/+62
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move bspstart.c to bspsSebastian Huber2018-04-201-0/+20
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.