[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] gnttab: Add gntdev device mappings for FreeBSD
On 5 August 2016 at 22:15, Roger Pau Monné <royger@xxxxxxxxxxx> wrote:
Done.
Ioctl Removed.
Done. > +#define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) Done. > +#endif Done. > +{ Most code is from linux.c. I modified the code to use appropriate definitions from the interface we expose, but left all other things in place. I went over the code, to fix the style issues, but found some other errors. For instance, in function osdep_gntshr_share_pages(), notify_offset and notify_port are specified -1 when the user doesn't want these notify functions. But there is no such check for notify_offset, and it ends up having an unintended consequence on a previous grant (map->index-1 lies on a different grant). I'll fix this in the freebsd file, and also the linux one and send by tonight. :) > + /* _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |