freebsd-nq/sys/x86/isa
Ian Lepore b524a31593 Protect access to the AT realtime clock with its own mutex.
The mutex protecting access to the registered realtime clock should not be
overloaded to protect access to the atrtc hardware, which might not even be
the registered rtc. More importantly, the resettodr mutex needs to be
eliminated to remove locking/sleeping restrictions on clock drivers, and
that can't happen if MD code for amd64 depends on it. This change moves the
protection into what's really being protected: access to the atrtc date and
time registers.

This change also adds protection when the clock is accessed from
xentimer_settime(), which bypasses the resettodr locking.

Differential Revision:	https://reviews.freebsd.org/D11483
2017-07-12 02:42:57 +00:00
..
atpic.c Remove Micro Channel Architecture support. Of the commonly available 2017-02-15 23:04:25 +00:00
atrtc.c Protect access to the AT realtime clock with its own mutex. 2017-07-12 02:42:57 +00:00
clock.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
elcr.c
icu.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
isa_dma.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
isa.c Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
nmi.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
orm.c Allow orm(4) to be disabled from probing/attaching by a hints entry: 2016-05-10 22:28:06 +00:00