From owner-freebsd-hackers Tue Oct 1 08:25:03 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA22940 for hackers-outgoing; Tue, 1 Oct 1996 08:25:03 -0700 (PDT) Received: from ns.pa-consulting.com (ns.pa-consulting.com [193.118.224.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA22928 for ; Tue, 1 Oct 1996 08:24:58 -0700 (PDT) Received: from SMTPGATE.PA-CONSULTING.COM by ns.pa-consulting.com (8.6.4) id QAA19865; Tue, 1 Oct 1996 16:35:03 +0100 Received: by SMTPGATE.PA-CONSULTING.COM with Microsoft Mail id <3251ABFE@SMTPGATE.PA-CONSULTING.COM>; Tue, 01 Oct 96 16:40:46 PDT From: Duncan Barclay To: freebsd-hackers Subject: CYRIX Code in locore.s Date: Tue, 01 Oct 96 16:24:00 PDT Message-ID: <3251ABFE@SMTPGATE.PA-CONSULTING.COM> Encoding: 24 TEXT X-Mailer: Microsoft Mail V3.0 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi I just got a DX2/66 to upgrade my DX33 with and had a wander around locore.s because what I thought was an SGS-Thompson chip got identified as a Cyrix chip. I have now discovered that they are the same so thats okay. What I dod come across was a load of #ifdef CYRIX_CACHE_WORKING code which intreged me. I think I have worked out what it does (ie. make all memory cacheable) but it doesnt want to compile because a couple of Cyrix specific control register bits are not defined (CR0_NW and CR_C?). Can anyone confirm if this code is needed and give me the definitions for CR0_??. Thanks Duncan