Chameleon

Chameleon Commit Details

Date:2015-05-22 22:19:56 (5 years 4 months ago)
Author:ErmaC
Commit:2690
Parents: 2689
Message:Setting core and thread for ATOM 3700 (Credits to Slice)
Changes:
M/branches/ErmaC/Enoch/i386/libsaio/cpu.c

File differences

branches/ErmaC/Enoch/i386/libsaio/cpu.c
486486
487487
488488
489
490489
491490
492491
......
505504
506505
507506
507
508
509
510
508511
509512
510513
case CPUID_MODEL_SANDYBRIDGE:
case CPUID_MODEL_IVYBRIDGE:
case CPUID_MODEL_HASWELL_U5:
case CPUID_MODEL_ATOM_3700:
case CPUID_MODEL_HASWELL:
case CPUID_MODEL_HASWELL_SVR:
//case CPUID_MODEL_HASWELL_H:
p->CPU.NoCores= (uint32_t)bitfield((uint32_t)msr, 19, 16);
p->CPU.NoThreads= (uint32_t)bitfield((uint32_t)msr, 15, 0);
break;
case CPUID_MODEL_ATOM_3700:
p->CPU.NoCores= 4;
p->CPU.NoThreads= 4;
break;
}
if (p->CPU.NoCores == 0)

Archive Download the corresponding diff file

Revision: 2690