Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/identcpu.c
Show First 20 Lines • Show All 1,608 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
int | int | ||||
pti_get_default(void) | pti_get_default(void) | ||||
{ | { | ||||
if (strcmp(cpu_vendor, AMD_VENDOR_ID) == 0) | if (strcmp(cpu_vendor, AMD_VENDOR_ID) == 0) | ||||
return (0); | return (0); | ||||
if ((cpu_ia32_arch_caps & IA32_ARCH_CAP_RDCL_NO) != 0) | |||||
return (0); | |||||
return (1); | return (1); | ||||
} | } | ||||
static u_int | static u_int | ||||
find_cpu_vendor_id(void) | find_cpu_vendor_id(void) | ||||
{ | { | ||||
int i; | int i; | ||||
▲ Show 20 Lines • Show All 862 Lines • Show Last 20 Lines |