Messages in this thread | | | Date | Tue, 7 Oct 2008 14:09:18 -0300 | From | "Thiago Lacerda" <> | Subject | Re: Questions about mmap |
| |
Thank you people.
When I try to dereference those pointers in user space I get a segfault :(
On Tue, Oct 7, 2008 at 1:06 PM, Stefan Richter <stefanr@s5r6.in-berlin.de> wrote: > 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/ >
-- Thiago de Barros Lacerda Computer Science Undergraduate Student - CIn/UFPE - 2004.2 Researcher/Software Developer - GPRT - Networking and Telecommunications Research Group
| |