diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-28 21:40:14 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-28 21:40:14 +0000 |
commit | caf761f0d332735decc2b27c269238684221168e (patch) | |
tree | 198e5ab455c7546e87ffa44d4ea90e413554bf4d /c/src/lib/libcpu/i386/cpuModel.h | |
parent | New. (diff) | |
download | rtems-caf761f0d332735decc2b27c269238684221168e.tar.bz2 |
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* cpuModel.S, cpuModel.h, displayCpu.c: Save/cache CPUID:ECX
(extended capabilities) in a new variable (x86_capability_x).
Added more known flag description strings (printCpuInfo())
and let 'printCpuInfo()' dump the extended feature flags, too.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/i386/cpuModel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/i386/cpuModel.h b/c/src/lib/libcpu/i386/cpuModel.h index c5451d851b..cb4a4daea4 100644 --- a/c/src/lib/libcpu/i386/cpuModel.h +++ b/c/src/lib/libcpu/i386/cpuModel.h @@ -24,7 +24,8 @@ extern char hard_math; /* floating point coprocessor present indicator */ extern char x86; /* type of cpu (3 = 386, 4 =486, ...) */ extern char x86_model; extern char x86_mask; -extern int x86_capability; +extern int x86_capability; /* cpuid:EDX */ +extern int x86_capability_x; /* cpuid:ECX */ extern char x86_vendor_id[13]; extern int have_cpuid; extern unsigned char Cx86_step; /* cyrix processor identification */ |