diff options
author | sos <sos@FreeBSD.org> | 1996-06-03 19:37:38 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1996-06-03 19:37:38 +0000 |
commit | 4ef8e1cd88abaf0b2edffbd28bda6ac0f4358e25 (patch) | |
tree | cf67a9bb983f45b4110427443a205b9cf79e53c5 /sys/amd64/include/specialreg.h | |
parent | cd913c001e6542e96ed33d5a5071a97e67f9b816 (diff) | |
download | FreeBSD-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.h | 4 |
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. |