linux ioremap equivalent on freebsd

Niki Denev nike_d at cytexbg.com
Mon Aug 7 14:39:09 UTC 2006


On Monday 07 August 2006 16:28, Niki Denev wrote:
> On Monday 07 August 2006 15:45, Suleiman Souhlal wrote:
> >
> > I think the equivalent of linux's ioremap() in FreeBSD is pmap_mapdev().
> >
> > -- Suleiman
>
> Thanks!
>
> Is there a reason that there is no manual page about pmap_mapdev, and it's
> not mentioned in the other pmap_* man pages?
>

As far as i understand, there is no need for pmap_mapdev to be used for 
reading memory from pci device, because it returns the same address as 
pmap_get_virtual() ? (at least here :) ) Is this right?


More information about the freebsd-hackers mailing list