svn commit: r277626 - head/sys/amd64/vmm/amd
Neel Natu
neel at FreeBSD.org
Sat Jan 24 00:35:50 UTC 2015
Author: neel
Date: Sat Jan 24 00:35:49 2015
New Revision: 277626
URL: https://svnweb.freebsd.org/changeset/base/277626
Log:
Add macro to identify AVIC capability (advanced virtual interrupt controller)
in AMD processors.
Submitted by: Dmitry Luhtionov (dmitryluhtionov at gmail.com)
Modified:
head/sys/amd64/vmm/amd/svm.c
Modified: head/sys/amd64/vmm/amd/svm.c
==============================================================================
--- head/sys/amd64/vmm/amd/svm.c Sat Jan 24 00:27:50 2015 (r277625)
+++ head/sys/amd64/vmm/amd/svm.c Sat Jan 24 00:35:49 2015 (r277626)
@@ -80,6 +80,7 @@ SYSCTL_NODE(_hw_vmm, OID_AUTO, svm, CTLF
#define AMD_CPUID_SVM_DECODE_ASSIST BIT(7) /* Decode assist */
#define AMD_CPUID_SVM_PAUSE_INC BIT(10) /* Pause intercept filter. */
#define AMD_CPUID_SVM_PAUSE_FTH BIT(12) /* Pause filter threshold */
+#define AMD_CPUID_SVM_AVIC BIT(13) /* AVIC present */
#define VMCB_CACHE_DEFAULT (VMCB_CACHE_ASID | \
VMCB_CACHE_IOPM | \
More information about the svn-src-all
mailing list