NetBSD/src y3yBbWR — sys/arch/x86/x86 pmap.c, sys/dev/nvmm/x86 nvmm_x86_vmx.c
Add support for CPUs that don't have the EPT_{A,D} bits. On such CPUs, these bits are ignored by the hardware. We don't care about setting them, however, we must always assume they are set. Modify the pmap code to do that. While here, in pmap_ept_remove_pte, don't flush the TLB when it's not needed. Tested on an old Intel Celeron.
Version | Delta | File | |
---|---|---|---|
1.326 | +41 | -12 | sys/arch/x86/x86/pmap.c |
1.13 | +9 | -5 | sys/dev/nvmm/x86/nvmm_x86_vmx.c |
+50 | -17 | 2 files |