Re: RFC: Add API to get and set interrupt priorities for interrupt vectors

2024-03-25 Thread Sebastian Huber
On 21.03.24 20:28, Gedare Bloom wrote: Two basic questions: Does the priority field type need to be Architecture- or BSP-defined or is uint32_t always going to be fine. In theory, the priority range depends on the interrupt controller implementation. However, an uint32_t should be more than e

aarch64: -mno-outline-atomics

2024-03-25 Thread Sebastian Huber
Hello, I noticed that the aarch64/xilinx-zynqmp BSPs use -mno-outline-atomics. However, we don't have a corresponding multilib for this. So for example, the C++ standard library still uses -moutline-atomics. I suggest to add this option to a Cortex-A53 specific multilib. See also: http://dev

[GCC] RTEMS: Add multilib configuration for aarch64

2024-03-25 Thread Sebastian Huber
gcc/ChangeLog: * config.gcc (aarch64-*-rtems*): Add target makefile fragment t-aarch64-rtems. * config/aarch64/t-aarch64-rtems: New file. --- gcc/config.gcc | 1 + gcc/config/aarch64/t-aarch64-rtems | 41 ++ 2 files changed,

Xilinx header files installed by BSP

2024-03-25 Thread Sebastian Huber
Hello, the BSPs for the Xilinx Zynq/ZynqMP/Versal platforms use code from Xilinx. They also install some header files from Xilinx in the top-level include directory of the BSP, for example: sleep.h xbasic_types.h xil_assert.h xil_cache.h xil_exception.h xil_io.h xil_mem.h xil_printf.h

Re: aarch64: -mno-outline-atomics

2024-03-25 Thread Kinsey Moore
On Mon, Mar 25, 2024 at 3:40 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I noticed that the aarch64/xilinx-zynqmp BSPs use -mno-outline-atomics. > However, we don't have a corresponding multilib for this. So for > example, the C++ standard library still uses -moutl

[PATCH rtems-lwip] Add C++ include guard

2024-03-25 Thread berndmoessner80
From: Bernd Moessner --- rtemslwip/include/netstart.h | 8 1 file changed, 8 insertions(+) diff --git a/rtemslwip/include/netstart.h b/rtemslwip/include/netstart.h index 807183a..82cefce 100644 --- a/rtemslwip/include/netstart.h +++ b/rtemslwip/include/netstart.h @@ -30,6 +30,10 @@ #i

Re: Xilinx header files installed by BSP

2024-03-25 Thread Bernd Moessner
On 25.03.2024 13:26, Sebastian Huber wrote: Hello, the BSPs for the Xilinx Zynq/ZynqMP/Versal platforms use code from Xilinx. They also install some header files from Xilinx in the top-level include directory of the BSP, for example: sleep.h  xbasic_types.h  xil_assert.h  xil_cache.h xil_ex

[PATCH rtems6] Fix: type-cast to wrong type

2024-03-25 Thread berndmoessner80
From: Bernd Moessner --- bsps/include/bsp/irq-generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h index 5ed9cac688..31f345486f 100644 --- a/bsps/include/bsp/irq-generic.h +++ b/bsps/include/bsp/irq-generic.