aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2004-08-10 21:43:40 +0000
committerAlan Cox <alc@FreeBSD.org>2004-08-10 21:43:40 +0000
commit6306df6b897d7b83b46d7822d633dae9c0bc9dcc (patch)
tree263eea7ddfcfe8309fd069b7c5bcd994bda8508a /sys
parent80efc187ed4224a27c24041aa402111f9ed2e8b3 (diff)
downloadsrc-6306df6b897d7b83b46d7822d633dae9c0bc9dcc.tar.gz
src-6306df6b897d7b83b46d7822d633dae9c0bc9dcc.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/pmap.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index d767a7f384fe..b94f46bda3d5 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)
{