PMAP_ADDR_HINT(9) MidnightBSD Kernel Developer’s Manual PMAP_ADDR_HINT(9)
NAME
pmap_addr_hint — get a hint for the best-fit mapping of a VM object
SYNOPSIS
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
vm_offset_t
pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size);
DESCRIPTION
The pmap_addr_hint() function returns a hint for the best address at which to map the object obj at address addr of size bytes.
IMPLEMENTATION NOTES
This function is typically called on behalf of mmap(2).
RETURN VALUES
If the implementation can use the address unchanged, it will simply return addr.
SEE ALSO
mmap(2), pmap(9)
AUTHORS
This manual page was written by Bruce M Simpson 〈bms@spc.org〉.
MidnightBSD 0.3 July 21, 2003 MidnightBSD 0.3