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