[PATCH] i386 displayCpu, add few more CPU flag names.

Karel Gardas kgardas at objectsecurity.com
Sat Dec 16 17:34:30 UTC 2006


Hello,

to cleanup my RTEMS tree, I'm sending attach patch. It should be 
applicable against the RTEMS 4.7.

Cheers,
Karel
--
Karel Gardas                  kgardas at objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

Index: c/src/lib/libbsp/i386/ChangeLog
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libbsp/i386/ChangeLog,v
retrieving revision 1.33.2.2
diff -u -r1.33.2.2 ChangeLog
--- c/src/lib/libbsp/i386/ChangeLog	2 Dec 2006 06:03:32 -0000	1.33.2.2
+++ c/src/lib/libbsp/i386/ChangeLog	16 Dec 2006 17:31:14 -0000
@@ -1,3 +1,7 @@
+2006-12-16  Karel Gardas  <kgardas at objectsecurity.com>
+
+	* displayCpu.c: add few more CPU flag names
+
  2006-12-02	Ralf Corsépius <ralf.corsepius at rtems.org>

  	* configure.ac: New BUG-REPORT address.
Index: c/src/lib/libcpu/i386/displayCpu.c
===================================================================
RCS file: /usr1/CVS/rtems/c/src/lib/libcpu/i386/displayCpu.c,v
retrieving revision 1.8
diff -u -r1.8 displayCpu.c
--- c/src/lib/libcpu/i386/displayCpu.c	4 Sep 2003 18:53:01 -0000	1.8
+++ c/src/lib/libcpu/i386/displayCpu.c	16 Dec 2006 17:31:20 -0000
@@ -177,9 +177,9 @@
    int i;
    static const char *x86_cap_flags[] = {
      "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
-    "cx8", "apic", "10", "11", "mtrr", "pge", "mca", "cmov",
-    "16", "17", "18", "19", "20", "21", "22", "mmx",
-    "24", "25", "26", "27", "28", "29", "30", "31"
+    "cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov",
+    "pat", "pse36", "18", "cflsh", "20", "21", "22", "mmx",
+    "fxsr", "sse", "sse2", "27", "28", "29", "30", "31"
    };

    printk("cpu\t\t\t: %c86\n", x86+'0');


More information about the users mailing list