tail head cat sleep
QR code linking to this page

Manual Pages  — PMAP_QENTER

NAME

pmap_qenter, pmap_qremove – manage temporary kernel space mappings

CONTENTS

SYNOPSIS

#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);

DESCRIPTION

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 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.

SEE ALSO

pmap(9)

AUTHORS

This manual page was written by Bruce M Simpson <Mt bms@spc.org>.

PMAP_QENTER (9) July 21, 2003

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

I have a natural revulsion to any operating system that shows so little planning as to have to named all of its commands after digestive noises (awk, grep, fsck, nroff).