summaryrefslogtreecommitdiffstats
path: root/bsps/shared/dev (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bsp/shared/clock: Reset Clock_driver_isrs to correct valueJan Sommer2020-04-031-1/+1
| | | | | | | CLOCK_DRIVER_ISRS_PER_TICK is the configuration define, CLOCK_DRIVER_ISRS_PER_TICK_VALUE is the actual value of ISRS per clock tick, therefore use this one to reset the Clock_driver_isrs after each tick.
* bsps/clock: Use _SMP_Get_processor_maximum()Sebastian Huber2020-02-251-1/+1
| | | | | | | Use a specific test to enable the fast idle mode instead of using the rtems_configuration_is_smp_enabled() workaround. Update #3876.
* libchip/ns16550: Allow user calculate baud divisorG S Niteesh2020-02-161-0/+2
| | | | | | | | This patch will allow the user to pass a function to calculate the baud divisor. This will allow for more flexibility, since for some BSPs like raspberrypi, the calculation of baud divisor is different from what is in the current driver.
* Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber2020-02-041-1/+1
| | | | | | | | Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST to allow applications and support functions to place system initialization handlers behind the standard handlers. Update #3838.
* clock: Simplify driver initializationSebastian Huber2019-12-111-18/+1
| | | | | | Use a system initialization handler instead of a legacy IO driver. Update #3834.
* 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.
* z85c30.c: Do not process 0 baud and return an error (CID 1399713)Joel Sherrill2019-03-141-0/+9
|
* bsps: Adjust architecture Doxygen groupsSebastian Huber2019-03-041-1/+1
| | | | | | | | | | - 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.
* 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: Include missing header filesSebastian Huber2018-11-091-0/+2
| | | | Update #3598.
* 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.
* libchip/ata: Use rtems_blkdev_create()Sebastian Huber2018-08-071-46/+13
| | | | Update #3358.
* 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.
* 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 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 uart-output-char.c to bspsSebastian Huber2018-04-161-0/+52
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move tod.c to bsps and renameSebastian Huber2018-04-161-0/+287
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move legacy console driver to bspsSebastian Huber2018-04-124-0/+633
| | | | | | This patch is a part of the BSP source reorganization. Update #3285.
* bsps: Move libchip to bspsSebastian Huber2018-04-0454-0/+13521
This patch is a part of the BSP source reorganization. Update #3285.