bde f4efd01f60 Partial fix for a bug in rev.1.231. If suspend/resume clobbers the
RTC state, then it may clobber the RTC index register, so the index
register must be restored before using it to restore control registers
in rtc_restore().

The following problems remain:
- rtc_restore() is only called if pmtimer is configured.  Buggy
  suspend/resumes are more likely to clobber the index register than
  a control register, so pmtimer is more needed than it used to be.
- pmtimer doesn't exist for amd64.
- Restoring of the RTC state may race with rtcintr().  If an RTC
  interrupt is handled before the state is restored, then rtcin(RTC_INTR)
  in rtcintr() may read from the wrong register, so rtcintr() may spin
  forever.  This may be mitigated by the most common state clobbering
  being to turn off RTC interrupts.
2007-03-05 09:10:17 +00:00
..
2007-03-02 00:08:47 +00:00
2007-03-05 06:33:08 +00:00
2007-03-04 04:53:17 +00:00
2007-03-02 01:10:26 +00:00
2007-03-04 19:35:59 +00:00
2007-02-28 22:05:30 +00:00
2007-03-04 16:32:19 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2007-02-25 10:52:47 +00:00
2007-03-01 23:14:46 +00:00
2006-11-26 18:27:16 +00:00