[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1168011287 0
# Node ID efbfcc3b9f38aba7a58dd7d086bdec1a48bbc129
# Parent  16b0e0f250f49bd383f9cbe4a21155f8df1091cf
Rename the 3DNOW and 3DNOWEXT API constants to THREEDNOW, so that they may be
used directly as identifiers in bindings.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 docs/xen-api/xenapi-datamodel.tex         |    4 ++--
 tools/libxen/include/xen_cpu_feature.h    |    4 ++--
 tools/libxen/src/xen_cpu_feature.c        |    4 ++--
 tools/python/xen/xend/XendAPIConstants.py |    2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff -r 16b0e0f250f4 -r efbfcc3b9f38 docs/xen-api/xenapi-datamodel.tex
--- a/docs/xen-api/xenapi-datamodel.tex Fri Jan 05 14:44:58 2007 +0000
+++ b/docs/xen-api/xenapi-datamodel.tex Fri Jan 05 15:34:47 2007 +0000
@@ -184,8 +184,8 @@ The following enumeration types are used
 \hspace{0.5cm}{\tt NX} &  Execute Disable  \\
 \hspace{0.5cm}{\tt MMXEXT} &  AMD MMX extensions  \\
 \hspace{0.5cm}{\tt LM} &  Long Mode (x86-64)  \\
-\hspace{0.5cm}{\tt 3DNOWEXT} &  AMD 3DNow! extensions  \\
-\hspace{0.5cm}{\tt 3DNOW} &  3DNow!  \\
+\hspace{0.5cm}{\tt THREEDNOWEXT} &  AMD 3DNow! extensions  \\
+\hspace{0.5cm}{\tt THREEDNOW} &  3DNow!  \\
 \hspace{0.5cm}{\tt RECOVERY} &  CPU in recovery mode  \\
 \hspace{0.5cm}{\tt LONGRUN} &  Longrun power control  \\
 \hspace{0.5cm}{\tt LRTI} &  LongRun table interface  \\
diff -r 16b0e0f250f4 -r efbfcc3b9f38 tools/libxen/include/xen_cpu_feature.h
--- a/tools/libxen/include/xen_cpu_feature.h    Fri Jan 05 14:44:58 2007 +0000
+++ b/tools/libxen/include/xen_cpu_feature.h    Fri Jan 05 15:34:47 2007 +0000
@@ -198,12 +198,12 @@ enum xen_cpu_feature
     /**
      *  AMD 3DNow! extensions
      */
-    XEN_CPU_FEATURE_3DNOWEXT,
+    XEN_CPU_FEATURE_THREEDNOWEXT,
 
     /**
      *  3DNow!
      */
-    XEN_CPU_FEATURE_3DNOW,
+    XEN_CPU_FEATURE_THREEDNOW,
 
     /**
      *  CPU in recovery mode
diff -r 16b0e0f250f4 -r efbfcc3b9f38 tools/libxen/src/xen_cpu_feature.c
--- a/tools/libxen/src/xen_cpu_feature.c        Fri Jan 05 14:44:58 2007 +0000
+++ b/tools/libxen/src/xen_cpu_feature.c        Fri Jan 05 15:34:47 2007 +0000
@@ -62,8 +62,8 @@ static const char *lookup_table[] =
     "NX",
     "MMXEXT",
     "LM",
-    "3DNOWEXT",
-    "3DNOW",
+    "THREEDNOWEXT",
+    "THREEDNOW",
     "RECOVERY",
     "LONGRUN",
     "LRTI",
diff -r 16b0e0f250f4 -r efbfcc3b9f38 tools/python/xen/xend/XendAPIConstants.py
--- a/tools/python/xen/xend/XendAPIConstants.py Fri Jan 05 14:44:58 2007 +0000
+++ b/tools/python/xen/xend/XendAPIConstants.py Fri Jan 05 15:34:47 2007 +0000
@@ -41,7 +41,7 @@ XEN_API_CPU_FEATURE = [
     'CMOV', 'PAT', 'PSE36', 'PN', 'CLFLSH', 'DTES',
     'ACPI', 'MMX', 'FXCR', 'XMM', 'XMM2', 'SELFSNOOP',
     'HT', 'ACC', 'IA64', 'SYSCALL', 'MP', 'NX', 'MMXEXT',
-    'LM', '3DNOWEXT', '3DNOW', 'RECOVERY', 'LONGRUN',
+    'LM', 'THREEDNOWEXT', 'THREEDNOW', 'RECOVERY', 'LONGRUN',
     'LRTI', 'CXMMX', 'K6_MTRR', 'CYRIX_ARR', 'CENTAUR_MCR',
     'K8', 'K7', 'P3', 'P4', 'CONSTANT_TSC', 'FXSAVE_LEAK',
     'XMM3', 'MWAIT', 'DSCPL', 'EST', 'TM2', 'CID', 'CX16',

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.