vtophys information.

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu Oct 9 06:16:18 PDT 2003


rk47 <rk at nanoteq.co.za> 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.


More information about the freebsd-questions mailing list