From owner-freebsd-questions@FreeBSD.ORG Thu Oct 9 06:16:18 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34AAA16A4B3 for ; Thu, 9 Oct 2003 06:16:18 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 837B343FBF for ; Thu, 9 Oct 2003 06:16:16 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id DE1A93AF6; Thu, 9 Oct 2003 09:16:15 -0400 (EDT) Sender: lowell@be-well.ilk.org To: rk47 References: From: Lowell Gilbert Date: 09 Oct 2003 09:16:15 -0400 In-Reply-To: Message-ID: <44fzi2eelc.fsf@be-well.ilk.org> Lines: 11 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: vtophys information. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 13:16:18 -0000 rk47 writes: > Is there a simple example which uses the function vtophys. Or a "normal" > example which uses the vtophys function in a simple way. This would be for > driver development for FreeBSD 4.x. Luckily, you have the full source code for the system. Note, if relevant, that vtophys isn't the best way to handle a PCI device because of portability concerns; see the architectural handbook for details.