lkml.org 
[lkml]   [1999]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAMD Athlon flags and /proc/cpuinfo
Hi,

I noticed several Athlon flags were missing from /proc/cpuinfo,
especially mmx_ext and 3dnow_ext. I looked them up in the AMD
documentation. This is the resulting patch:

--- arch/i386/kernel/setup-orig.c Tue Nov 30 11:54:53 1999
+++ arch/i386/kernel/setup.c Tue Nov 30 12:02:55 1999
@@ -31,6 +31,9 @@
*
* Added proper L2 cache detection for Coppermine
* Dragan Stancevic <visitor@valinux.com>, October 1999
+ *
+ * Added AMD Athlon specific capability flags to /proc/cpuinfo
+ * Markus L. Noga <markus@noga.de>, November 1999
*/

/*
@@ -1410,7 +1413,11 @@
case X86_VENDOR_AMD:
if (c->x86 == 5 && c->x86_model == 6)
x86_cap_flags[10] = "sep";
+ x86_cap_flags[ 6] = "pae";
+ x86_cap_flags[14] = "mca";
x86_cap_flags[16] = "fcmov";
+ x86_cap_flags[22] = "mmx_ext";
+ x86_cap_flags[30] = "3dnow_ext";
x86_cap_flags[31] = "3dnow";
break;

Ciao,

Markus

--
"Nieder mit den Zitaten!" -Markus L. Noga <markus@noga.de>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.022 / U:2.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site