On 24/05/2022 02:32, Chris Johns wrote:
On 6/5/2022 4:16 pm, Sebastian Huber wrote:
- aarch64 bsps

These BSPs generated lots of warnings in the testsuite due to this line:

   https://git.rtems.org/rtems/tree/bsps/aarch64/include/bsp/start.h#n175

The warning is about comparing arrays. I have not looked deeper.

This can be fixed by using RTEMS_OBFUSCATE_VARIABLE().

Sorry, I do not know how to use this macro to remove the warning?

For this macro you need a stack variable.

I guess the warning could be also removed using this compiler note:

rtems/bsps/aarch64/include/bsp/start.h:175:28: note: use '&bsp_vector_table_end[0] != &bsp_vector_table_size[0]' to compare the addresses

What is the purpose of AArch64_start_set_vector_base()? Do we need this at all on the aarch64 target?

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to