Re: Questions about mmap

From: Stefan Richter
Date: Tue Oct 07 2008 - 12:07:42 EST


Thiago Lacerda wrote:
> I'm trying to do like this:
>
> //Code of the char device
> unsigned int **test;
> static int device_mmap(struct file *filp, struct vm_area_struct *vma) {
[...]
> could you tell me what am I doing wrong?

I can't; I never implemented a mmap file operation myself.
--
Stefan Richter
-=====-==--- =-=- --===
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/