Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2014 19:47:37 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271208 - head/sys/x86/include
Message-ID:  <201409061947.s86JlbQL085058@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Sep  6 19:47:37 2014
New Revision: 271208
URL: http://svnweb.freebsd.org/changeset/base/271208

Log:
  Add a define for index of IA32_XSS MSR, which is, per SDM rev. 50, an
  analog of XCR0 for ring 0 FPU state, used by XSAVES and XRSTORS.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/x86/include/specialreg.h

Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h	Sat Sep  6 19:43:48 2014	(r271207)
+++ head/sys/x86/include/specialreg.h	Sat Sep  6 19:47:37 2014	(r271208)
@@ -490,6 +490,8 @@
 #define	MSR_APIC_DCR_TIMER	0x83e
 #define	MSR_APIC_SELF_IPI	0x83f
 
+#define	MSR_IA32_XSS		0xda0
+
 /*
  * Constants related to MSR's.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409061947.s86JlbQL085058>