Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding /dev/xen/gnttab

On Fri, 03 Sep 2010 16:08:05 +0200, "Christoph Egger"
<Christoph_Egger%gmx.de@localhost> wrote:
>> I guess you would have to do it the same way as xenevt; see
>> arch/xen/xen/xenevt.c, and all dev_type_* thingies with a cdevsw.
> Yes, but not quite comparable.
> In mmap() I need to access f_data from struct file.
> I don't have the struct file in mmap.

Can you be a little bit more specific? f_data being an opaque type, it is
difficult to know what you are looking for in it. A vnode?

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index