HomeFreeBSD

Fixup some more fallout from the lapic/i8254 changes:

Description

Fixup some more fallout from the lapic/i8254 changes:

  • Make sure timer0_max_count is set to a correct value in the lapic case.
  • Revert i8254_restore() to explicitly reprogram timer 0 rather than calling set_timer_freq() to do it. set_timer_freq() only reprograms the counter if the max count changes which it never does on resume. This unbreaks suspend/resume for several people.

Tested by: marks, others
Reviewed by: bde
MFC after: 3 days

Details

Provenance
jhbAuthored on Jul 13 2005, 3:43 PM
Parents
rG11f3a4f069d6: - Ignore BIOS IRQs (that is, IRQ settings left by the BIOS or a previous OS
Branches
Unknown
Tags
Unknown

Event Timeline