Copyright (c) 2003 Bruce M Simpson <firstname.lastname@example.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documenta...
NAMEpmap_qenter pmap_qremove - manage temporary kernel space mappings
SYNOPSISIn sys/param.h In vm/vm.h In vm/pmap.h Ft void Fn pmap_qenter vm_offset_t sva vm_page_t *m int count Ft void Fn pmap_qremove vm_offset_t sva int count
DESCRIPTIONThe Fn pmap_qenter function accepts a linear array of Fa count pointers to wired pages Fa *m , and enters each of these pages into the kernel virtual address (KVA) space, beginning at the address Fa sva .
The Fn pmap_qremove function tears out a mapping from the kernel virtual address space, beginning at Fa sva and for Fa count pages.
IMPLEMENTATION NOTESThe Fn pmap_qenter function is intended for temporary mappings that do not require page modification or reference counting. Old mappings are simply overwritten. The pages must be wired into physical memory.
The corresponding Fn pmap_qremove function is intended to remove such temporary mappings.