mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[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>
This commit is contained in:
@@ -42,6 +42,9 @@ struct cpuid_options {
|
|||||||
|
|
||||||
/** "cpuid" option list */
|
/** "cpuid" option list */
|
||||||
static struct option_descriptor cpuid_opts[] = {
|
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,
|
OPTION_DESC ( "amd", 'a', no_argument,
|
||||||
struct cpuid_options, amd, parse_flag ),
|
struct cpuid_options, amd, parse_flag ),
|
||||||
OPTION_DESC ( "ecx", 'c', no_argument,
|
OPTION_DESC ( "ecx", 'c', no_argument,
|
||||||
@@ -51,7 +54,7 @@ static struct option_descriptor cpuid_opts[] = {
|
|||||||
/** "cpuid" command descriptor */
|
/** "cpuid" command descriptor */
|
||||||
static struct command_descriptor cpuid_cmd =
|
static struct command_descriptor cpuid_cmd =
|
||||||
COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
|
COMMAND_DESC ( struct cpuid_options, cpuid_opts, 1, 1,
|
||||||
"[--amd] [--ecx] <bit>" );
|
"[--ext] [--ecx] <bit>" );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The "cpuid" command
|
* The "cpuid" command
|
||||||
|
|||||||
Reference in New Issue
Block a user