mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
d78180f8f5
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. |
||
---|---|---|
.. | ||
atrtc.c | ||
isa_common.c | ||
isa_common.h | ||
isa_dmareg.h | ||
isa_if.m | ||
isahint.c | ||
isareg.h | ||
isavar.h | ||
orm.c | ||
pnp.c | ||
pnpparse.c | ||
pnpreg.h | ||
pnpvar.h | ||
rtc.h | ||
syscons_isa.c | ||
vga_isa.c |