mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add a comment describing pmap_extract_and_hold() noting that the protection
check still needs implementation on arm.
This commit is contained in:
parent
80efc187ed
commit
6306df6b89
1 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue