mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
[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>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -36,5 +36,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
|
||||
|
||||
#define REBOOT_CMD /* Reboot command */
|
||||
#define CPUID_CMD /* x86 CPU feature detection command */
|
||||
|
||||
#endif /* CONFIG_DEFAULTS_PCBIOS_H */
|
||||
|
||||
Reference in New Issue
Block a user