Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2006 17:45:00 +0800
From:      <hongz@promisechina.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   help:How to map a physical address into a kernel address?
Message-ID:  <1147340690$36076$55833599@hongz@promisechina.com>

next in thread | raw e-mail | index | archive | help
Hi guys:

 

To access sg_table in kernel address, I need to map the starting physical
address of a segment into a kernel address. As I know that, we can use
phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical
address or a physical page into a kernel address in Linux, but I did not
find such a function in FreeBSD. Please help me on this, it is very urgent!

 

Thanks a lot!

 

Hong 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1147340690$36076$55833599>