Chameleon

Chameleon Commit Details

Date:2011-08-05 15:19:12 (12 years 8 months ago)
Author:Sergey Slice
Commit:1281
Parents: 1280
Message:cpu debugging 3
Changes:
M/branches/slice/trunkM/revision
M/branches/slice/trunkM/i386/libsaio/cpu.c

File differences

branches/slice/trunkM/i386/libsaio/cpu.c
384384
385385
386386
387
388
387
388
389389
390390
391391
......
394394
395395
396396
397
397
398398
399
399
400400
401401
402402
if (flex_ratio == 0) {
/* Clear bit 16 (evidently the
presence bit) */
wrmsr64(MSR_FLEX_RATIO, (msr & 0xFFFFFFFFFFFEFFFFULL));
msr = rdmsr64(MSR_FLEX_RATIO);
//wrmsr64(MSR_FLEX_RATIO, (msr & 0xFFFFFFFFFFFEFFFFULL));
//msr = rdmsr64(MSR_FLEX_RATIO);
verbose("Unusable flex ratio detected. Patched MSR now %08x\n", bitfield(msr, 31, 0));
} else {
if (bus_ratio_max > flex_ratio) {
}
}
if (bus_ratio_max) {
/*if (bus_ratio_max) {
fsbFrequency = (tscFrequency / bus_ratio_max);
}
} */
//valv: Turbo Ratio Limit
/*if ((intelCPU != 0x2e) && (intelCPU != 0x2f)) {
msr = rdmsr64(MSR_TURBO_RATIO_LIMIT);
branches/slice/trunkM/revision
1
1
1278:1279
1280

Archive Download the corresponding diff file

Revision: 1281