freebsd-dev/sys/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
..
isa_common.c Fix the resource_list_print_type() calls to use uintmax_t. 2016-03-22 22:25:08 +00:00
isa_common.h sys/isa: minor spelling fixes. 2016-05-03 21:51:52 +00:00
isa_dmareg.h
isa_if.m
isahint.c
isareg.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
isavar.h Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pnp.c Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pnpparse.c sys/isa: minor spelling fixes. 2016-05-03 21:51:52 +00:00
pnpreg.h Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
pnpvar.h
rtc.h Protect access to the AT realtime clock with its own mutex. 2017-07-12 02:42:57 +00:00
syscons_isa.c
vga_isa.c Replace several bus_alloc_resource() calls using default arguments with bus_alloc_resource_any() 2016-02-19 03:37:56 +00:00