Re: mmap

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue May 15 2001 - 04:42:07 EST


> now the problem is that i want to remap the address range pointed by the
> user space pointer to the memory region allocated by the
> 'pci_alloc_consistent' inside the module. I think this is possible..need
> some hints....

Wrong way around. Ask the device to create its mapping and reply with the size
mmap the object

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:40 EST