FreeBSD/src da2f3f9 (r348271) — sys/amd64/include vmm.h, sys/amd64/vmm vmm.c vmm_dev.c
MFC: r346714: Add accessor function for vm->maxcpus Replace most VM_MAXCPU constant useses with an accessor function to vm->maxcpus which for now is initialized and kept at the value of VM_MAXCPUS. This is a rework of Fabian Freyer (fabian.freyer_physik.tu-berlin.de) work from D10070 to adjust it for the cpu topology changes that occured in r332298 Approved by: re (kib)
Delta | File | |
---|---|---|
+44 | -37 | sys/amd64/vmm/vmm.c |
+22 | -11 | sys/amd64/vmm/vmm_dev.c |
+7 | -4 | sys/amd64/vmm/io/vlapic.c |
+6 | -2 | sys/amd64/vmm/intel/vmx.c |
+2 | -2 | sys/amd64/vmm/vmm_lapic.c |
+3 | -1 | sys/amd64/vmm/amd/svm.c |
+1 | -1 | sys/amd64/vmm/vmm_stat.c |
+1 | -0 | sys/amd64/include/vmm.h |
+86 | -58 | 8 files |