From owner-freebsd-hackers Thu May 18 16:33:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from arjun.niksun.com (gwnew.niksun.com [206.20.52.130]) by hub.freebsd.org (Postfix) with ESMTP id 5DBA137BCD9 for ; Thu, 18 May 2000 16:33:37 -0700 (PDT) (envelope-from joy@niksun.com) Received: from falcon.niksun.com (falcon.niksun.com [10.0.0.167]) by arjun.niksun.com (8.9.3/8.9.3) with ESMTP id TAA19820 for ; Thu, 18 May 2000 19:33:36 -0400 (EDT) (envelope-from joy@falcon.niksun.com) Message-ID: <39247DDD.C3D2DEB@falcon.niksun.com> Date: Thu, 18 May 2000 19:33:49 -0400 From: Joy Ganguly X-Mailer: Mozilla 4.51 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers Subject: contigmalloc and mmap?? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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