summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cputypes.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-12-24 08:10:52 +0000
committerdg <dg@FreeBSD.org>1995-12-24 08:10:52 +0000
commit86c06a33bbd0e32af5fe2e3e99d092f5cf3b66cb (patch)
tree6e21222a077a727e2169f1241364da74f0b74c3e /sys/i386/include/cputypes.h
parent57c9be3bacec37313a865b8605f8cebe630e0905 (diff)
downloadFreeBSD-src-86c06a33bbd0e32af5fe2e3e99d092f5cf3b66cb.zip
FreeBSD-src-86c06a33bbd0e32af5fe2e3e99d092f5cf3b66cb.tar.gz
Add Pentium Pro CPU detection and special handling. For now, all the
optimizations we have for 586s also apply to 686s...this will be fine- tuned in the future as appropriate.
Diffstat (limited to 'sys/i386/include/cputypes.h')
-rw-r--r--sys/i386/include/cputypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/cputypes.h b/sys/i386/include/cputypes.h
index 52d8e20..0c5667b 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.2 1993/11/07 17:42:49 wollman Exp $
+ * $Id: cputypes.h,v 1.3 1994/09/04 19:59:23 pst Exp $
*/
#ifndef _MACHINE_CPUTYPES_H_
@@ -38,6 +38,7 @@
#define CPUCLASS_386 1
#define CPUCLASS_486 2
#define CPUCLASS_586 3
+#define CPUCLASS_686 4
/*
* Kinds of Processor
@@ -50,5 +51,6 @@
#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 */
+#define CPU_686 7 /* Pentium Pro */
#endif /* _MACHINE_CPUTYPES_H_ */
OpenPOWER on IntegriCloud