pmap_zero_area9freebsd
Zero-fill a page using machine-dependent optimizations
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
void
pmap_zero_page(vm_page_t m);
void
pmap_zero_page_area(vm_page_t m, int off, int size);
Overview
The pmap_zero_page() function zero-fills an entire page using machine-dependent optimizations. The pmap_zero_page_area() function is used to zero-fill an area of a page. The range specified must not cross a page boundary; it must be contained entirely within a single page.
Implementation notes
This function is required to be implemented for each architecture supported by FreeBSD.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 6 times.