I have added wrapper function for BSD. On Mon, Jan 5, 2015 at 1:17 PM, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
> 2014-12-30 11:37, Ravi Kerur: > > Use common function names rte_eal_hugepage_init and > > rte_eal_hugepage_attach for BSD and Linux. > > I'd like to be sure that using hugepage wording instead of contigmem > is not too weird for BSD people. > Do not forget that we have a kernel module called contigmem. > Here, an ifdef or a wrapper seems appropriate to keep right wording. > > -- > Thomas >