summaryrefslogtreecommitdiffstats
path: root/bsps/riscv (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MAXSebastian Huber2-2/+0
This define is no longer used. Update #3269.
2021-06-24bsps/irq: Add BSP_INTERRUPT_VECTOR_COUNTSebastian Huber2-0/+2
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT. After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no interrupt vector at all. Using COUNT instead of MAX may avoid some interpretation issues, for example is the maximum value a valid vector number or not. Update #3269.
2021-06-24bsps/irq: Remove BSP_INTERRUPT_VECTOR_MINSebastian Huber2-4/+0
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector numbers start with zero. The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit and building all BSPs. Update #3269.
2021-06-17grlib: Add apbuart_outbyte_wait()Sebastian Huber1-1/+2
2021-06-17grlib: Remove NL -> CR in apbuart_outbyte_polled()Sebastian Huber1-1/+1
This is already done in rtems_putc().
2021-06-17grlib: Add ambapp_plb()Sebastian Huber5-16/+25
Replace the global variable ambapp_plb with a function to allow an automatic on demand initialization.
2021-05-02bsps: Support RTEMS_NOINIT in linkcmdsSebastian Huber2-0/+11
Update #3866.
2021-04-07bsps: Remove networking driversVijay Kumar Banerjee1-59/+0
Update #3850
2021-03-23bsps/riscv: Add per cpu clock interruptJan Sommer1-10/+49
- Fixes failure of test smpclock01
2021-02-09bsp/riscv: Re-license to BSD-2-ClauseSebastian Huber1-10/+37
Change license to BSD-2-Clause according to file history. Update #3053.
2021-01-28bsps: Replace bsp_specs with an empty fileSebastian Huber2-18/+0
This fixes an issue with the latest tool chain which adds the default linker script in the endfile specification. Update #3250.
2021-01-26bsps: Add missing DWARF 5 sectionsSebastian Huber1-3/+5
Sort alphabetically.
2021-01-25bsps: Support DWARF 5 sectionsSebastian Huber1-20/+30
GCC 11 uses DWARF 5 by default.
2020-11-09Add networking support for griscv bspJiri Gaisler3-1/+74
* Only GRETH device supported for now * Fix endian problem in GRETH driver * Remove SPARC assembly from greth.c * Builds with both autoconf and waf
2020-10-10grlib: Add and use irqmp_has_timestamp()Sebastian Huber1-1/+1
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move it to grlib.h. Close #4128.
2020-09-23bsps/riscv: Add bsp_fdt_map_intr()Sebastian Huber1-0/+6
This function is required by libbsd.
2020-09-17riscv: Make sifive_test finisher 4 bytesHesham Almatary1-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.
2020-09-15bsps/riscv: Use far jump to boot_card()Sebastian Huber1-1/+1
Use a far jump to avoid errors like this: relocation truncated to fit: R_RISCV_JAL against symbol `boot_card'
2020-09-06htif_console_handler is defined in htif.cHesham Almatary1-1/+1
closes #4069.
2020-08-31bsps: Always install IPI in SMP configsSebastian Huber1-12/+9
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.
2020-04-10bsps/riscv: Fix multiple definitionSebastian Huber1-2/+0
2020-03-09imfs: Replace devfs with an IMFS specializationSebastian Huber1-3/+0
Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
2020-02-04Use RTEMS_SYSINIT_ORDER_LAST_BUT_5Sebastian Huber1-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.
2020-02-04bsps: Add RamEnd to linker command filesSebastian Huber1-0/+1
Update #3838.
2019-11-29Regenerate headers.amSebastian Huber1-0/+1
2019-11-14bsp/riscv: Fix format and warningsSebastian Huber2-45/+27
Update #3785.
2019-11-14bsp/riscv: Fix use of uninitialized integerSebastian Huber1-6/+1
2019-11-14bsp/riscv: riscv_get_core_frequency()Sebastian Huber2-43/+23
Always provide this function. Return 0 by default. Fix formatting. Simplify function. Update #3785.
2019-10-30bsps/riscv: UART - Read reg-shift from DTB to properly set/get registersHesham Almatary1-2/+13
2019-10-27riscv: Add new BSP cfg variants to be built with llvm/clangHesham Almatary8-0/+112
2019-10-27riscv: Add new offending input sections to the linker scriptHesham Almatary1-0/+5
2019-10-27riscv: Add NOLOAD directive to the .work sectionHesham Almatary1-1/+1
ld.lld defaults .work to PROGBITS otherwise
2019-10-27riscv: Address differences in the linkerscript between GNU LD and LLVM/LLDHesham Almatary1-51/+51
LLVM/LLD does not support STARTUP and ALIGN_WITH_INPUT directives that GNU LD support. INPUT and ALIGN(8) are supported by LLVM/LLD and can replace the unsupported STARTUP/ALIGN_WITH_INPUT directives. The commit conditionally adds the supported directive that linkers can understand depending on the toolchain used to compile RTEMS i.e., clang or gcc. Clang is assumed to use LLD by default.
2019-10-27riscv: Generate linkcmds.base from the shared linkcmds.base.inHesham Almatary1-0/+0
This commit moves the existing linkcmds.base to linkcmds.base.in in order to make it configurable by autotools.
2019-10-23riscv: add freedom E310 Arty A7 bspPragnesh Patel7-5/+312
Added support for Sifive Freedom FE310 soc on Arty A7 FPGA board. Update #3785. Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com>
2019-04-11score: Rename _SMP_Get_processor_count()Sebastian Huber1-9/+9
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.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2-3/+3
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.
2019-03-08bsps: Adjust shared Doxygen groupsSebastian Huber2-2/+10
Update #3706.
2019-03-08bsps: Adjust bsp.h Doxygen groupsSebastian Huber3-3/+57
Update #3706.
2019-03-04bsps: Adjust architecture Doxygen groupsSebastian Huber1-0/+7
- 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.
2019-02-08griscv: add additional cpu configurationsJiri Gaisler5-1/+37
* Also switch default config to imafd as the C extension is not supported for code coverage
2019-01-22riscv: add griscv bspJiri Gaisler19-0/+1315
Update #3678.
2019-01-08bsp/riscv: Clear boot command lineSebastian Huber1-0/+1
2018-11-08score: Rename interrupt stack symbolsSebastian Huber1-3/+3
Rename * _Configuration_Interrupt_stack_area_begin in _ISR_Stack_area_begin, * _Configuration_Interrupt_stack_area_end in _ISR_Stack_area_end, and * _Configuration_Interrupt_stack_size in _ISR_Stack_size. Move definitions to <rtems/score/isr.h>. The new names are considerable shorter and in the right namespace. Update #3459.
2018-09-17riscv: Allow platforms with no PLIC to proceedHesham Almatary1-0/+5
Spike simulator and QEMU's spike_v1.10 don't have a PLIC
2018-08-02bsp/riscv: Add missing BSP variantSebastian Huber1-0/+9
Update #3433.
2018-08-02bsp/riscv: Fix build with RTEMS_SMP undefinedSebastian Huber3-12/+10
Update #3433.
2018-08-02bsp/riscv: Fix a synchronization issue for PLICSebastian Huber1-0/+8
Update #3433.
2018-08-01bsp/riscv: Remove unused variableSebastian Huber1-4/+0
Update #3433.
2018-08-01bsp/riscv: Add NS16750 support to console driverSebastian Huber1-36/+74
Update #3433.