Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include Add fxsr CR4 bits.



details:   https://anonhg.NetBSD.org/src/rev/5ad63f3b4881
branches:  trunk
changeset: 511408:5ad63f3b4881
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 19 09:12:49 2001 +0000

description:
Add fxsr CR4 bits.

diffstat:

 sys/arch/i386/include/specialreg.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r bb0ad7e1719d -r 5ad63f3b4881 sys/arch/i386/include/specialreg.h
--- a/sys/arch/i386/include/specialreg.h        Tue Jun 19 09:10:30 2001 +0000
+++ b/sys/arch/i386/include/specialreg.h        Tue Jun 19 09:12:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.15 2000/12/21 05:11:00 enami Exp $    */
+/*     $NetBSD: specialreg.h,v 1.16 2001/06/19 09:12:49 fvdl Exp $     */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -84,6 +84,8 @@
 #define CR4_MCE        0x00000040      /* machine check enable */
 #define CR4_PGE        0x00000080      /* page global enable */
 #define CR4_PCE        0x00000100      /* enable RDPMC instruction for all cpls */
+#define CR4_OSFXSR     0x00000200      /* enable fxsave/fxrestor and SSE */
+#define CR4_OSXMMEXCPT 0x00000400      /* enable unmasked SSE exceptions */
 
 /*
  * CPUID "features" bits:



Home | Main Index | Thread Index | Old Index