GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jun 4 17:37:00 UTC 2020


On 04/06/2020 16:22, Gedare Bloom wrote:

>>> In the github version this code is conditional on sys/cpuset.h being present.
>>>
> Well, we do have a sys/cpuset.h in newlib. It doesn't have these BSD
> definitions though. Probably either:
> 1. Add more stuff to sys/cpuset.h to make it support BSDisms. This
> would mean adding cpuset_setaffinity support in rtems, I guess.
> 2. Figure out how to disable the conditional code using the
> cpuset_setaffinity function.
The <sys/cpuset.h> is already as compatible as possible to glibc and 
FreeBSD. There is always room for improvement, however, in this area it 
will be difficult.


More information about the devel mailing list