commit bb11cce638499f3152a08842a30640ee016c7b61 Author: Aaron LI <a...@aaronly.me> Date: Sun Jun 6 20:06:59 2021 +0800
pmap: Implement pmap_npt_transform() for NVMM This function will transform an initialized pmap structure for use by NVMM's AMD SVM backend. AMD's NPT (nested page table), aka RVI (rapid virtualization indexing) implementation is more complete than Intel's EPT; it supports A/D bits and uses the same bits positions as native x86 page tables. So this function is a simplified version of pmap_ept_transform(). Summary of changes: sys/platform/pc64/include/pmap.h | 1 + sys/platform/pc64/x86_64/pmap.c | 36 ++++++++++++++++++++++++++++++++++++ sys/vm/pmap.h | 1 + 3 files changed, 38 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bb11cce638499f3152a08842a30640ee016c7b61 -- DragonFly BSD source repository