The branch main has been updated by khng:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6e1df1d14c6dfcc209c1416ec0832e4d08191c72

commit 6e1df1d14c6dfcc209c1416ec0832e4d08191c72
Author:     Ka Ho Ng <[email protected]>
AuthorDate: 2021-08-27 13:42:49 +0000
Commit:     Ka Ho Ng <[email protected]>
CommitDate: 2021-08-27 13:44:16 +0000

    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
---
 share/man/man9/pmap_extract.9 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/pmap_extract.9 b/share/man/man9/pmap_extract.9
index d2154ebe8a0b..77f3b47ec51e 100644
--- a/share/man/man9/pmap_extract.9
+++ b/share/man/man9/pmap_extract.9
@@ -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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to