pmap_qremove(9freebsd)

pmap_qremove9freebsd

Manage temporary kernel space mappings

Part of pmap_qenter(9freebsd).

Usage

#include <sys/param.h>

#include <vm/vm.h>

#include <vm/pmap.h>

void

pmap_qenter(vm_offset_t sva, vm_page_t *m, int count);

void

pmap_qremove(vm_offset_t sva, int count);

Overview

The pmap_qenter() function accepts a linear array of count pointers to wired pages *m, and enters each of these pages into the kernel virtual address (KVA) space, beginning at the address sva. The pages are mapped non-executable, if possible. (For example, non-PAE i386 has no capability to map pages non-executable.)

The pmap_qremove() function tears out a mapping from the kernel virtual address space, beginning at sva and for count pages.

Implementation notes

The 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 pmap_qremove() function is intended to remove such temporary mappings.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

Authors

This manual page was written by Bruce M Simpson ⟨[email protected]⟩.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.