]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[cmdline] Use "cpuid --ext" instead of "cpuid --amd"
authorMichael Brown <mcb30@ipxe.org>
Tue, 12 Jun 2012 10:32:24 +0000 (11:32 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 12 Jun 2012 10:33:43 +0000 (11:33 +0100)
Avoid potential confusion in the documentation by using a
vendor-neutral name for the extended (AMD-defined) feature set.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/hci/commands/cpuid_cmd.c

index 3172727e3240688277aab9f9d2cf9ebda1152d0a..6659bf60f93adf23b64ab97cb9c74263ccc47002 100644 (file)
@@ -42,6 +42,9 @@ struct cpuid_options {
 
 /** "cpuid" option list */
 static struct option_descriptor cpuid_opts[] = {
+       OPTION_DESC ( "ext", 'e', no_argument,
+                     struct cpuid_options, amd, parse_flag ),
+       /* "--amd" retained for backwards compatibility */
        OPTION_DESC ( "amd", 'a', no_argument,
                      struct cpuid_options, amd, parse_flag ),
        OPTION_DESC ( "ecx", 'c', no_argument,
@@ -51,7 +54,7 @@ static struct option_descriptor cpuid_opts[] = {
 /** "cpuid" command descriptor */
 static struct command_descriptor cpuid_cmd =
        COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
-                      "[--amd] [--ecx] <bit>" );
+                      "[--ext] [--ecx] <bit>" );
 
 /**
  * The "cpuid" command