diff options
author | Michael Brown | 2012-06-06 17:08:24 +0200 |
---|---|---|
committer | Michael Brown | 2012-06-07 01:37:04 +0200 |
commit | 591541af667dbf3617b81d89f92abf01e9e1a16d (patch) | |
tree | 5f1a4e31c91b9d3533e9167b6252d0ba0724860d /src/config/config.c | |
parent | [contrib] Update bochsrc.txt to latest version of bochs (diff) | |
download | ipxe-591541af667dbf3617b81d89f92abf01e9e1a16d.tar.gz ipxe-591541af667dbf3617b81d89f92abf01e9e1a16d.tar.xz ipxe-591541af667dbf3617b81d89f92abf01e9e1a16d.zip |
[cmdline] Add "cpuid" command
Allow x86 CPU feature flags (such as support for 64-bit mode) to be
checked using the "cpuid" command.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c index 9c1df1f3..eebd849b 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -238,6 +238,9 @@ REQUIRE_OBJECT ( vlan_cmd ); #ifdef REBOOT_CMD REQUIRE_OBJECT ( reboot_cmd ); #endif +#ifdef CPUID_CMD +REQUIRE_OBJECT ( cpuid_cmd ); +#endif /* * Drag in miscellaneous objects |