Legacy Networking | leon3: Use sreload; greth: include leon.h (!22)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed May 14 15:33:28 UTC 2025
Joel Sherrill commented on a discussion on bsps/shared/grlib/net/greth.c: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/22#note_122591
> #include <rtems.h>
> #define CPU_U32_FIX
> #include <bsp.h>
> +#include <leon.h>
The griscv (and maybe) noelv compile this same shared net code. If a prototype is needed for leon3, it will also be needed when compiling for the other bsps.
FWIW I do not like the idea of a riscv BSP defining a leon.h header file since that is a SPARC processor. What symbols/functions are used? Any chance they can be named in an architecture neutral manner?
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-legacy/-/merge_requests/22#note_122591
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250514/4c53eb49/attachment.htm>
More information about the bugs
mailing list