On 19/7/19 8:32 pm, Nils Hölscher wrote: > I am currently adding more and more libbsd deps to my build, that are not in > rtems or rtems-libbsd. > Now I have been touching these to files of the BSD kernel: > https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/cpu-v4.h > https://github.com/freebsd/freebsd/blob/0966ce5cd477cd7c8b63b0f9de75396aa5939032/sys/arm/include/atomic-v6.h > Throwing a good dozen of warning when compiling and I only need one call from > these files. > This is needed in the pru driver to distinguish between prussv1 and prussv2, a > feature I definitely want. > FYI: prussv1 is on the TI Sitara AM18xx SoCs and v2 on the AM35xx. > > So the question is should I try to resolve those warnings and try to port the > whole files to rtems or should I try to just pick what I need and be done? >
What are the warnings? Do you have the libbsd changes in a repo somewhere so I can have a look? Chris _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel