Hello,

  I have a question about implementing mmap functions in
device drivers.  Thinking it would be simple, I contigmalloc'd
a buffer of PAGE_SIZE and returned it using atop like other
mmap device implementations.  However when my userland program
mmaps the device with offset 0, when I try accessing the returned
pointer, it returns me invalid memory address.  Any help would
be appreciated...

- Tom

-- 

                                          Tom Tang
                                          tangj AT cs DOT ucdavis DOT edu



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to