From 6306df6b897d7b83b46d7822d633dae9c0bc9dcc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 10 Aug 2004 21:43:40 +0000 Subject: [PATCH] Add a comment describing pmap_extract_and_hold() noting that the protection check still needs implementation on arm. --- sys/arm/arm/pmap.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index d767a7f384f..b94f46bda3d 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -3546,6 +3546,13 @@ pmap_extract(pmap_t pm, vm_offset_t va) return (pa); } +/* + * Atomically extract and hold the physical page with the given + * pmap and virtual address pair if that mapping permits the given + * protection. + * + * XXX Need to implement the protection check. + */ vm_page_t pmap_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot) {