This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
Samuel Thibault, le Thu 16 Sep 2010 16:57:01 +0200, a écrit :
> I'm just asking to rework the function interfaces a little bit to
> have things already cleanly separated for anybody who would feel like
> adding another OS support or parsing .dts files some day, I believe
> that shouldn't be too much work for you.
I mean, don't even bother to write a nice structure containing the
functions pointers etc, just call your linux-specific functions
hwloc_of_linux_get_str, hwloc_of_linux_get_int_arr, etc.
and call them as such in topology-of.c, that'll be good enough for
anybody wanting to abstract this easily.