schedule(): use XSAVE/XRSTOR and swap floating point registers in context switch

This commit is contained in:
Balazs Gerofi
2015-08-07 08:41:00 +09:00
parent d5c243571f
commit aa191b87d3
3 changed files with 61 additions and 14 deletions

View File

@ -58,6 +58,7 @@
#define MSR_IA32_ENERGY_PERF_BIAS 0x000001b0
#define MSR_NHM_TURBO_RATIO_LIMIT 0x000001ad
#define MSR_IA32_CR_PAT 0x00000277
#define MSR_IA32_XSS 0xda0
#define CVAL(event, mask) \