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

hongz at promisechina.com hongz at promisechina.com
Fri Apr 21 09:25:51 UTC 2006


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!

 

Best wishes,

 

Hong Zhao

 



More information about the freebsd-questions mailing list