summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/specialreg.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1996-06-03 19:37:38 +0000
committersos <sos@FreeBSD.org>1996-06-03 19:37:38 +0000
commit4ef8e1cd88abaf0b2edffbd28bda6ac0f4358e25 (patch)
treecf67a9bb983f45b4110427443a205b9cf79e53c5 /sys/amd64/include/specialreg.h
parentcd913c001e6542e96ed33d5a5071a97e67f9b816 (diff)
downloadFreeBSD-src-4ef8e1cd88abaf0b2edffbd28bda6ac0f4358e25.zip
FreeBSD-src-4ef8e1cd88abaf0b2edffbd28bda6ac0f4358e25.tar.gz
Added missing CR0_NW define for Cyrix 486DLC support. It's still not
stable on my hardware, but its better... *sigh* Obtained from: NetBSD
Diffstat (limited to 'sys/amd64/include/specialreg.h')
-rw-r--r--sys/amd64/include/specialreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/specialreg.h b/sys/amd64/include/specialreg.h
index c503549..9c62438 100644
--- a/sys/amd64/include/specialreg.h
+++ b/sys/amd64/include/specialreg.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
- * $Id: specialreg.h,v 1.7 1995/05/30 08:00:54 rgrimes Exp $
+ * $Id: specialreg.h,v 1.8 1996/01/30 22:55:06 mpp Exp $
*/
#ifndef _MACHINE_SPECIALREG_H_
@@ -57,6 +57,8 @@
#define CR0_NE 0x00000020 /* Numeric Error enable (EX16 vs IRQ13) */
#define CR0_WP 0x00010000 /* Write Protect (honor page protect in all modes) */
#define CR0_AM 0x00040000 /* Alignment Mask (set to enable AC flag) */
+#define CR0_NW 0x20000000 /* Not Write-through */
+#define CR0_CD 0x40000000 /* Cache Disable */
/*
* Cyrix 486 DLC special registers, accessible as IO ports.
OpenPOWER on IntegriCloud