summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-14 22:05:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-03-14 22:05:46 +0000
commitf9a803ecd5bb3c006fc0db9606468cc2c4dfcf73 (patch)
treeb806c88c4b3a8f5426a3f551e23c022568dbce2c /sys/arch/i386/include
parent06797afd5c4ef3ff84d99df761a919d73292001b (diff)
Support for the VIA C3 Nehemiah on-cpu random number generator. This chip
will be shipping soon (we have nice prototypes). Written by toby.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r--sys/arch/i386/include/specialreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/include/specialreg.h b/sys/arch/i386/include/specialreg.h
index ceb6219f88d..a03e77360ef 100644
--- a/sys/arch/i386/include/specialreg.h
+++ b/sys/arch/i386/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.11 2001/12/04 17:47:24 mickey Exp $ */
+/* $OpenBSD: specialreg.h,v 1.12 2003/03/14 22:05:45 deraadt Exp $ */
/* $NetBSD: specialreg.h,v 1.7 1994/10/27 04:16:26 cgd Exp $ */
/*-
@@ -85,6 +85,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 SSE instructions (P6 & later) */
+#define CR4_OSXMMEXCPT 0x00000400 /* enable SSE instructions (P6 & later) */
/*
* CPUID "features" (and "extended features") bits: