git: libnvmm: Improve the page walker
Aaron LI
aly at crater.dragonflybsd.org
Sat Oct 3 07:05:12 PDT 2026
commit e1b2548552cc47cbdeda8463afd5d3ddfa2acbf2
Author: Aaron LI <aly at aaronly.me>
Date: Sat Oct 3 19:38:48 2026 +0800
libnvmm: Improve the page walker
* Implement A/D bit setting.
* Inject #PFs on non-present pages when emulating MMIOs. This is needed
for guests like Windows 2000 that aggressively page out memory that
they then use in MMIO operations.
* Fix the '64bit walk - present' test that failed in the previous
commit.
Obtained-from: NVMM Reference Implementation
Summary of changes:
lib/libnvmm/libnvmm_x86.c | 591 +++++++++++++++++++++++++++++++---------------
1 file changed, 407 insertions(+), 184 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1b2548552cc47cbdeda8463afd5d3ddfa2acbf2
--
DragonFly BSD source repository
More information about the Commits
mailing list