summaryrefslogtreecommitdiffstats
path: root/bsps (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Improve RTEMS_NO_RETURN attributeSebastian Huber2020-10-103-5/+5
| | | | | | | | | | | Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors like this: error: no return statement in function returning non-void [-Werror=return-type] Use C11 and C++11 standard means to declare a no-return function. Close #4122.
* grlib: Add and use irqmp_has_timestamp()Sebastian Huber2020-10-106-12/+14
| | | | | | | Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move it to grlib.h. Close #4128.
* bsps/include/bsp/fatal.h: Add GRLIB specific fatal errorJoel Sherrill2020-10-081-1/+4
| | | | updates #4028.
* Misc: Correct spelling of occurredJoel Sherrill2020-10-072-2/+2
|
* bsps: Add Cortex-A53 ILP32 BSP variantKinsey Moore2020-10-051-0/+16
| | | | | | This adds an AArch64 ILP32 BSP variant based on Qemu's Cortex-A53 emulation with interrupt support using GICv3 and clock support using the ARM GPT.
* bsps: Add Cortex-A53 LP64 basic BSPKinsey Moore2020-10-0513-0/+2137
| | | | | This adds an AArch64 basic BSP based on Qemu's Cortex-A53 emulation with interrupt support using GICv3 and clock support using the ARM GPT.
* bsps/shared: Add PSCI-based bspreset implementationKinsey Moore2020-10-051-0/+56
| | | | | This adds a bsp_reset implementation based on the ARM PSCI specification often present in ARMv8 systems.
* bsps: Break out AArch32 GICv3 supportKinsey Moore2020-10-0522-69/+177
| | | | | This breaks out AArch32-specific code so that the shared GICv3 code can be reused by other architectures.
* bsps: Break out AArch32 portions of GPT driverKinsey Moore2020-10-0512-46/+168
| | | | | | This breaks AArch32-specific portions of the ARM GPT driver into their own file so that the generic code can be moved for reuse by other architectures.
* Move ARM PL011 UART driverKinsey Moore2020-10-058-7/+10
| | | | This UART driver is now needed for BSPs other than ARM.
* bsp/lpc176x: Fix memory mapSebastian Huber2020-10-051-3/+3
| | | | | | | Due to the static allocation of operating system resources the .bss section needs more space than the .work section. Close #4117.
* bsps/pc386: Add missing license headerJan Sommer2020-09-231-0/+26
| | | | Closes #4093.
* bsps/riscv: Add bsp_fdt_map_intr()Sebastian Huber2020-09-231-0/+6
| | | | This function is required by libbsd.
* bsps/powerpc: Remove __ppc_generic defineSebastian Huber2020-09-201-6/+0
| | | | | | Do not force BSPs to define __ppc_generic. This was probably the last command line define in the BSPs.
* riscv: Make sifive_test finisher 4 bytesHesham Almatary2020-09-171-1/+1
| | | | | | QEMU is now stricter with MMIO sizes and accesses. uintptr_t on RV64 is 8 bytes and generates an sd instruction that Store/AMO faults because sifive_test MMIO expects 4 bytes accesses.
* bsps/arm: Use RTEMS_SECTION()Sebastian Huber2020-09-171-6/+12
|
* arm: Fix arm_cp15_set_translation_table_entries()Sebastian Huber2020-09-171-1/+1
| | | | | | | | In a multi-processor system we must broadcast the TLB maintenance operation to the Inner Shareable domain to ensure that the other processors update their TLB caches accordingly. Close #4068.
* bsp/pc386: Remove support for obsolete BinutilsSebastian Huber2020-09-151-11/+1
| | | | Update #3818.
* bsps/riscv: Use far jump to boot_card()Sebastian Huber2020-09-151-1/+1
| | | | | | Use a far jump to avoid errors like this: relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'
* build: Alternative build system based on wafSebastian Huber2020-09-141-0/+27
| | | | Update #3818.
* Remove tmoverhd which existed to produce the obsolete coverhd.hJoel Sherrill2020-09-112-8/+2
| | | | Closes #4040.
* Remove remaining references to coverhd.hJoel Sherrill2020-09-102-2/+0
| | | | Closes #4040.
* htif_console_handler is defined in htif.cHesham Almatary2020-09-061-1/+1
| | | | closes #4069.
* bsps: Always install IPI in SMP configsSebastian Huber2020-08-314-42/+29
| | | | | | | The inter-processor interrupt (IPI) may be used to process per-CPU jobs. See for example the blocked handler in T_interrupt_test(). Update #3199.
* bsp/xilinx-zynq: Flush TX-Buffer before initializing uartJan Sommer2020-08-221-0/+2
| | | | | Closes #4055 Closes #4056
* bsps/leon3: Remove superfluous includesSebastian Huber2020-08-202-8/+2
|
* bsps/arm: Use _Assert()Sebastian Huber2020-08-201-3/+2
|
* powerpc/io: The eieio() function clashes with FreeBSD. Change.Chris Johns2020-08-121-4/+4
|
* arm/atsam: Make interrupt server configurableSebastian Huber2020-08-052-39/+75
| | | | | | | | | | | | | The external UART over SPI device SC16IS752 uses the interrupt server for interrupt processing. The interrupt server is also heavily used by libbsd. The interrupt processing for the SC16IS752 is time critical and doesn't work if network traffic is processed at the same priority. With #4033 custom interrupt servers are available. Change atsam_sc16is752_spi_create() to support user-defined interrupt servers. Introduced atsam_sc16is752_spi_config to cut down the argument count of this function. Close #4039.
* bsps/beagle: Remove some debug output from I2C.Christian Mauderer2020-08-031-1/+1
|
* dev/spi-memdrv: Fix use of uninit mem_param_ptrSebastian Huber2020-08-031-12/+9
|
* rtems: Add rtems_interrupt_server_create()Sebastian Huber2020-08-031-116/+249
| | | | | | | | | | | | | | | | | | Add rtems_interrupt_server_destroy(). Before this patch, the only way to create interrupt servers was rtems_interrupt_server_initialize(). This function creates the default interrupt server and in SMP configurations additional interrupt servers for the additional processors. The interrupt server is heavily used by libbsd. This includes the epoch based reclamation which performs time consuming resource and memory deallocation work. This does not work well with time critical services, for example an UART over SPI or I2C. One approach to address this problem is to allow the application to create custom interrupt servers with the right priority and task properties. The interrupt server API accounted for this, however, it was not implemented before this patch. Close #4034.
* bsps/fdt: Make sure data is cache alignedChristian Mauderer2020-07-311-3/+5
| | | | | The cache of the fdt blob is flushed after copy. Therefore it should be aligned.
* bsp/imx: Use GPIOs for SPI CSChristian Mauderer2020-07-311-7/+85
| | | | | | | | | | | | | The chip select lines of the iMX SPI module doesn't work well for a generic API like the one RTEMS uses. The existing solution only worked in some special cases and had odd bugs when trying transfers of different sizes (like deselecting between each byte for lengths that are not dividable by 4). With this patch the same approach like on FreeBSD or Linux is used: Treat the CS lines as GPIOs. Update 3869
* bsp/imx: Add a GPIO driverChristian Mauderer2020-07-316-1/+559
| | | | Update 3869
* bsps/lm32: Use shared <bsp/irq.h>Sebastian Huber2020-07-314-10/+0
| | | | | | | | Having a duplicate header with the shared includes is a build system inconsistency. You may use one header file to build the libraries and another one is installed (overwriting the other). Update #3269.
* bsps/clock: Fix fast idle clock tick supportSebastian Huber2020-07-232-9/+22
| | | | | | If we interrupt a thread dispatch critical section (thread dispatch disable level != ISR nest level), then we should not do the fast idle mode since this may delay an ongoing system call forever.
* bsps/pc386: Fix IPI for non-consecutive APICIDsJan Sommer2020-07-161-6/+10
| | | | | | - properly use the cpu <-> apic maps for IPIs Closes #4029.
* rtems: Remove _Copyright_Notice from API headerSebastian Huber2020-07-141-1/+2
| | | | Close #3981.
* Fix for Beaglebone BSP PWM bugJames Fitzsimons2020-07-131-2/+2
|
* epiphany: Remove support for this targetSebastian Huber2020-07-0515-1074/+0
| | | | | | | Due to an unmaintained toolchain (internal errors in GCC, no FSF GDB integration) the Epiphany architecture was obsoleted in RTEMS 5.1. Update #3941.
* bsps/powerpc: Remove obsolete BSPsSebastian Huber2020-07-056-70/+0
| | | | Update #3951.
* bsps/powerpc: Remove SPE enabled variantsSebastian Huber2020-07-0525-168/+4
| | | | | | The PowerPC SPE support was removed from GCC. Update #3951.
* bsps/powerpc: Remove __atexit form start.oSebastian Huber2020-07-052-28/+0
| | | | | | | | | | | Remove superflous __atexit stuff in start.o. It is no longer required by GCC and may cause linker problems. See GCC commit: commit 362c63a5e8b5aacfff3e5af0911e42ba7c775042 Author: Geoff Keating <geoffk@cygnus.com> Date: Fri Apr 14 23:16:25 2000 +0000
* bsps/powerpc: Fix tlbie instruction usageSebastian Huber2020-07-058-13/+14
| | | | | | | | GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler. The 0 in the tlbie instruction is the L operand which selects a 4KiB page size.
* bsps/powerpc: Fix inline assemblySebastian Huber2020-07-055-47/+114
| | | | | GCC 10 no longer passes -many to the assembler. This enables more checks in the assembler.
* bsp/qoriq: Fix tlbwe sequenceSebastian Huber2020-07-051-1/+1
|
* bsps/mips: Fix issues with -fno-commonSebastian Huber2020-07-052-4/+3
|
* i386/pc: Initialise the printk serial port on first useChris Johns2020-06-182-12/+37
|
* bsps/i386/pc386/start/*.S: Remove space before tabJoel Sherrill2020-06-172-3/+3
|