6a52e4b1cd
AMD only supports "syscall" from 32-bit compat usermode. Intel and Centaur(?) only support "sysenter" from 32-bit compat usermode. Set the X86 feature bits accordingly, and set up the vdso in accordance with those bits. On the offchance we run on in a 64-bit environment which supports neither syscall nor sysenter from 32-bit mode, then fall back to the int $0x80 vdso. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> |
||
---|---|---|
.. | ||
cpufreq | ||
mcheck | ||
mtrr | ||
addon_cpuid_features.c | ||
amd.c | ||
amd_64.c | ||
bugs.c | ||
bugs_64.c | ||
centaur.c | ||
centaur_64.c | ||
common.c | ||
common_64.c | ||
cpu.h | ||
cyrix.c | ||
feature_names.c | ||
intel.c | ||
intel_64.c | ||
intel_cacheinfo.c | ||
Makefile | ||
perfctr-watchdog.c | ||
proc.c | ||
transmeta.c | ||
umc.c |