pmap_phys_address: the prototype for this asks for a paddr_t, not an int.
This commit is contained in:
parent
9a98cd19ff
commit
dde292899e
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: pmap.9,v 1.34 2007/08/08 21:36:43 pooka Exp $
|
||||
.\" $NetBSD: pmap.9,v 1.35 2007/12/25 17:03:37 jmcneill Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -34,7 +34,7 @@
|
|||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.Dd August 9, 2007
|
||||
.Dd December 25, 2007
|
||||
.Dt PMAP 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -108,7 +108,7 @@
|
|||
.Ft bool
|
||||
.Fn "pmap_is_referenced" "struct vm_page *pg"
|
||||
.Ft paddr_t
|
||||
.Fn "pmap_phys_address" "int cookie"
|
||||
.Fn "pmap_phys_address" "paddr_t cookie"
|
||||
.Ft vaddr_t
|
||||
.Fn "PMAP_MAP_POOLPAGE" "paddr_t pa"
|
||||
.Ft paddr_t
|
||||
|
@ -862,7 +862,7 @@ attribute is set on page
|
|||
.Fa pg .
|
||||
.Pp
|
||||
Note that this function may be provided as a C pre-processor macro.
|
||||
.It paddr_t Fn "pmap_phys_address" "int cookie"
|
||||
.It paddr_t Fn "pmap_phys_address" "paddr_t cookie"
|
||||
Convert a cookie returned by a device
|
||||
.Fn mmap
|
||||
function into a physical address.
|
||||
|
|
Loading…
Reference in New Issue