[haiku-commits] Re: r41683 - haiku/trunk/src/system/boot/platform/bios_ia32

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 May 2011 09:51:02 +0200

2011/5/25  <mmlr@xxxxxxxx>:

>> from
>> out8(PIT_SELCH0 | PIT_RWBOTH | PIT_MD_INTON0, PIT_CTRL);
>> to
>> out8(PIT_SELCH2 | PIT_RWBOTH | PIT_MD_INTON0, PIT_CTRL);
>>
>> If applied, would close ticket #4500. Thanks for the tip!
>
> That's not what I'm talking about...
>
> I'm talking about the bootloader code in
> src/system/boot/platform/bios_ia32/cpu.cpp where the PIT is used to
> calibrate the TSC. This is where you're supposed to use channel 2 instead of
> 0 (and this is what the changes were to).

Oh, sorry, now I understand. Although changing the channel in there
(which is what I tried first) didn't fix the problem.
Could also be that the real problem is, instead, in the function
"calculate_apic_timer_conversion_factor()".

Other related posts: