On 04/22/2015 11:39 AM, Maxim Uvarov wrote:
>
> In that case what you need is.
>
> That is odp API:
> ./include/odp/api/atomic.h
>
> That is platfrom implementation (linux-generic):
> ./platform/linux-generic/include/odp/atomic.h
>
> That is some internal functions which linux-generic platfrom does.
> ./platform/linux-generic/include/odp_atomic_internal.h
>
> So that what you need is move
> ./platform/linux-generic/include/odp/atomic.h to 
> ./platform/your-platfrom/include/odp/atomic.h
> and re implement functions there.
>
> Is that original question?
>
> Best regards,
> Maxim.
>
>
>
>
That's what I did. But our implementation is mostly based on the linux-generic 
now. And as I had to implement almost the same atomic functions twice, I was 
thinking it would make sense to refactor this code in the linux-generic tree 
too.

Nicolas

_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to