How to do physical-to-virtual translation in FreeBSD? Does FreeBSD support kmap() or kmap_atomic()?

Andy Reitz reitz at eecs.cwru.edu
Fri Apr 21 19:45:41 UTC 2006


On Fri, 21 Apr 2006 hongz at promisechina.com wrote:

> Hi guys:
>
>
>
> We are doing HBA driver (Soft Raid5) porting from Linux to FreeBSD. As we
> need to do XOR in kernel space, we need to map a physical address into a
> virtual address. In Linux, we use kmap_atomic() to implement it, and could
> you tell me how to do it in FreeBSD? Thank for your help!

Hi Hong,

I'm not entirely sure, but you might want to try posting your question to
the "freebsd-hackers" mailing list.

Good luck,
	-Andy.



More information about the freebsd-questions mailing list