git: nvmm: Port to DragonFly #22: pmap EPT/NPT base address

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:19 PDT 2021


commit f027439746a0f39527ba9ccda841bd9fe3bf3a31
Author: Aaron LI <aly at aaronly.me>
Date:   Sun May 23 18:21:31 2021 +0800

    nvmm: Port to DragonFly #22: pmap EPT/NPT base address
    
    Replace NetBSD's pmap->pm_pdirpa[0] with our vtophys(pmap->pm_pml4).
    
    In addition, use vmspace_pmap() to grab the pmap, which is more
    consistent with other code in our code base.

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 10 +++++-----
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c |  7 +++----
 2 files changed, 8 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f027439746a0f39527ba9ccda841bd9fe3bf3a31


-- 
DragonFly BSD source repository


More information about the Commits mailing list