Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 19:33:49 -0400
From:      Joy Ganguly <joy@niksun.com>
To:        freebsd-hackers <freebsd-hackers@freeBSD.org>
Subject:   contigmalloc and mmap??
Message-ID:  <39247DDD.C3D2DEB@falcon.niksun.com>

next in thread | raw e-mail | index | archive | help
hi

i have a buffer obtained from contigmalloc. now i want to mmap it to
user space. i have done this in linux but unfortunately i am a freebsd
newbie. i read the code and it appeared that the device mmap routine is
passed an offset and it has to return the physical page frame no so that
the necessary mapping can be created. for that i need to know the
physical page frame no from the kva obtained from contigmalloc.

i may be totally wrong. so i need help.

thanx in advance

joy



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39247DDD.C3D2DEB>