aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2012-06-12 11:32:24 +0100
committerMichael Brown <mcb30@ipxe.org>2012-06-12 11:33:43 +0100
commitcdee7866f5d81e873a4ac70a3c10d0a02141b163 (patch)
tree0019a0f185744f4db03636c947b7bcac5d54e0ab /src/arch
parentaddf699c86ae18edd7de13433da78be926c22504 (diff)
downloadipxe-cdee7866f5d81e873a4ac70a3c10d0a02141b163.zip
ipxe-cdee7866f5d81e873a4ac70a3c10d0a02141b163.tar.gz
ipxe-cdee7866f5d81e873a4ac70a3c10d0a02141b163.tar.bz2
[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>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/hci/commands/cpuid_cmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/x86/hci/commands/cpuid_cmd.c b/src/arch/x86/hci/commands/cpuid_cmd.c
index 3172727..6659bf6 100644
--- a/src/arch/x86/hci/commands/cpuid_cmd.c
+++ b/src/arch/x86/hci/commands/cpuid_cmd.c
@@ -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