Print this page
XXXX define x2apic feature flag
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011 by Delphix. All rights reserved.
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2014 Josef "Jeff" Sipek <jeffpc@josefsipek.net>
*/
/*
* Copyright (c) 2010, Intel Corporation.
* All rights reserved.
*/
*** 161,171 ****
"avx",
"vmx",
"svm",
"topoext",
"f16c",
! "rdrand"
};
boolean_t
is_x86_feature(void *featureset, uint_t feature)
{
--- 162,173 ----
"avx",
"vmx",
"svm",
"topoext",
"f16c",
! "rdrand",
! "x2apic",
};
boolean_t
is_x86_feature(void *featureset, uint_t feature)
{
*** 1309,1318 ****
--- 1311,1323 ----
add_x86_feature(featureset,
X86FSET_F16C);
}
}
}
+ if (cp->cp_ecx & CPUID_INTC_ECX_X2APIC) {
+ add_x86_feature(featureset, X86FSET_X2APIC);
+ }
if (cp->cp_edx & CPUID_INTC_EDX_DE) {
add_x86_feature(featureset, X86FSET_DE);
}
#if !defined(__xpv)
if (cp->cp_ecx & CPUID_INTC_ECX_MON) {