HomeFreeBSD

libkvm: add kvm_walk_pages API.

Description

libkvm: add kvm_walk_pages API.

This API allows callers to enumerate all known pages, including any
direct map & kernel map virtual addresses, physical addresses, size,
offset into the core, & protection configured.

For architectures that support direct map addresses, also generate pages
for any direct map only addresses that are not associated with kernel
map addresses.

Fix page size portability issue left behind from previous kvm page table
lookup interface.

Reviewed by: jhb
Sponsored by: Backtrace I/O
Differential Revision: https://reviews.freebsd.org/D12279

Details

Committed
willNov 11 2017, 11:30 PM
Reviewer
jhb
Differential Revision
D12279: libkvm: add kvm_walk_pages API.
Parents
rS325727: bhyve: avoid applying capsicum capabilities to file that was not opened
Branches
Unknown
Tags
Unknown