mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-03 11:01:30 +00:00
Add cpu_feature_level_t enumerated values for x86 CPUs
I had to fix run_tests.py to update all test files properly. Fix #177
This commit is contained in:
parent
c5885699f0
commit
959edc34e7
229 changed files with 388 additions and 12 deletions
|
@ -121,7 +121,7 @@ int need_input = 0,
|
|||
need_hypervisor = 0,
|
||||
need_identify = 0;
|
||||
|
||||
#define MAX_REQUESTS 32
|
||||
#define MAX_REQUESTS 64
|
||||
int num_requests = 0;
|
||||
output_data_switch requests[MAX_REQUESTS];
|
||||
|
||||
|
@ -866,7 +866,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
for (cpu_type_index = 0; cpu_type_index < data.num_cpu_types; cpu_type_index++) {
|
||||
if (raw_array.with_affinity)
|
||||
if (raw_array.with_affinity && (cpu_type_index > 0))
|
||||
fprintf(fout, "--------------------------------------------------------------------------------\n");
|
||||
for (i = 0; i < num_requests; i++)
|
||||
print_info(requests[i], &data.cpu_types[cpu_type_index]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue