git: nvmm(4): Sync a few minor changes from m00nbsd

Aaron LI aly at crater.dragonflybsd.org
Fri Aug 7 00:23:36 PDT 2026


commit 657498dc7d394da0b8c062022a906e5654bb78c3
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Aug 5 20:16:59 2026 +0800

    nvmm(4): Sync a few minor changes from m00nbsd
    
    * Add new CPUID bits, and rename a few existing ones.
    
    * Define NPF constants locally; don't rely on OS-provided PGEX_* values.
    
    * Use os_vmspace_t instead of 'struct vmspace', which is the proper
      OS-independent structure.
    
    No functional changes.
    
    Credit: Maxime Villard (m00nbsd)

Summary of changes:
 sys/dev/virtual/nvmm/nvmm.c             |  4 ++--
 sys/dev/virtual/nvmm/nvmm_internal.h    |  2 +-
 sys/dev/virtual/nvmm/x86/nvmm_x86.c     | 17 +++++++++++++++--
 sys/dev/virtual/nvmm/x86/nvmm_x86.h     | 21 +++++++++++++++++----
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 18 +++++++++++++-----
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c |  2 +-
 6 files changed, 49 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/657498dc7d394da0b8c062022a906e5654bb78c3


-- 
DragonFly BSD source repository


More information about the Commits mailing list