NetBSD/src dfJCh7d — lib/libnvmm libnvmm.3 libnvmm.c, sys/dev/nvmm nvmm.c nvmm.h
Make it possible for an emulator to set the protection of the guest pages. For some reason I had initially concluded that it wasn't doable; verily it is, so let's do it. The reserved 'flags' argument of nvmm_gpa_map() becomes 'prot' and takes mmap-like protection codes.
Version | Delta | File | |
---|---|---|---|
1.5 | +20 | -7 | tests/lib/libnvmm/h_io_assist.c |
1.8 | +16 | -6 | tests/lib/libnvmm/h_mem_assist.c |
1.11 | +10 | -4 | sys/dev/nvmm/nvmm.c |
1.20 | +6 | -5 | sys/dev/nvmm/x86/nvmm_x86_vmx.c |
1.35 | +6 | -5 | sys/dev/nvmm/x86/nvmm_x86_svm.c |
1.5 | +2 | -8 | sys/dev/nvmm/nvmm.h |
1.12 | +3 | -3 | lib/libnvmm/libnvmm.3 |
1.7 | +3 | -3 | lib/libnvmm/libnvmm.c |
1.4 | +2 | -2 | sys/dev/nvmm/nvmm_ioctl.h |
+68 | -43 | 9 files |