iPXE
|
x86 CPU feature detection command More...
#include <stdint.h>
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
#include <ipxe/cpuid.h>
#include <ipxe/command.h>
#include <ipxe/parseopt.h>
Go to the source code of this file.
Data Structures | |
struct | cpuid_options |
"cpuid" options More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static int | cpuid_exec (int argc, char **argv) |
The "cpuid" command. More... | |
Variables | |
static struct option_descriptor | cpuid_opts [] |
"cpuid" option list More... | |
static struct command_descriptor | cpuid_cmd |
"cpuid" command descriptor More... | |
struct command cpuid_command | __command |
x86 CPU feature detection command More... | |
x86 CPU feature detection command
Definition in file cpuid_cmd.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
The "cpuid" command.
argc | Argument count |
argv | Argument list |
rc | Return status code |
Definition at line 70 of file cpuid_cmd.c.
References bit, cpuid_cmd, x86_feature_registers::ecx, x86_feature_registers::edx, ENOENT, features, optind, opts, parse_integer(), parse_options(), rc, and x86_features().
|
static |
"cpuid" option list
Definition at line 49 of file cpuid_cmd.c.
|
static |
"cpuid" command descriptor
Definition at line 60 of file cpuid_cmd.c.
Referenced by cpuid_exec().
struct command cpuid_command __command |
x86 CPU feature detection command
Definition at line 98 of file cpuid_cmd.c.