1
0
Fork 0
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:
The Tumultuous Unicorn Of Darkness 2024-06-29 17:01:50 +02:00
commit 959edc34e7
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
229 changed files with 388 additions and 12 deletions

View file

@ -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]);