ia64/xen-unstable

changeset 13277:efbfcc3b9f38

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@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Jan 05 15:34:47 2007 +0000 (2007-01-05)
parents 16b0e0f250f4
children 5f86325c62f6
files docs/xen-api/xenapi-datamodel.tex tools/libxen/include/xen_cpu_feature.h tools/libxen/src/xen_cpu_feature.c tools/python/xen/xend/XendAPIConstants.py
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Fri Jan 05 14:44:58 2007 +0000
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Fri Jan 05 15:34:47 2007 +0000
     1.3 @@ -184,8 +184,8 @@ The following enumeration types are used
     1.4  \hspace{0.5cm}{\tt NX} &  Execute Disable  \\
     1.5  \hspace{0.5cm}{\tt MMXEXT} &  AMD MMX extensions  \\
     1.6  \hspace{0.5cm}{\tt LM} &  Long Mode (x86-64)  \\
     1.7 -\hspace{0.5cm}{\tt 3DNOWEXT} &  AMD 3DNow! extensions  \\
     1.8 -\hspace{0.5cm}{\tt 3DNOW} &  3DNow!  \\
     1.9 +\hspace{0.5cm}{\tt THREEDNOWEXT} &  AMD 3DNow! extensions  \\
    1.10 +\hspace{0.5cm}{\tt THREEDNOW} &  3DNow!  \\
    1.11  \hspace{0.5cm}{\tt RECOVERY} &  CPU in recovery mode  \\
    1.12  \hspace{0.5cm}{\tt LONGRUN} &  Longrun power control  \\
    1.13  \hspace{0.5cm}{\tt LRTI} &  LongRun table interface  \\
     2.1 --- a/tools/libxen/include/xen_cpu_feature.h	Fri Jan 05 14:44:58 2007 +0000
     2.2 +++ b/tools/libxen/include/xen_cpu_feature.h	Fri Jan 05 15:34:47 2007 +0000
     2.3 @@ -198,12 +198,12 @@ enum xen_cpu_feature
     2.4      /**
     2.5       *  AMD 3DNow! extensions
     2.6       */
     2.7 -    XEN_CPU_FEATURE_3DNOWEXT,
     2.8 +    XEN_CPU_FEATURE_THREEDNOWEXT,
     2.9  
    2.10      /**
    2.11       *  3DNow!
    2.12       */
    2.13 -    XEN_CPU_FEATURE_3DNOW,
    2.14 +    XEN_CPU_FEATURE_THREEDNOW,
    2.15  
    2.16      /**
    2.17       *  CPU in recovery mode
     3.1 --- a/tools/libxen/src/xen_cpu_feature.c	Fri Jan 05 14:44:58 2007 +0000
     3.2 +++ b/tools/libxen/src/xen_cpu_feature.c	Fri Jan 05 15:34:47 2007 +0000
     3.3 @@ -62,8 +62,8 @@ static const char *lookup_table[] =
     3.4      "NX",
     3.5      "MMXEXT",
     3.6      "LM",
     3.7 -    "3DNOWEXT",
     3.8 -    "3DNOW",
     3.9 +    "THREEDNOWEXT",
    3.10 +    "THREEDNOW",
    3.11      "RECOVERY",
    3.12      "LONGRUN",
    3.13      "LRTI",
     4.1 --- a/tools/python/xen/xend/XendAPIConstants.py	Fri Jan 05 14:44:58 2007 +0000
     4.2 +++ b/tools/python/xen/xend/XendAPIConstants.py	Fri Jan 05 15:34:47 2007 +0000
     4.3 @@ -41,7 +41,7 @@ XEN_API_CPU_FEATURE = [
     4.4      'CMOV', 'PAT', 'PSE36', 'PN', 'CLFLSH', 'DTES',
     4.5      'ACPI', 'MMX', 'FXCR', 'XMM', 'XMM2', 'SELFSNOOP',
     4.6      'HT', 'ACC', 'IA64', 'SYSCALL', 'MP', 'NX', 'MMXEXT',
     4.7 -    'LM', '3DNOWEXT', '3DNOW', 'RECOVERY', 'LONGRUN',
     4.8 +    'LM', 'THREEDNOWEXT', 'THREEDNOW', 'RECOVERY', 'LONGRUN',
     4.9      'LRTI', 'CXMMX', 'K6_MTRR', 'CYRIX_ARR', 'CENTAUR_MCR',
    4.10      'K8', 'K7', 'P3', 'P4', 'CONSTANT_TSC', 'FXSAVE_LEAK',
    4.11      'XMM3', 'MWAIT', 'DSCPL', 'EST', 'TM2', 'CID', 'CX16',