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/arch/x86/include/bits/errfile.h | |
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/arch/x86/include/bits/errfile.h')
-rw-r--r-- | src/arch/x86/include/bits/errfile.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/x86/include/bits/errfile.h b/src/arch/x86/include/bits/errfile.h index ccf00b86..f66cbaa1 100644 --- a/src/arch/x86/include/bits/errfile.h +++ b/src/arch/x86/include/bits/errfile.h @@ -38,8 +38,10 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define ERRFILE_undionly ( ERRFILE_ARCH | ERRFILE_NET | 0x00030000 ) #define ERRFILE_undirom ( ERRFILE_ARCH | ERRFILE_NET | 0x00040000 ) -#define ERRFILE_timer_rdtsc ( ERRFILE_ARCH | ERRFILE_DRIVER | 0x00000000 ) -#define ERRFILE_timer_bios ( ERRFILE_ARCH | ERRFILE_DRIVER | 0x00010000 ) +#define ERRFILE_timer_rdtsc ( ERRFILE_ARCH | ERRFILE_DRIVER | 0x00000000 ) +#define ERRFILE_timer_bios ( ERRFILE_ARCH | ERRFILE_DRIVER | 0x00010000 ) + +#define ERRFILE_cpuid_cmd ( ERRFILE_ARCH | ERRFILE_OTHER | 0x00000000 ) /** @} */ |