Browse Source

[cmdline] Use "cpuid --ext" instead of "cpuid --amd"

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>
tags/v1.20.1
Michael Brown 12 years ago
parent
commit
cdee7866f5
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/arch/x86/hci/commands/cpuid_cmd.c

+ 4
- 1
src/arch/x86/hci/commands/cpuid_cmd.c View File

42
 
42
 
43
 /** "cpuid" option list */
43
 /** "cpuid" option list */
44
 static struct option_descriptor cpuid_opts[] = {
44
 static struct option_descriptor cpuid_opts[] = {
45
+	OPTION_DESC ( "ext", 'e', no_argument,
46
+		      struct cpuid_options, amd, parse_flag ),
47
+	/* "--amd" retained for backwards compatibility */
45
 	OPTION_DESC ( "amd", 'a', no_argument,
48
 	OPTION_DESC ( "amd", 'a', no_argument,
46
 		      struct cpuid_options, amd, parse_flag ),
49
 		      struct cpuid_options, amd, parse_flag ),
47
 	OPTION_DESC ( "ecx", 'c', no_argument,
50
 	OPTION_DESC ( "ecx", 'c', no_argument,
51
 /** "cpuid" command descriptor */
54
 /** "cpuid" command descriptor */
52
 static struct command_descriptor cpuid_cmd =
55
 static struct command_descriptor cpuid_cmd =
53
 	COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
56
 	COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
54
-		       "[--amd] [--ecx] <bit>" );
57
+		       "[--ext] [--ecx] <bit>" );
55
 
58
 
56
 /**
59
 /**
57
  * The "cpuid" command
60
  * The "cpuid" command

Loading…
Cancel
Save