summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cputypes.h
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-09-04 19:59:24 +0000
committerpst <pst@FreeBSD.org>1994-09-04 19:59:24 +0000
commit915907cc03d01b8accea60735a1245bd0f17feee (patch)
tree41915c593ebc31ab434cdeaf9ccb1f28710e35da /sys/i386/include/cputypes.h
parent461bab45ed4c758a4335608fb201cf47b56ab064 (diff)
downloadFreeBSD-src-915907cc03d01b8accea60735a1245bd0f17feee.zip
FreeBSD-src-915907cc03d01b8accea60735a1245bd0f17feee.tar.gz
Detect if we're running on a Cyrix 486DLC and enable automatic cache
negation whenever we access memory between 640k and 1M. Original code from NetBSD 1.0-BETA. The exact origins are unclear but Theo de Raadt, Charles, and Michael V. may have contributed to it. Submitted by: pst
Diffstat (limited to 'sys/i386/include/cputypes.h')
-rw-r--r--sys/i386/include/cputypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/include/cputypes.h b/sys/i386/include/cputypes.h
index c85fe19..52d8e20 100644
--- a/sys/i386/include/cputypes.h
+++ b/sys/i386/include/cputypes.h
@@ -24,7 +24,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cputypes.h,v 1.1 1993/10/08 13:40:54 rgrimes Exp $
+ * $Id: cputypes.h,v 1.2 1993/11/07 17:42:49 wollman Exp $
*/
#ifndef _MACHINE_CPUTYPES_H_
@@ -49,5 +49,6 @@
#define CPU_486SX 3 /* Intel 80486SX */
#define CPU_486 4 /* Intel 80486DX */
#define CPU_586 5 /* Intel P.....m (I hate lawyers; it's TM) */
+#define CPU_486DLC 6 /* Cyrix 486DLC */
#endif /* _MACHINE_CPUTYPES_H_ */
OpenPOWER on IntegriCloud