Re: mmap

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 15 May 2001 10:42:07 +0100 (BST)


> 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/