pmap_extract.9: Fix pmap_extract_and_hold()'s function type

pmap_extract_and_hold() returns a vm_page_t instead of a physical page
address.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	alc
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D31691
This commit is contained in:
Ka Ho Ng 2021-08-27 21:42:49 +08:00
parent 091869def9
commit 6e1df1d14c

View File

@ -38,7 +38,7 @@
.In vm/pmap.h
.Ft vm_paddr_t
.Fn pmap_extract "pmap_t pmap" "vm_offset_t va"
.Ft vm_paddr_t
.Ft vm_page_t
.Fn pmap_extract_and_hold "pmap_t pmap" "vm_offset_t va" "vm_prot_t prot"
.Sh DESCRIPTION
The
@ -73,7 +73,9 @@ will be returned.
.Pp
The
.Fn pmap_extract_and_hold
function will return the physical page address associated with the
function will return the
.Ft vm_page_t
associated with the
virtual address
.Fa va
inside the physical map